summaryrefslogtreecommitdiff
path: root/protocols/Tlen/src
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-06-14 16:21:42 +0000
committerRobert Pösel <robyer@seznam.cz>2013-06-14 16:21:42 +0000
commit857c54d336dade4cbcc83d33282624bddb0de19d (patch)
treeef176070ac06d39d5b352c351c4faf7fec6d72ea /protocols/Tlen/src
parent4ab2514a98a3eda9a362decfa881be20245c1785 (diff)
Jabber, Skype, Tlen: Use core auth icons.
git-svn-id: http://svn.miranda-ng.org/main/trunk@4941 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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);
}