summaryrefslogtreecommitdiff
path: root/src/fr-window.c
diff options
context:
space:
mode:
authorPaolo Bacchilega <[email protected]>2014-06-28 17:33:52 +0200
committerStefano Karapetsas <[email protected]>2014-06-28 17:33:52 +0200
commit156e7d16ee12ce9da9f722fe193ec88850825ca9 (patch)
treeeca7724f42d9fa8243b7378a836e582cf0e95a22 /src/fr-window.c
parent1e6a2f1ec9fe303ba2895d5deb291261a100a6a5 (diff)
downloadengrampa-156e7d16ee12ce9da9f722fe193ec88850825ca9.tar.bz2
engrampa-156e7d16ee12ce9da9f722fe193ec88850825ca9.tar.xz
Do not set the selected app as the system defaultengrampa-1.9.0
Original commit: https://git.gnome.org/browse/file-roller/commit/?id=5a62707f7776aa88110f6c51b84189635deafe67 Closes https://github.com/mate-desktop/engrampa/issues/47
Diffstat (limited to 'src/fr-window.c')
-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 e23377c..f9ceef8 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -8003,16 +8003,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);
}