[Xfce4-commits] [xfce/xfdesktop] 01/01: Reintroduce workaround for Bug #11283
noreply at xfce.org
noreply at xfce.org
Sun Oct 6 21:59:02 CEST 2019
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfdesktop.
commit 999cbcbaa4b9ce44815b37180da944a8347254a9
Author: Andre Miranda <andreldm at xfce.org>
Date: Sun Oct 6 16:58:30 2019 -0300
Reintroduce workaround for Bug #11283
---
src/xfdesktop-file-utils.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/xfdesktop-file-utils.c b/src/xfdesktop-file-utils.c
index b6e4f40..86856d5 100644
--- a/src/xfdesktop-file-utils.c
+++ b/src/xfdesktop-file-utils.c
@@ -698,12 +698,14 @@ xfdesktop_file_utils_async_handle_error(GError *error, gpointer userdata)
GtkWindow *parent = GTK_WINDOW(userdata);
if(error != NULL) {
- xfce_message_dialog(parent,
- _("Error"), "dialog-error",
- _("The requested operation could not be completed"),
- error->message,
- XFCE_BUTTON_TYPE_MIXED, "window-close", _("_Close"), GTK_RESPONSE_ACCEPT,
- NULL);
+ if(error->domain != G_IO_ERROR || error->code != G_IO_ERROR_TIMED_OUT) {
+ xfce_message_dialog(parent,
+ _("Error"), "dialog-error",
+ _("The requested operation could not be completed"),
+ error->message,
+ XFCE_BUTTON_TYPE_MIXED, "window-close", _("_Close"), GTK_RESPONSE_ACCEPT,
+ NULL);
+ }
g_clear_error(&error);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list