summaryrefslogtreecommitdiff
path: root/src/nautilus-file-utilities.h
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-file-utilities.h
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-file-utilities.h')
-rw-r--r--src/nautilus-file-utilities.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nautilus-file-utilities.h b/src/nautilus-file-utilities.h
index 98f823a70..da165cd73 100644
--- a/src/nautilus-file-utilities.h
+++ b/src/nautilus-file-utilities.h
@@ -26,6 +26,8 @@
#include <gio/gio.h>
#include <gtk/gtk.h>
+#define NAUTILUS_DESKTOP_ID "org.gnome.Nautilus.desktop"
+
/* These functions all return something something that needs to be
* freed with g_free, is not NULL, and is guaranteed to exist.
*/