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

586b48
From 3c78251bc3bda455423807cb7fd5e25e7f8afd7e Mon Sep 17 00:00:00 2001
586b48
From: Timothy OBrien <obrien.timothy.a@gmail.com>
586b48
Date: Sun, 27 Jan 2019 12:45:28 +1100
586b48
Subject: [PATCH] nautilus-mime-actions.c: No Application Installed dialog not
586b48
 closed on GTK_RESPONSE_YES
586b48
MIME-Version: 1.0
586b48
Content-Type: text/plain; charset=UTF-8
586b48
Content-Transfer-Encoding: 8bit
586b48
586b48
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.
586b48
586b48
This patch removes code that was causing the file to be activated after the user clicked Yes; relaunching the dialog.
586b48
586b48
Resolves #842
586b48
---
586b48
 src/nautilus-mime-actions.c | 8 --------
586b48
 1 file changed, 8 deletions(-)
586b48
586b48
diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c
586b48
index 6f0ad9db5..5d1d5234e 100644
586b48
--- a/src/nautilus-mime-actions.c
586b48
+++ b/src/nautilus-mime-actions.c
586b48
@@ -1191,14 +1191,6 @@ search_for_application_dbus_call_notify_cb (GDBusProxy   *proxy,
586b48
 
586b48
     g_variant_unref (variant);
586b48
 
586b48
-    /* activate the file again */
586b48
-    nautilus_mime_activate_files (parameters_install->parent_window,
586b48
-                                  parameters_install->slot,
586b48
-                                  parameters_install->files,
586b48
-                                  parameters_install->activation_directory,
586b48
-                                  parameters_install->flags,
586b48
-                                  parameters_install->user_confirmation);
586b48
-
586b48
     activate_parameters_install_free (parameters_install);
586b48
 }
586b48
 
586b48
-- 
586b48
2.26.0
586b48