summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-06 23:05:29 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-06 23:05:29 +0000
commit6640a8f419a9ef61ad7af41a419615c2d07b872e (patch)
tree6dfecb48ccc82c0c372ced9be59255c7408ebafd /plugins/BasicHistory
parent06823b967ab360de98fa2c9e685695e1dff6f78a (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/BasicHistory')
-rw-r--r--plugins/BasicHistory/src/BasicHistory.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/plugins/BasicHistory/src/BasicHistory.cpp b/plugins/BasicHistory/src/BasicHistory.cpp
index 7810489920..c8ee22d2b8 100644
--- a/plugins/BasicHistory/src/BasicHistory.cpp
+++ b/plugins/BasicHistory/src/BasicHistory.cpp
@@ -99,7 +99,6 @@ void InitMenuItems()
{
CLISTMENUITEM mi = { sizeof(mi) };
mi.position = 1000090000;
- mi.flags = CMIF_ICONFROMICOLIB;
mi.icolibItem = LoadSkinnedIconHandle(SKINICON_OTHER_HISTORY);
mi.pszName = LPGEN("View &History");
mi.pszService = MS_HISTORY_SHOWCONTACTHISTORY;
@@ -110,7 +109,6 @@ void InitMenuItems()
Menu_AddMainMenuItem(&mi);
mi.position = 1000090001;
- mi.flags = CMIF_ICONFROMICOLIB;
mi.icolibItem = LoadSkinnedIconHandle(SKINICON_OTHER_DELETE);
mi.pszName = LPGEN("Delete All User History");
mi.pszService = MS_HISTORY_DELETEALLCONTACTHISTORY;
@@ -121,13 +119,11 @@ void InitMenuItems()
void InitTaskMenuItems()
{
- if(Options::instance->taskOptions.size() > 0)
- {
+ if(Options::instance->taskOptions.size() > 0) {
CLISTMENUITEM mi = { sizeof(mi) };
- if(hTaskMainMenu == NULL)
- {
+ if(hTaskMainMenu == NULL) {
mi.position = 500060005;
- mi.flags = CMIF_ROOTPOPUP | CMIF_ICONFROMICOLIB;
+ mi.flags = CMIF_ROOTPOPUP;
mi.icolibItem = LoadSkinnedIconHandle(SKINICON_OTHER_HISTORY);
mi.pszName = LPGEN("Execute history task");
hTaskMainMenu = Menu_AddMainMenuItem(&mi);