From 9778744e014c310fad29b1d0536ef6985e909470 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 12 Jul 2012 11:21:41 +0000 Subject: various TTB buttons quirks git-svn-id: http://svn.miranda-ng.org/main/trunk@917 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/jabber_menu.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'protocols/JabberG') 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; } -- cgit v1.2.3