From 854959cbc0a1bad2c086214be4d1a829b17a61f3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 1 Dec 2012 13:25:11 +0000 Subject: icolib: icon creation quirks git-svn-id: http://svn.miranda-ng.org/main/trunk@2588 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Alarms/src/options.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Alarms/src/options.cpp') diff --git a/plugins/Alarms/src/options.cpp b/plugins/Alarms/src/options.cpp index 9670795a4e..6c547a4d5c 100644 --- a/plugins/Alarms/src/options.cpp +++ b/plugins/Alarms/src/options.cpp @@ -693,8 +693,8 @@ void AddMenuItem() if (hMainMenuItem) return; CLISTMENUITEM mi = { sizeof(mi) }; - mi.flags = CMIM_ALL; - mi.hIcon = hIconMenuSet; + mi.flags = CMIM_ALL | CMIF_ICONFROMICOLIB; + mi.icolibItem = Skin_GetIconHandle("alarms_menu_set");; mi.pszName = "Set Alarm"; mi.pszService = MODULE "/NewAlarm"; mi.position = 500010000; -- cgit v1.2.3