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/NewsAggregator/Src | |
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/NewsAggregator/Src')
-rw-r--r-- | plugins/NewsAggregator/Src/Menus.cpp | 2 | ||||
-rw-r--r-- | plugins/NewsAggregator/Src/Services.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewsAggregator/Src/Menus.cpp b/plugins/NewsAggregator/Src/Menus.cpp index d58654d4ea..1299e03af5 100644 --- a/plugins/NewsAggregator/Src/Menus.cpp +++ b/plugins/NewsAggregator/Src/Menus.cpp @@ -25,7 +25,7 @@ VOID InitMenu() {
CLISTMENUITEM mi = { sizeof(mi) };
mi.pszContactOwner = MODULE;
- mi.flags = CMIF_TCHAR | CMIF_ICONFROMICOLIB | CMIF_NOTOFFLINE;
+ mi.flags = CMIF_TCHAR | CMIF_NOTOFFLINE;
// adding main menu items
mi.ptszPopupName = LPGENT("News Aggregator");
diff --git a/plugins/NewsAggregator/Src/Services.cpp b/plugins/NewsAggregator/Src/Services.cpp index 622723f205..238e7f1145 100644 --- a/plugins/NewsAggregator/Src/Services.cpp +++ b/plugins/NewsAggregator/Src/Services.cpp @@ -254,7 +254,7 @@ void UpdateMenu(BOOL State) mi.icolibItem = GetIconHandle("disabled");
}
- mi.flags = CMIM_ICON | CMIM_NAME | CMIF_ICONFROMICOLIB | CMIF_TCHAR;
+ mi.flags = CMIM_ICON | CMIM_NAME | CMIF_TCHAR;
Menu_ModifyItem(hService2[0], &mi);
CallService(MS_TTB_SETBUTTONSTATE, (WPARAM)hTBButton, State ? TTBST_PUSHED : TTBST_RELEASED);
db_set_b(NULL, MODULE, "AutoUpdate", !State);
|