diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-08 21:51:42 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-08 21:51:42 +0000 |
commit | 1156918f875f44ed97def4d3de8659e5782abfba (patch) | |
tree | 869c1e489caea345a7620de70f87cd015dc15249 /plugins/TopToolBar/toolbar.cpp | |
parent | 61b9e621b5c3aad3269593d7f496a4b72f0ef9d5 (diff) |
- 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
Diffstat (limited to 'plugins/TopToolBar/toolbar.cpp')
-rw-r--r-- | plugins/TopToolBar/toolbar.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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();
|