summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-12 11:21:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-12 11:21:41 +0000
commit9778744e014c310fad29b1d0536ef6985e909470 (patch)
tree89fe0c18d8f404ed605ffff410b0a30d3442b737 /protocols/JabberG
parentaceb6d0e476267170a41f6870dd408d67e71e696 (diff)
various TTB buttons quirks
git-svn-id: http://svn.miranda-ng.org/main/trunk@917 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG')
-rw-r--r--protocols/JabberG/jabber_menu.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/JabberG/jabber_menu.cpp b/protocols/JabberG/jabber_menu.cpp
index cc5c18b9ae..8f2f5dafec 100644
--- a/protocols/JabberG/jabber_menu.cpp
+++ b/protocols/JabberG/jabber_menu.cpp
@@ -985,20 +985,20 @@ int g_OnToolbarInit(WPARAM, LPARAM)
List_InsertPtr( &arServices, CreateServiceFunction("JABBER/*/Groupchat", g_ToolbarHandleJoinGroupchat ));
button.pszService = "JABBER/*/Groupchat";
- button.pszTooltipUp = button.pszTooltipUp = button.name = "Join conference";
- button.hIconHandleDn = button.hIconHandleUp = (HANDLE)g_GetIconHandle(IDI_GROUP);
+ button.pszTooltipUp = button.name = LPGEN("Join conference");
+ button.hIconHandleUp = g_GetIconHandle(IDI_GROUP);
TopToolbar_AddButton(&button);
List_InsertPtr( &arServices, CreateServiceFunction("JABBER/*/Bookmarks", g_ToolbarHandleBookmarks ));
button.pszService = "JABBER/*/Bookmarks";
- button.pszTooltipUp = button.pszTooltipUp = button.name = "Open bookmarks";
- button.hIconHandleDn = button.hIconHandleUp = (HANDLE)g_GetIconHandle(IDI_BOOKMARKS);
+ button.pszTooltipUp = button.name = LPGEN("Open bookmarks");
+ button.hIconHandleUp = g_GetIconHandle(IDI_BOOKMARKS);
TopToolbar_AddButton(&button);
List_InsertPtr( &arServices, CreateServiceFunction("JABBER/*/ServiceDiscovery", g_ToolbarHandleServiceDiscovery ));
button.pszService = "JABBER/*/ServiceDiscovery";
- button.pszTooltipUp = button.pszTooltipUp = button.name = "Service discovery";
- button.hIconHandleDn = button.hIconHandleUp = (HANDLE)g_GetIconHandle(IDI_SERVICE_DISCOVERY);
+ button.pszTooltipUp = button.name = LPGEN("Service discovery");
+ button.hIconHandleUp = g_GetIconHandle(IDI_SERVICE_DISCOVERY);
TopToolbar_AddButton(&button);
return 0;
}