[nautilus] nautilus-mime-actions.c: No Application Installed dialog not closed on GTK_RESPONSE_YES
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] nautilus-mime-actions.c: No Application Installed dialog not closed on GTK_RESPONSE_YES
- Date: Tue, 29 Jan 2019 13:20:54 +0000 (UTC)
commit 3c78251bc3bda455423807cb7fd5e25e7f8afd7e
Author: Timothy OBrien <obrien timothy a gmail com>
Date: Sun Jan 27 12:45:28 2019 +1100
nautilus-mime-actions.c: No Application Installed dialog not closed on GTK_RESPONSE_YES
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.
This patch removes code that was causing the file to be activated after the user clicked Yes; relaunching
the dialog.
Resolves #842
src/nautilus-mime-actions.c | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c
index 6f0ad9db5..5d1d5234e 100644
--- a/src/nautilus-mime-actions.c
+++ b/src/nautilus-mime-actions.c
@@ -1191,14 +1191,6 @@ search_for_application_dbus_call_notify_cb (GDBusProxy *proxy,
g_variant_unref (variant);
- /* activate the file again */
- nautilus_mime_activate_files (parameters_install->parent_window,
- parameters_install->slot,
- parameters_install->files,
- parameters_install->activation_directory,
- parameters_install->flags,
- parameters_install->user_confirmation);
-
activate_parameters_install_free (parameters_install);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]