summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-05 16:43:01 +0200
committerStefano Karapetsas <[email protected]>2012-09-05 16:43:01 +0200
commitf0ca3e5a0329fa0c4a2fe5b6b941e660b547e113 (patch)
tree7f9849fc4c87a452559523574841d1b544a5b106
parentbd2d552864805962945aee83d4591019dbffaebc (diff)
downloadcaja-f0ca3e5a0329fa0c4a2fe5b6b941e660b547e113.tar.bz2
caja-f0ca3e5a0329fa0c4a2fe5b6b941e660b547e113.tar.xz
remove unused search-bar-type setting
-rw-r--r--libcaja-private/caja-global-preferences.c24
-rw-r--r--libcaja-private/caja-global-preferences.h3
2 files changed, 0 insertions, 27 deletions
diff --git a/libcaja-private/caja-global-preferences.c b/libcaja-private/caja-global-preferences.c
index 60be7dda..d2c68b0a 100644
--- a/libcaja-private/caja-global-preferences.c
+++ b/libcaja-private/caja-global-preferences.c
@@ -104,20 +104,6 @@ static EelEnumerationEntry file_size_enum_entries[] =
{ "4294967295", N_("4 GB"), 4294967295U }
};
-static EelEnumerationEntry search_bar_type_enum_entries[] =
-{
- {
- "search by text",
- N_("Search for files by file name only"),
- CAJA_SIMPLE_SEARCH_BAR
- },
- {
- "search by text and properties",
- N_("Search for files by file name and file properties"),
- CAJA_COMPLEX_SEARCH_BAR
- }
-};
-
static EelEnumerationEntry default_icon_view_sort_order_enum_entries[] =
{
{ "manually", N_("Manually"), PREFERENCES_SORT_ORDER_MANUALLY },
@@ -242,13 +228,6 @@ static const PreferenceDefault preference_defaults[] =
"speed_tradeoff"
},
{
- CAJA_PREFERENCES_SEARCH_BAR_TYPE,
- PREFERENCE_STRING,
- "search_by_text",
- NULL, NULL,
- "search_bar_type"
- },
- {
CAJA_PREFERENCES_ICON_VIEW_CAPTIONS,
PREFERENCE_STRING_ARRAY,
"size,date_modified,type",
@@ -474,9 +453,6 @@ global_preferences_register_enumerations (void)
eel_enumeration_register ("file_size",
file_size_enum_entries,
G_N_ELEMENTS (file_size_enum_entries));
- eel_enumeration_register ("search_bar_type",
- search_bar_type_enum_entries,
- G_N_ELEMENTS (search_bar_type_enum_entries));
eel_enumeration_register ("speed_tradeoff",
speed_tradeoff_enum_entries,
G_N_ELEMENTS (speed_tradeoff_enum_entries));
diff --git a/libcaja-private/caja-global-preferences.h b/libcaja-private/caja-global-preferences.h
index 07301a76..050ae054 100644
--- a/libcaja-private/caja-global-preferences.h
+++ b/libcaja-private/caja-global-preferences.h
@@ -178,9 +178,6 @@ G_BEGIN_DECLS
#define CAJA_PREFERENCES_NEWS_MAX_ITEMS "news/max_items"
#define CAJA_PREFERENCES_NEWS_UPDATE_INTERVAL "news/update_interval"
- /* File Indexing */
-#define CAJA_PREFERENCES_SEARCH_BAR_TYPE "preferences/search_bar_type"
-
enum
{
CAJA_CLICK_POLICY_SINGLE,