From 7cea79f2940e3bfe7b38158e4d39c193a8868159 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 11 Jul 2012 19:11:56 +0000 Subject: Popup: fixed popup icons in toptoolbar git-svn-id: http://svn.miranda-ng.org/main/trunk@906 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Popup/src/main.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'plugins/Popup/src') diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp index b44725c0bc..66c345017a 100644 --- a/plugins/Popup/src/main.cpp +++ b/plugins/Popup/src/main.cpp @@ -1,9 +1,9 @@ /* Popup Plus plugin for Miranda IM -Copyright © 2002 Luca Santarelli, - © 2004-2007 Victor Pavlychko - © 2010 MPK +Copyright � 2002 Luca Santarelli, + � 2004-2007 Victor Pavlychko + � 2010 MPK This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -205,15 +205,15 @@ static int TTBLoaded(WPARAM wParam,LPARAM lParam) { if ( !hTTButton) { TTBButton btn = {0}; - btn.cbSize = sizeof(btn); - btn.pszService = MENUCOMMAND_SVC; - btn.lParamUp = 1; - btn.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP | TTBBF_ICONBYHANDLE; - btn.name = LPGEN("Toggle Popups"); - btn.hIconHandleUp = Skin_GetIconHandle(ICO_TB_POPUP_OFF); - btn.hIconHandleDn = Skin_GetIconHandle(ICO_TB_POPUP_ON); - btn.pszTooltipUp = LPGEN("Enable popups"); - btn.pszTooltipDn = LPGEN("Disable popups"); + btn.cbSize = sizeof(btn); + btn.pszService = MENUCOMMAND_SVC; + btn.lParamUp = 1; + btn.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP | TTBBF_ICONBYHANDLE; + btn.name = LPGEN("Toggle Popups"); + btn.hIconHandleUp = Skin_GetIconHandle(ICO_TB_POPUP_ON); + btn.hIconHandleDn = Skin_GetIconHandle(ICO_TB_POPUP_OFF); + btn.pszTooltipUp = LPGEN("Disable popups"); + btn.pszTooltipDn = LPGEN("Enable popups"); hTTButton = TopToolbar_AddButton(&btn); } -- cgit v1.2.3