From 706e72efc62f8056ac87d6332da4f5d2478ff6b6 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Thu, 12 Jul 2012 19:14:19 +0000 Subject: fixes for the push button git-svn-id: http://svn.miranda-ng.org/main/trunk@930 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ListeningTo/listeningto.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/ListeningTo/listeningto.cpp b/plugins/ListeningTo/listeningto.cpp index 4506f05cb3..feb3640008 100644 --- a/plugins/ListeningTo/listeningto.cpp +++ b/plugins/ListeningTo/listeningto.cpp @@ -527,10 +527,10 @@ int TopToolBarLoaded(WPARAM wParam, LPARAM lParam) TTBButton ttb = {0}; ttb.cbSize = sizeof(ttb); - ttb.hIconHandleDn = hIcon2; - ttb.hIconHandleUp = hIcon1; + ttb.hIconHandleDn = hIcon1; + ttb.hIconHandleUp = hIcon2; ttb.pszService = MS_LISTENINGTO_TTB; - ttb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP | (enabled ? TTBBF_PUSHED : 0); + ttb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP | TTBBF_ASPUSHBUTTON | (enabled ? TTBBF_PUSHED : 0); ttb.name = LPGEN("Enable/Disable sending Listening To info (to all protocols)"); ttb.pszTooltipDn = LPGEN("Disable ListeningTo (to all protocols)"); ttb.pszTooltipUp = LPGEN("Enable ListeningTo (to all protocols)"); -- cgit v1.2.3