gtk2/filechooser-auth.patch

13 lines
572 B
Diff
Raw Normal View History

2008-04-09 17:42:09 +00:00
diff -up gtk+-2.12.9/gtk/gtkfilechooserdefault.c.filechooser-auth gtk+-2.12.9/gtk/gtkfilechooserdefault.c
--- gtk+-2.12.9/gtk/gtkfilechooserdefault.c.filechooser-auth 2008-04-09 13:39:03.000000000 -0400
+++ gtk+-2.12.9/gtk/gtkfilechooserdefault.c 2008-04-09 13:39:06.000000000 -0400
@@ -10377,7 +10377,7 @@ shortcuts_activate_get_info_cb (GtkFileS
data->impl->shortcuts_activate_iter_handle = NULL;
- if (cancelled)
+ if (cancelled || g_error_matches (error, G_FILE_ERROR, G_FILE_ERROR_INTR))
goto out;
if (!error && gtk_file_info_get_is_folder (info))