summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ICQ-WIM/src/proto.cpp')
-rw-r--r--protocols/ICQ-WIM/src/proto.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/protocols/ICQ-WIM/src/proto.cpp b/protocols/ICQ-WIM/src/proto.cpp
index 8047bd52bd..38d65bf345 100644
--- a/protocols/ICQ-WIM/src/proto.cpp
+++ b/protocols/ICQ-WIM/src/proto.cpp
@@ -97,6 +97,8 @@ void CIcqProto::OnModulesLoaded()
void CIcqProto::OnShutdown()
{
+ UI_SAFE_CLOSE(m_pdlgEditIgnore);
+
m_bTerminated = true;
}
@@ -129,6 +131,13 @@ void CIcqProto::OnBuildProtoMenu()
mi.hIcolibItem = Skin_GetIconHandle(SKINICON_OTHER_GROUP);
m_hUploadGroups = Menu_AddProtoMenuItem(&mi, m_szModuleName);
+ mi.pszService = "/EditIgnore";
+ CreateProtoService(mi.pszService, &CIcqProto::EditIgnoreList);
+ mi.name.a = LPGEN("Edit ignore list");
+ mi.position++;
+ mi.hIcolibItem = Skin_GetIconHandle(SKINICON_OTHER_USERDETAILS);
+ Menu_AddProtoMenuItem(&mi, m_szModuleName);
+
Menu_ShowItem(m_hUploadGroups, false);
}