[nautilus] Remove unused search-bar-type setting
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Remove unused search-bar-type setting
- Date: Fri, 23 Jul 2010 10:33:23 +0000 (UTC)
commit 184d31a6773358c1d081c82e508cd4c369e6a711
Author: Alexander Larsson <alexl redhat com>
Date: Thu Jul 22 17:43:46 2010 +0200
Remove unused search-bar-type setting
libnautilus-private/nautilus-global-preferences.c | 20 --------------------
libnautilus-private/nautilus-global-preferences.h | 3 ---
2 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/libnautilus-private/nautilus-global-preferences.c b/libnautilus-private/nautilus-global-preferences.c
index 23303eb..55f6b49 100644
--- a/libnautilus-private/nautilus-global-preferences.c
+++ b/libnautilus-private/nautilus-global-preferences.c
@@ -100,17 +100,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"),
- NAUTILUS_SIMPLE_SEARCH_BAR
- },
- { "search by text and properties",
- N_("Search for files by file name and file properties"),
- NAUTILUS_COMPLEX_SEARCH_BAR
- }
-};
-
static EelEnumerationEntry default_icon_view_sort_order_enum_entries[] = {
{ "manually", N_("Manually"), PREFERENCES_SORT_ORDER_MANUALLY },
{ "--------", "--------" },
@@ -226,12 +215,6 @@ static const PreferenceDefault preference_defaults[] = {
NULL, NULL,
"speed_tradeoff"
},
- { NAUTILUS_PREFERENCES_SEARCH_BAR_TYPE,
- PREFERENCE_STRING,
- "search_by_text",
- NULL, NULL,
- "search_bar_type"
- },
{ NAUTILUS_PREFERENCES_ICON_VIEW_CAPTIONS,
PREFERENCE_STRING_ARRAY,
"size,date_modified,type",
@@ -433,9 +416,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/libnautilus-private/nautilus-global-preferences.h b/libnautilus-private/nautilus-global-preferences.h
index 3151cec..8f9cee2 100644
--- a/libnautilus-private/nautilus-global-preferences.h
+++ b/libnautilus-private/nautilus-global-preferences.h
@@ -178,9 +178,6 @@ enum
#define NAUTILUS_PREFERENCES_NEWS_MAX_ITEMS "news/max_items"
#define NAUTILUS_PREFERENCES_NEWS_UPDATE_INTERVAL "news/update_interval"
-/* File Indexing */
-#define NAUTILUS_PREFERENCES_SEARCH_BAR_TYPE "preferences/search_bar_type"
-
enum
{
NAUTILUS_CLICK_POLICY_SINGLE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]