summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/icons.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-09-12 22:33:15 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-09-12 22:33:15 +0000
commit65d21daad01ddb2323d87ef343cfeef8fde5650b (patch)
treef7817dd0eb6fb5473be0b98c7802b0f581e31549 /plugins/Popup/src/icons.cpp
parent9f0a1dbca0ae937808dbbe1ad754428b75c2c70b (diff)
Popup: fix #680
git-svn-id: http://svn.miranda-ng.org/main/trunk@15337 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup/src/icons.cpp')
-rw-r--r--plugins/Popup/src/icons.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/Popup/src/icons.cpp b/plugins/Popup/src/icons.cpp
index ce4cb1b0c0..207b4991a2 100644
--- a/plugins/Popup/src/icons.cpp
+++ b/plugins/Popup/src/icons.cpp
@@ -25,10 +25,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
static IconItem iconList[] =
{
- // toolbar
- { LPGEN("Popups are enabled"), "TBButton_ToogleUp", IDI_POPUP },
- { LPGEN("Popups are disabled"), "TBButton_ToogleDOWN", IDI_NOPOPUP },
-
// common popup
{ LPGEN("Popups are enabled"), "enabled", IDI_POPUP },
{ LPGEN("Popups are disabled"), "disabled", IDI_NOPOPUP },
@@ -66,10 +62,9 @@ static IconItem iconList[] =
void InitIcons()
{
- Icon_Register(hInst, SECT_TOLBAR, iconList, 2, MODULNAME);
- Icon_Register(hInst, SECT_POPUP, iconList + 2, 8, MODULNAME);
- Icon_Register(hInst, SECT_POPUP SECT_POPUP_OPT, iconList + 10, 9, MODULNAME);
- Icon_Register(hInst, SECT_POPUP SECT_POPUP_ACT, iconList + 19, 9, MODULNAME);
+ Icon_Register(hInst, SECT_POPUP, iconList, 8, MODULNAME);
+ Icon_Register(hInst, SECT_POPUP SECT_POPUP_OPT, iconList + 8, 9, MODULNAME);
+ Icon_Register(hInst, SECT_POPUP SECT_POPUP_ACT, iconList + 17, 9, MODULNAME);
}
HICON LoadIconEx(int iconId, bool big)