summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-12-15 13:38:03 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-12-15 13:38:03 +0000
commit2140d9b0af085a1c813655659aed6a4b31201ca7 (patch)
tree06721a71257b82829519e8e78a664ef5a1a06375 /plugins
parent4b7e30d64fef3ce4809e3cb16bfa04a3c2269f0f (diff)
frames' menu: system items made unmovable, but discardable
git-svn-id: http://svn.miranda-ng.org/main/trunk@15865 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Clist_modern/src/cluiframes.cpp2
-rw-r--r--plugins/Clist_nicer/src/cluiframes.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/cluiframes.cpp b/plugins/Clist_modern/src/cluiframes.cpp
index 8882bee95e..0678be57dd 100644
--- a/plugins/Clist_modern/src/cluiframes.cpp
+++ b/plugins/Clist_modern/src/cluiframes.cpp
@@ -3395,7 +3395,7 @@ int LoadCLUIFramesModule(void)
// create "show all frames" menu
mi.root = cont.MainMenuItem;
mi.hIcolibItem = NULL;
- mi.flags = CMIF_SYSTEM;
+ mi.flags = CMIF_UNMOVABLE;
mi.position = 4000090000;
mi.name.a = LPGEN("Show all frames");
mi.pszService = MS_CLIST_FRAMES_SHOWALLFRAMES;
diff --git a/plugins/Clist_nicer/src/cluiframes.cpp b/plugins/Clist_nicer/src/cluiframes.cpp
index 1f9cdff43b..7dbf45b25d 100644
--- a/plugins/Clist_nicer/src/cluiframes.cpp
+++ b/plugins/Clist_nicer/src/cluiframes.cpp
@@ -2985,8 +2985,9 @@ int LoadCLUIFramesModule(void)
UNSET_UID(mi);
// create "show all frames" menu
+ mi.root = cont.MainMenuItem;
mi.hIcolibItem = Skin_GetIconHandle(SKINICON_OTHER_MIRANDA);
- mi.flags = CMIF_SYSTEM;
+ mi.flags = CMIF_UNMOVABLE;
mi.position = 4000090000;
mi.name.a = LPGEN("Show all frames");
mi.pszService = MS_CLIST_FRAMES_SHOWALLFRAMES;