summaryrefslogtreecommitdiff
path: root/src/modules/options/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-12-02 21:40:05 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-12-02 21:40:05 +0000
commit218ce60228981746b57531bb2dcb1bdb4a0f96b5 (patch)
tree6244a9f8042ea1109f394a04e3b332dcea5822da /src/modules/options/options.cpp
parenta271956628b6493fb4b9512f33539dbc29ab81a8 (diff)
useless options dialog removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@2614 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/options/options.cpp')
-rw-r--r--src/modules/options/options.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/modules/options/options.cpp b/src/modules/options/options.cpp
index 4af9638e87..27b9baa06d 100644
--- a/src/modules/options/options.cpp
+++ b/src/modules/options/options.cpp
@@ -773,12 +773,11 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hdlg, UINT message, WPARAM wParam, L
MapWindowPoints(NULL, hdlg, (LPPOINT)&dat->rcTab, 2);
TabCtrl_AdjustRect( GetDlgItem(hdlg, IDC_TAB), FALSE, &dat->rcTab);
- //!!!!!!!!!! int enableKeywordFiltering = db_get_w(NULL, "Options", "EnableKeywordFiltering", TRUE);
- FillFilterCombo(0, hdlg, dat); //!!!!!!!!!! enableKeywordFiltering,
+ FillFilterCombo(0, hdlg, dat);
SendMessage(hdlg, DM_REBUILDPAGETREE, 0, 0);
-
- return TRUE;
}
+ return TRUE;
+
case DM_REBUILDPAGETREE:
{
BOOL bRemoveFocusFromFilter = FALSE;
@@ -1429,11 +1428,9 @@ static int OptModulesLoaded(WPARAM, LPARAM)
int ShutdownOptionsModule(WPARAM, LPARAM)
{
- if (IsWindow(hwndOptions)) DestroyWindow(hwndOptions);
+ if ( IsWindow(hwndOptions))
+ DestroyWindow(hwndOptions);
hwndOptions = NULL;
-
- //!!!!!!!!!! UnhookFilterEvents();
-
return 0;
}
@@ -1447,7 +1444,5 @@ int LoadOptionsModule(void)
CreateServiceFunction("Options/OptionsCommand", OpenOptionsDialog);
HookEvent(ME_SYSTEM_MODULESLOADED, OptModulesLoaded);
HookEvent(ME_SYSTEM_PRESHUTDOWN, ShutdownOptionsModule);
-
- //!!!!!!!!!! HookFilterEvents();
return 0;
}