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 --- plugins/Sessions/Src/Main.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/Sessions') diff --git a/plugins/Sessions/Src/Main.cpp b/plugins/Sessions/Src/Main.cpp index da51bde5fe..53027ee6e3 100644 --- a/plugins/Sessions/Src/Main.cpp +++ b/plugins/Sessions/Src/Main.cpp @@ -859,23 +859,23 @@ static int CreateButtons(WPARAM wparam,LPARAM lparam) button.dwFlags = TTBBF_SHOWTOOLTIP | TTBBF_VISIBLE | TTBBF_ICONBYHANDLE; button.pszService = MS_SESSIONS_OPENMANAGER; - button.pszTooltipUp = button.pszTooltipUp = button.name = LPGEN("Open Sessions Manager"); - button.hIconHandleDn = button.hIconHandleUp = hibSessionsLoad; + button.pszTooltipUp = button.name = LPGEN("Open Sessions Manager"); + button.hIconHandleUp = hibSessionsLoad; TopToolbar_AddButton(&button); button.pszService = MS_SESSIONS_SAVEUSERSESSION; - button.pszTooltipUp = button.pszTooltipUp = button.name = LPGEN("Save Session"); - button.hIconHandleDn = button.hIconHandleUp = hibSessionsSave; + button.pszTooltipUp = button.name = LPGEN("Save Session"); + button.hIconHandleUp = hibSessionsSave; TopToolbar_AddButton(&button); button.pszService = MS_SESSIONS_RESTORELASTSESSION; - button.pszTooltipUp = button.pszTooltipUp = button.name = LPGEN("Restore Last Session"); - button.hIconHandleDn = button.hIconHandleUp = hibSessionsLoadLast; + button.pszTooltipUp = button.name = LPGEN("Restore Last Session"); + button.hIconHandleUp = hibSessionsLoadLast; TopToolbar_AddButton(&button); button.pszService = MS_SESSIONS_SHOWFAVORITESMENU; - button.pszTooltipUp = button.pszTooltipUp = button.name = LPGEN("Show Favorite Sessions Menu"); - button.hIconHandleDn = button.hIconHandleUp = hibChecked; + button.pszTooltipUp = button.name = LPGEN("Show Favorite Sessions Menu"); + button.hIconHandleUp = hibChecked; TopToolbar_AddButton(&button); return 0; } -- cgit v1.2.3