[nautilus] Remove the open folders in new windows option
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Remove the open folders in new windows option
- Date: Thu, 16 Aug 2012 12:57:23 +0000 (UTC)
commit 74a8e6e3b2848f2bda121e9f9501346a638d215c
Author: William Jon McCann <jmccann redhat com>
Date: Tue Aug 14 14:10:28 2012 -0400
Remove the open folders in new windows option
This is not something we want to encourage as it basically
breaks the browser model.
https://bugzilla.gnome.org/show_bug.cgi?id=681919
src/nautilus-file-management-properties.c | 15 ---------------
src/nautilus-file-management-properties.ui | 16 ----------------
2 files changed, 0 insertions(+), 31 deletions(-)
---
diff --git a/src/nautilus-file-management-properties.c b/src/nautilus-file-management-properties.c
index d932794..7a470d8 100644
--- a/src/nautilus-file-management-properties.c
+++ b/src/nautilus-file-management-properties.c
@@ -50,7 +50,6 @@
/* bool preferences */
#define NAUTILUS_FILE_MANAGEMENT_PROPERTIES_FOLDERS_FIRST_WIDGET "sort_folders_first_checkbutton"
-#define NAUTILUS_FILE_MANAGEMENT_PROPERTIES_ALWAYS_USE_BROWSER_WIDGET "always_use_browser_checkbutton"
#define NAUTILUS_FILE_MANAGEMENT_PROPERTIES_TRASH_CONFIRM_WIDGET "trash_confirm_checkbutton"
#define NAUTILUS_FILE_MANAGEMENT_PROPERTIES_TRASH_DELETE_WIDGET "trash_delete_checkbutton"
#define NAUTILUS_FILE_MANAGEMENT_PROPERTIES_OPEN_NEW_WINDOW_WIDGET "new_window_checkbutton"
@@ -499,17 +498,6 @@ bind_builder_bool (GtkBuilder *builder,
"active", G_SETTINGS_BIND_DEFAULT);
}
-static void
-bind_builder_bool_inverted (GtkBuilder *builder,
- GSettings *settings,
- const char *widget_name,
- const char *prefs)
-{
- g_settings_bind (settings, prefs,
- gtk_builder_get_object (builder, widget_name),
- "active", G_SETTINGS_BIND_INVERT_BOOLEAN);
-}
-
static gboolean
enum_get_mapping (GValue *value,
GVariant *variant,
@@ -688,9 +676,6 @@ nautilus_file_management_properties_dialog_setup (GtkBuilder *builder, GtkWindow
bind_builder_bool (builder, nautilus_preferences,
NAUTILUS_FILE_MANAGEMENT_PROPERTIES_FOLDERS_FIRST_WIDGET,
NAUTILUS_PREFERENCES_SORT_DIRECTORIES_FIRST);
- bind_builder_bool_inverted (builder, nautilus_preferences,
- NAUTILUS_FILE_MANAGEMENT_PROPERTIES_ALWAYS_USE_BROWSER_WIDGET,
- NAUTILUS_PREFERENCES_ALWAYS_USE_BROWSER);
bind_builder_bool (builder, nautilus_preferences,
NAUTILUS_FILE_MANAGEMENT_PROPERTIES_TRASH_CONFIRM_WIDGET,
diff --git a/src/nautilus-file-management-properties.ui b/src/nautilus-file-management-properties.ui
index af00c15..9d009fd 100644
--- a/src/nautilus-file-management-properties.ui
+++ b/src/nautilus-file-management-properties.ui
@@ -514,22 +514,6 @@
<property name="position">1</property>
</packing>
</child>
- <child>
- <object class="GtkCheckButton" id="always_use_browser_checkbutton">
- <property name="label" translatable="yes">Open each _folder in its own window</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_action_appearance">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">2</property>
- </packing>
- </child>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]