Blame SOURCES/nautilus-mime-actions.c-No-Application-Installed-dia.patch

7795cb
From 3c78251bc3bda455423807cb7fd5e25e7f8afd7e Mon Sep 17 00:00:00 2001
7795cb
From: Timothy OBrien <obrien.timothy.a@gmail.com>
7795cb
Date: Sun, 27 Jan 2019 12:45:28 +1100
7795cb
Subject: [PATCH] nautilus-mime-actions.c: No Application Installed dialog not
7795cb
 closed on GTK_RESPONSE_YES
7795cb
MIME-Version: 1.0
7795cb
Content-Type: text/plain; charset=UTF-8
7795cb
Content-Transfer-Encoding: 8bit
7795cb
7795cb
The "There is no application installed for “foo” files. Do you want to search for an application to open this file?" dialog that appears when there is no application installed to open the specific file type is not closed after clicking Yes. Instead, it reopens again.
7795cb
7795cb
This patch removes code that was causing the file to be activated after the user clicked Yes; relaunching the dialog.
7795cb
7795cb
Resolves #842
7795cb
---
7795cb
 src/nautilus-mime-actions.c | 8 --------
7795cb
 1 file changed, 8 deletions(-)
7795cb
7795cb
diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c
7795cb
index 6f0ad9db5..5d1d5234e 100644
7795cb
--- a/src/nautilus-mime-actions.c
7795cb
+++ b/src/nautilus-mime-actions.c
7795cb
@@ -1191,14 +1191,6 @@ search_for_application_dbus_call_notify_cb (GDBusProxy   *proxy,
7795cb
 
7795cb
     g_variant_unref (variant);
7795cb
 
7795cb
-    /* activate the file again */
7795cb
-    nautilus_mime_activate_files (parameters_install->parent_window,
7795cb
-                                  parameters_install->slot,
7795cb
-                                  parameters_install->files,
7795cb
-                                  parameters_install->activation_directory,
7795cb
-                                  parameters_install->flags,
7795cb
-                                  parameters_install->user_confirmation);
7795cb
-
7795cb
     activate_parameters_install_free (parameters_install);
7795cb
 }
7795cb
 
7795cb
-- 
7795cb
2.26.0
7795cb