diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-06-14 16:21:42 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-06-14 16:21:42 +0000 |
commit | 857c54d336dade4cbcc83d33282624bddb0de19d (patch) | |
tree | ef176070ac06d39d5b352c351c4faf7fec6d72ea /protocols/Tlen | |
parent | 4ab2514a98a3eda9a362decfa881be20245c1785 (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')
-rw-r--r-- | protocols/Tlen/res/auth_grant.ico | bin | 1150 -> 0 bytes | |||
-rw-r--r-- | protocols/Tlen/res/auth_request.ico | bin | 1150 -> 0 bytes | |||
-rw-r--r-- | protocols/Tlen/res/tlen.rc | 2 | ||||
-rw-r--r-- | protocols/Tlen/src/resource.h | 2 | ||||
-rw-r--r-- | protocols/Tlen/src/tlen.cpp | 6 |
5 files changed, 2 insertions, 8 deletions
diff --git a/protocols/Tlen/res/auth_grant.ico b/protocols/Tlen/res/auth_grant.ico Binary files differdeleted file mode 100644 index 22ce0e5c47..0000000000 --- a/protocols/Tlen/res/auth_grant.ico +++ /dev/null diff --git a/protocols/Tlen/res/auth_request.ico b/protocols/Tlen/res/auth_request.ico Binary files differdeleted file mode 100644 index d2e379aa5f..0000000000 --- a/protocols/Tlen/res/auth_request.ico +++ /dev/null diff --git a/protocols/Tlen/res/tlen.rc b/protocols/Tlen/res/tlen.rc index c105940f6a..ab7173bb2b 100644 --- a/protocols/Tlen/res/tlen.rc +++ b/protocols/Tlen/res/tlen.rc @@ -420,8 +420,6 @@ IDI_TLEN ICON "tlen.ico" IDI_MAIL ICON "mail.ico"
IDI_MUC ICON "groupchats.ico"
IDI_CHATS ICON "tlenchats.ico"
-IDI_GRANT ICON "auth_grant.ico"
-IDI_REQUEST ICON "auth_request.ico"
IDI_VOICE ICON "voicechat.ico"
IDI_MICROPHONE ICON "microphone.ico"
IDI_SPEAKER ICON "speaker.ico"
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);
}
|