diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2012-07-12 19:14:19 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2012-07-12 19:14:19 +0000 |
commit | 706e72efc62f8056ac87d6332da4f5d2478ff6b6 (patch) | |
tree | 7576aa071146c2913ccf1b5871978f9b3e7e8031 /plugins/ListeningTo | |
parent | a63f23128ea8468ec01e99976d046af8c6dfa807 (diff) |
fixes for the push button
git-svn-id: http://svn.miranda-ng.org/main/trunk@930 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ListeningTo')
-rw-r--r-- | plugins/ListeningTo/listeningto.cpp | 6 |
1 files 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)");
|