summaryrefslogtreecommitdiff
path: root/src/nautilus-mime-actions.c
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano1618@gmail.com>2018-04-23 20:03:55 +0000
committerCarlos Soriano <csoriano1618@gmail.com>2018-04-23 20:03:55 +0000
commitdab23f2e771aff3d1d233a97d38b239cbb05a899 (patch)
treec00371edd583881a8e1096aab2694ad7f96c2772 /src/nautilus-mime-actions.c
parentc526cf6322a279a072bc34b9bab1de53bf9de5e0 (diff)
downloadnautilus-dab23f2e771aff3d1d233a97d38b239cbb05a899.tar.gz
Revert "Merge remote-tracking branch 'upstream/master'"
This reverts commit 1f4bd55d1b9d5f701f2df8d1be7466df85a8669a
Diffstat (limited to 'src/nautilus-mime-actions.c')
-rw-r--r--src/nautilus-mime-actions.c23
1 files changed, 7 insertions, 16 deletions
diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c
index 4386921ee..c59a4f7af 100644
--- a/src/nautilus-mime-actions.c
+++ b/src/nautilus-mime-actions.c
@@ -1184,10 +1184,8 @@ search_for_application_dbus_call_notify_cb (GDBusProxy *proxy,
message = g_strdup_printf ("%s\n%s",
_("There was an internal error trying to search for applications:"),
error->message);
- show_dialog (_("Unable to search for application"),
- message,
- parameters_install->parent_window,
- GTK_MESSAGE_ERROR);
+ show_error_dialog (_("Unable to search for application"), message,
+ parameters_install->parent_window);
g_free (message);
}
else
@@ -1903,10 +1901,7 @@ activation_mount_not_mounted_callback (GObject *source_object,
error->code != G_IO_ERROR_FAILED_HANDLED &&
error->code != G_IO_ERROR_ALREADY_MOUNTED))
{
- show_dialog (_("Unable to access location"),
- error->message,
- parameters->parent_window,
- GTK_MESSAGE_ERROR);
+ show_error_dialog (_("Unable to access location"), error->message, parameters->parent_window);
}
if (error->domain != G_IO_ERROR ||
@@ -2201,10 +2196,8 @@ activation_mountable_mounted (NautilusFile *file,
error->code != G_IO_ERROR_FAILED_HANDLED &&
error->code != G_IO_ERROR_ALREADY_MOUNTED))
{
- show_dialog (_("Unable to access location"),
- error->message,
- parameters->parent_window,
- GTK_MESSAGE_ERROR);
+ show_error_dialog (_("Unable to access location"),
+ error->message, parameters->parent_window);
}
if (error->code == G_IO_ERROR_CANCELLED)
@@ -2292,10 +2285,8 @@ activation_mountable_started (NautilusFile *file,
(error->code != G_IO_ERROR_CANCELLED &&
error->code != G_IO_ERROR_FAILED_HANDLED))
{
- show_dialog (_("Unable to start location"),
- error->message,
- NULL,
- GTK_MESSAGE_ERROR);
+ show_error_dialog (_("Unable to start location"),
+ error->message, NULL);
}
if (error->code == G_IO_ERROR_CANCELLED)