summaryrefslogtreecommitdiff
path: root/data
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 /data
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 'data')
-rw-r--r--data/org.gnome.Nautilus.desktop.in2
-rw-r--r--data/org.gnome.nautilus.gschema.xml5
2 files changed, 1 insertions, 6 deletions
diff --git a/data/org.gnome.Nautilus.desktop.in b/data/org.gnome.Nautilus.desktop.in
index db3f9a198..6544b02be 100644
--- a/data/org.gnome.Nautilus.desktop.in
+++ b/data/org.gnome.Nautilus.desktop.in
@@ -11,7 +11,7 @@ Type=Application
DBusActivatable=true
StartupNotify=true
Categories=GNOME;GTK;Utility;Core;FileManager;
-MimeType=inode/directory;
+MimeType=inode/directory; application/x-7z-compressed; application/x-7z-compressed-tar; application/x-bzip; application/x-bzip-compressed-tar; application/x-compress; application/x-compressed-tar; application/x-cpio; application/x-gzip; application/x-lha; application/x-lzip; application/x-lzip-compressed-tar; application/x-lzma; application/x-lzma-compressed-tar; application/x-tar; application/x-tarz; application/x-xar; application/x-xz; application/x-xz-compressed-tar; application/zip; application/gzip; application/bzip2;
X-GNOME-UsesNotifications=true
Actions=new-window;
diff --git a/data/org.gnome.nautilus.gschema.xml b/data/org.gnome.nautilus.gschema.xml
index f093c3ccf..023035872 100644
--- a/data/org.gnome.nautilus.gschema.xml
+++ b/data/org.gnome.nautilus.gschema.xml
@@ -111,11 +111,6 @@
<summary>Whether to ask for confirmation when deleting files, or emptying the Trash</summary>
<description>If set to true, then Nautilus will ask for confirmation when you attempt to delete files, or empty the Trash.</description>
</key>
- <key type="b" name="automatic-decompression">
- <default>true</default>
- <summary>Whether to extract compressed files instead of opening them in another application</summary>
- <description>If set to true, then Nautilus will automatically extract compressed files instead of opening them in another application</description>
- </key>
<key name="show-directory-item-counts" enum="org.gnome.nautilus.SpeedTradeoff">
<aliases><alias value='local_only' target='local-only'/></aliases>
<default>'local-only'</default>