summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-11-30 17:13:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-11-30 17:13:35 +0300
commite567cbd887f33004c3c3adab00b5d8e50e891a33 (patch)
tree452c0c624a997335ec1a115f49fbb87fc0f41292 /plugins/Clist_modern
parent90b9c5d9c12d75e14f4c4cb7f871e4787f6c89e9 (diff)
fixes #2630 (Clist blind: Filter search option moved to Options - Contact list - Common)
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r--plugins/Clist_modern/res/resource.rc2
-rw-r--r--plugins/Clist_modern/src/modern_clcopts.cpp2
-rw-r--r--plugins/Clist_modern/src/modern_defsettings.h1
-rw-r--r--plugins/Clist_modern/src/resource.h1
4 files changed, 0 insertions, 6 deletions
diff --git a/plugins/Clist_modern/res/resource.rc b/plugins/Clist_modern/res/resource.rc
index eead268fb7..c15fa12b88 100644
--- a/plugins/Clist_modern/res/resource.rc
+++ b/plugins/Clist_modern/res/resource.rc
@@ -454,8 +454,6 @@ BEGIN
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,38,201,10
CONTROL "Remove status message if contact became offline",IDC_REMOVE_OFFLINE_AWAYMSG,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,50,201,10
- CONTROL "Use improved search method in contact list",IDC_FILTER_SEARCH,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,62,201,10
GROUPBOX "Metacontacts stuff",IDC_FRAME_META,2,81,218,88
CONTROL "Use 'Meta' protocol icons for metacontacts",IDC_META,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,95,201,10
diff --git a/plugins/Clist_modern/src/modern_clcopts.cpp b/plugins/Clist_modern/src/modern_clcopts.cpp
index e2a38d164a..506908d989 100644
--- a/plugins/Clist_modern/src/modern_clcopts.cpp
+++ b/plugins/Clist_modern/src/modern_clcopts.cpp
@@ -310,7 +310,6 @@ static INT_PTR CALLBACK DlgProcClistAdditionalOpts(HWND hwndDlg, UINT msg, WPARA
CheckDlgButton(hwndDlg, IDC_METAEXPAND, db_get_b(0, "CLC", "MetaExpanding", SETTING_METAEXPANDING_DEFAULT) ? BST_CHECKED : BST_UNCHECKED); /// by FYR
CheckDlgButton(hwndDlg, IDC_DISCOVER_AWAYMSG, db_get_b(0, "ModernData", "InternalAwayMsgDiscovery", SETTING_INTERNALAWAYMSGREQUEST_DEFAULT) ? BST_CHECKED : BST_UNCHECKED); /// by FYR
CheckDlgButton(hwndDlg, IDC_REMOVE_OFFLINE_AWAYMSG, db_get_b(0, "ModernData", "RemoveAwayMessageForOffline", SETTING_REMOVEAWAYMSGFOROFFLINE_DEFAULT) ? BST_CHECKED : BST_UNCHECKED); /// by FYR
- CheckDlgButton(hwndDlg, IDC_FILTER_SEARCH, db_get_b(0, "CLC", "FilterSearch", SETTING_FILTERSEARCH_DEFAULT) ? BST_CHECKED : BST_UNCHECKED); /// by Robyer
SendDlgItemMessage(hwndDlg, IDC_SUBINDENTSPIN, UDM_SETBUDDY, (WPARAM)GetDlgItem(hwndDlg, IDC_SUBINDENT), 0);
SendDlgItemMessage(hwndDlg, IDC_SUBINDENTSPIN, UDM_SETRANGE, 0, MAKELONG(50, 0));
@@ -339,7 +338,6 @@ static INT_PTR CALLBACK DlgProcClistAdditionalOpts(HWND hwndDlg, UINT msg, WPARA
db_set_b(0, "CLC", "MetaExpanding", (BYTE)IsDlgButtonChecked(hwndDlg, IDC_METAEXPAND));
db_set_b(0, "ModernData", "InternalAwayMsgDiscovery", (BYTE)IsDlgButtonChecked(hwndDlg, IDC_DISCOVER_AWAYMSG));
db_set_b(0, "ModernData", "RemoveAwayMessageForOffline", (BYTE)IsDlgButtonChecked(hwndDlg, IDC_REMOVE_OFFLINE_AWAYMSG));
- db_set_b(0, "CLC", "FilterSearch", (BYTE)IsDlgButtonChecked(hwndDlg, IDC_FILTER_SEARCH));
db_set_b(0, "CLC", "SubIndent", (BYTE)SendDlgItemMessage(hwndDlg, IDC_SUBINDENTSPIN, UDM_GETPOS, 0, 0));
ClcOptionsChanged();
diff --git a/plugins/Clist_modern/src/modern_defsettings.h b/plugins/Clist_modern/src/modern_defsettings.h
index b9de0e9246..92b85723d2 100644
--- a/plugins/Clist_modern/src/modern_defsettings.h
+++ b/plugins/Clist_modern/src/modern_defsettings.h
@@ -105,7 +105,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define SETTING_INTERNALAWAYMSGREQUEST_DEFAULT 1
#define SETTING_REMOVEAWAYMSGFOROFFLINE_DEFAULT 1
-#define SETTING_FILTERSEARCH_DEFAULT 0
#define SETTING_METAAVOIDDBLCLICK_DEFAULT 1
#define SETTING_METAIGNOREEMPTYEXTRA_DEFAULT 1
#define SETTING_METAHIDEEXTRA_DEFAULT 0
diff --git a/plugins/Clist_modern/src/resource.h b/plugins/Clist_modern/src/resource.h
index 2da51322ab..4c0ab1f200 100644
--- a/plugins/Clist_modern/src/resource.h
+++ b/plugins/Clist_modern/src/resource.h
@@ -296,7 +296,6 @@
#define IDC_REMOVE_OFFLINE_AWAYMSG 1767
#define IDC_SC_STATIC 1768
#define IDC_TRANSPARENTOVERLAY 1768
-#define IDC_FILTER_SEARCH 1768
#define IDC_SHOWUNREADEMAIL 1769
#define IDC_IDC_MULTI_COUNT 1771
#define IDC_MULTI_COUNT 1771