summaryrefslogtreecommitdiff
path: root/src/nautilus-preferences-window.c
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2017-08-09 16:32:09 +0200
committerCarlos Soriano <csoriano@gnome.org>2017-08-09 22:07:59 +0200
commit1bdc404245da0491b8c5f41eee947aef59f5d73e (patch)
treec9e979fe5564dc20c7004e3ab257f8e952deea82 /src/nautilus-preferences-window.c
parent3a353db6f81205f66a42350f2b689085b1bccf78 (diff)
downloadnautilus-1bdc404245da0491b8c5f41eee947aef59f5d73e.tar.gz
general: Add mime type support for archives
Until now archives were managed only if activated from Nautilus itself and if a setting was set. There are two main problems with this. 1- Archives opened in other apps cannot be handled by Nautilus 2- Users cannot use the regular mime type handling for setting Nautilus as the app handling archives, or unsetting it. This patch add support for archives mime types handled by gnome-autoar and removes the UI and setting used in the previous version. https://bugzilla.gnome.org/show_bug.cgi?id=771424
Diffstat (limited to 'src/nautilus-preferences-window.c')
-rw-r--r--src/nautilus-preferences-window.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nautilus-preferences-window.c b/src/nautilus-preferences-window.c
index 680254ff1..0e4a5a413 100644
--- a/src/nautilus-preferences-window.c
+++ b/src/nautilus-preferences-window.c
@@ -57,8 +57,6 @@
"use_tree_view_checkbutton"
#define NAUTILUS_PREFERENCES_DIALOG_TRASH_CONFIRM_WIDGET \
"trash_confirm_checkbutton"
-#define NAUTILUS_PREFERENCES_DIALOG_AUTOMATIC_DECOMPRESSION_WIDGET \
- "automatic_decompression_checkbutton"
#define NAUTILUS_PREFERENCES_DIALOG_USE_NEW_VIEWS_WIDGET \
"use_new_views_checkbutton"
#define NAUTILUS_PREFERENCES_FTS_DEFAULT_WIDGET \
@@ -493,9 +491,6 @@ static void nautilus_preferences_window_setup(GtkBuilder *builder,
bind_builder_bool (builder, nautilus_preferences,
NAUTILUS_PREFERENCES_DIALOG_TRASH_CONFIRM_WIDGET,
NAUTILUS_PREFERENCES_CONFIRM_TRASH);
- bind_builder_bool (builder, nautilus_preferences,
- NAUTILUS_PREFERENCES_DIALOG_AUTOMATIC_DECOMPRESSION_WIDGET,
- NAUTILUS_PREFERENCES_AUTOMATIC_DECOMPRESSION);
bind_builder_bool (builder, nautilus_list_view_preferences,
NAUTILUS_PREFERENCES_DIALOG_LIST_VIEW_USE_TREE_WIDGET,
NAUTILUS_PREFERENCES_LIST_VIEW_USE_TREE);