[Xfce4-commits] [xfce/thunar] 02/02: Silently ignore G_IO_ERROR_FAILED_HANDLED instead of displaying an extra error dialog (#8695)
noreply at xfce.org
noreply at xfce.org
Wed Jun 29 21:05:36 CEST 2016
This is an automated email from the git hooks/post-receive script.
landry pushed a commit to branch master
in repository xfce/thunar.
commit febb41736615d76d73bf8156290296e3de49349b
Author: Armin Besirovic <armin.besirovic at gmail.com>
Date: Wed Jun 29 21:04:28 2016 +0200
Silently ignore G_IO_ERROR_FAILED_HANDLED instead of displaying an extra error dialog (#8695)
---
thunar/thunar-dialogs.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/thunar/thunar-dialogs.c b/thunar/thunar-dialogs.c
index 90ef5a9..911a276 100644
--- a/thunar/thunar-dialogs.c
+++ b/thunar/thunar-dialogs.c
@@ -303,6 +303,10 @@ thunar_dialogs_show_error (gpointer parent,
_thunar_return_if_fail (parent == NULL || GDK_IS_SCREEN (parent) || GTK_IS_WIDGET (parent));
+ /* do not display error dialog for already handled errors */
+ if (error->code == G_IO_ERROR_FAILED_HANDLED)
+ return;
+
/* parse the parent pointer */
screen = thunar_util_parse_parent (parent, &window);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list