diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-06 23:05:29 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-06 23:05:29 +0000 |
commit | 6640a8f419a9ef61ad7af41a419615c2d07b872e (patch) | |
tree | 6dfecb48ccc82c0c372ced9be59255c7408ebafd /plugins/Weather | |
parent | 06823b967ab360de98fa2c9e685695e1dff6f78a (diff) |
menu item flag CMIF_ICONFROMICOLIB is ignored by the core from now on
git-svn-id: http://svn.miranda-ng.org/main/trunk@4354 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Weather')
-rw-r--r-- | plugins/Weather/src/weather_svcs.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Weather/src/weather_svcs.cpp b/plugins/Weather/src/weather_svcs.cpp index 0f074e292a..0185b78072 100644 --- a/plugins/Weather/src/weather_svcs.cpp +++ b/plugins/Weather/src/weather_svcs.cpp @@ -240,7 +240,7 @@ void UpdateMenu(BOOL State) opt.AutoUpdate = 0;
}
- mi.flags = CMIM_ICON | CMIM_NAME | CMIF_ICONFROMICOLIB;
+ mi.flags = CMIM_ICON | CMIM_NAME;
Menu_ModifyItem(hEnableDisableMenu, &mi);
CallService(MS_TTB_SETBUTTONSTATE, (WPARAM)hTBButton, !State ? TTBST_PUSHED : TTBST_RELEASED);
@@ -264,7 +264,7 @@ void UpdatePopupMenu(BOOL State) mi.icolibItem = GetIconHandle("nopopup");
}
- mi.flags = CMIM_ICON | CMIM_NAME | CMIF_ICONFROMICOLIB;
+ mi.flags = CMIM_ICON | CMIM_NAME;
Menu_ModifyItem(hEnableDisablePopupMenu, &mi);
}
@@ -288,7 +288,6 @@ void AddMenuItems(void) {
CLISTMENUITEM mi = { sizeof(mi) };
mi.pszContactOwner = WEATHERPROTONAME;
- mi.flags = CMIF_ICONFROMICOLIB;
// contact menu
CreateServiceFunction(MS_WEATHER_UPDATE, UpdateSingleStation);
|