summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bacchilega <[email protected]>2014-06-28 17:33:52 +0200
committerinfirit <[email protected]>2014-07-11 14:39:52 +0200
commitc6dbb4eb3d52f5d01ca1276f99b3e4926c07e3af (patch)
tree281a2f00718cdab12a610df4992a174d1a687720
parent2e4c45a62bea09cb496804febae40aa66361835b (diff)
downloadengrampa-c6dbb4eb3d52f5d01ca1276f99b3e4926c07e3af.tar.bz2
engrampa-c6dbb4eb3d52f5d01ca1276f99b3e4926c07e3af.tar.xz
Do not set the selected app as the system default
Original commit: https://git.gnome.org/browse/file-roller/commit/?id=5a62707f7776aa88110f6c51b84189635deafe67 Closes https://github.com/mate-desktop/engrampa/issues/47
-rw-r--r--src/fr-window.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/fr-window.c b/src/fr-window.c
index b488b88..909cec7 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -8022,16 +8022,6 @@ fr_window_open_files_with_application (FrWindow *window,
error->message);
g_clear_error (&error);
}
- else {
- char *uri;
- const char *mime_type;
-
- uri = g_filename_to_uri (file_list->data, NULL, NULL);
- mime_type = get_file_mime_type (uri, FALSE);
- if (mime_type != NULL)
- g_app_info_set_as_default_for_type (app, mime_type, NULL);
- g_free (uri);
- }
path_list_free (uris);
}