[file-roller] do not set the selected app as the system default
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] do not set the selected app as the system default
- Date: Mon, 10 Jan 2011 19:37:13 +0000 (UTC)
commit 5a62707f7776aa88110f6c51b84189635deafe67
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Jan 10 20:22:45 2011 +0100
do not set the selected app as the system default
src/fr-window.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/fr-window.c b/src/fr-window.c
index 0be77f8..bfd9f9b 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -8066,16 +8066,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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]