From 855919ea6895d63c98a209d2de544f4c90fb8f93 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 8 Jul 2012 21:24:04 +0000 Subject: no more need in dbeditor's icon in Clist Modern git-svn-id: http://svn.miranda-ng.org/main/trunk@863 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/modern_toolbar.cpp | 1 - plugins/Svc_dbepp/main.cpp | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/Clist_modern/modern_toolbar.cpp b/plugins/Clist_modern/modern_toolbar.cpp index 75a1e2e915..59f30db249 100644 --- a/plugins/Clist_modern/modern_toolbar.cpp +++ b/plugins/Clist_modern/modern_toolbar.cpp @@ -42,7 +42,6 @@ static BTNS[] = { "StatusMenu", "Status Menu", "CList/ShowStatusMenu", "Status menu", NULL, 105 , IDI_RESETVIEW, IDI_RESETVIEW, TRUE }, { "AccoMgr", "Accounts", MS_PROTO_SHOWACCMGR, "Accounts...", NULL, 282 , IDI_ACCMGR, IDI_ACCMGR, TRUE }, { "ShowHideOffline","Show/Hide offline contacts", MS_CLIST_TOGGLEHIDEOFFLINE, "Hide offline contacts", "Show offline contacts", 110, IDI_RESETVIEW, IDI_RESETVIEW, TRUE }, - { "DatabaseEditor","DBEditor++", "DBEditorpp/MenuCommand", "Database Editor", NULL, 130 , IDI_RESETVIEW, IDI_RESETVIEW, TRUE }, { "FindUser","Find User", "FindAdd/FindAddCommand", "Find User", NULL, 140 , IDI_RESETVIEW, IDI_RESETVIEW, TRUE }, { "Options","Options", "Options/OptionsCommand", "Options", NULL, 150 , IDI_RESETVIEW, IDI_RESETVIEW, TRUE }, { "UseGroups","Use/Disable groups", MS_CLIST_TOGGLEGROUPS, "Use groups", "Disable Groups", 160, IDI_RESETVIEW, IDI_RESETVIEW, FALSE }, diff --git a/plugins/Svc_dbepp/main.cpp b/plugins/Svc_dbepp/main.cpp index f289c1eb77..9b0a2bfc8d 100644 --- a/plugins/Svc_dbepp/main.cpp +++ b/plugins/Svc_dbepp/main.cpp @@ -247,9 +247,8 @@ int ModulesLoaded(WPARAM wParam,LPARAM lParam) hTTBHook = HookEvent(ME_TTB_MODULELOADED, OnTTBLoaded); - if ( bServiceMode ) { + if ( bServiceMode ) CallService("DBEditorpp/MenuCommand",0,0); - } return 0; } -- cgit v1.2.3