summaryrefslogtreecommitdiff
path: root/protocols/Tlen/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tlen/src')
-rw-r--r--protocols/Tlen/src/resource.h2
-rw-r--r--protocols/Tlen/src/tlen.cpp6
2 files changed, 2 insertions, 6 deletions
diff --git a/protocols/Tlen/src/resource.h b/protocols/Tlen/src/resource.h
index 6f3b59b64d..4ce70c58b2 100644
--- a/protocols/Tlen/src/resource.h
+++ b/protocols/Tlen/src/resource.h
@@ -7,8 +7,6 @@
#define IDI_MAIL 101
#define IDI_MUC 102
#define IDI_CHATS 103
-#define IDI_GRANT 104
-#define IDI_REQUEST 105
#define IDI_VOICE 106
#define IDI_MICROPHONE 107
#define IDI_SPEAKER 108
diff --git a/protocols/Tlen/src/tlen.cpp b/protocols/Tlen/src/tlen.cpp
index 570b2d87e7..aeb79f6927 100644
--- a/protocols/Tlen/src/tlen.cpp
+++ b/protocols/Tlen/src/tlen.cpp
@@ -81,8 +81,6 @@ static IconItem iconList[] =
{ LPGEN("Tlen inbox"), "MAIL", IDI_MAIL },
{ LPGEN("Group chats"), "MUC", IDI_MUC },
{ LPGEN("Tlen chats"), "CHATS", IDI_CHATS },
- { LPGEN("Grant authorization"), "GRANT", IDI_GRANT },
- { LPGEN("Request authorization"), "REQUEST", IDI_REQUEST },
{ LPGEN("Voice chat"), "VOICE", IDI_VOICE },
{ LPGEN("Microphone"), "MICROPHONE", IDI_MICROPHONE },
{ LPGEN("Speaker"), "SPEAKER", IDI_SPEAKER },
@@ -369,7 +367,7 @@ static void initMenuItems(TlenProtocol *proto)
CreateServiceFunction_Ex(text, proto, TlenContactMenuHandleRequestAuth);
mi.pszName = LPGEN("Request authorization");
mi.position = -2000001001;
- mi.icolibItem = GetIconHandle(IDI_REQUEST);
+ mi.icolibItem = LoadSkinnedIconHandle(SKINICON_AUTH_REQUEST);
mi.pszService = text;
proto->hMenuContactRequestAuth = Menu_AddContactMenuItem(&mi);
@@ -378,7 +376,7 @@ static void initMenuItems(TlenProtocol *proto)
CreateServiceFunction_Ex(text, proto, TlenContactMenuHandleGrantAuth);
mi.pszName = LPGEN("Grant authorization");
mi.position = -2000001000;
- mi.icolibItem = GetIconHandle(IDI_GRANT);
+ mi.icolibItem = LoadSkinnedIconHandle(SKINICON_AUTH_GRANT);
mi.pszService = text;
proto->hMenuContactGrantAuth = Menu_AddContactMenuItem(&mi);
}