From 1156918f875f44ed97def4d3de8659e5782abfba Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 8 Jul 2012 21:51:42 +0000 Subject: - background options removed - toolbar options moved to the "Contact List" section git-svn-id: http://svn.miranda-ng.org/main/trunk@865 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TopToolBar/toolbar.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/TopToolBar/toolbar.cpp') diff --git a/plugins/TopToolBar/toolbar.cpp b/plugins/TopToolBar/toolbar.cpp index 6d41d19aff..e51d99f259 100644 --- a/plugins/TopToolBar/toolbar.cpp +++ b/plugins/TopToolBar/toolbar.cpp @@ -826,11 +826,10 @@ int OnModulesLoad(WPARAM wParam, LPARAM lParam) if (hEvent != 0) CallService(MS_SYSTEM_WAITONHANDLE, (WPARAM)hEvent, (LPARAM)"TTB_ONSTARTUPFIRE"); - if ( ServiceExists(MS_BACKGROUNDCONFIG_REGISTER)) { + if ( HookEvent(ME_BACKGROUNDCONFIG_CHANGED, OnBGChange)) { char buf[256]; sprintf(buf, "TopToolBar Background/%s", TTB_OPTDIR); CallService(MS_BACKGROUNDCONFIG_REGISTER, (WPARAM)buf, 0); - HookEvent(ME_BACKGROUNDCONFIG_CHANGED, OnBGChange); } ttbOptionsChanged(); -- cgit v1.2.3