mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Ignore G_IO_ERROR_FAILED_HANDLED errors (#532262).
2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org> * gtk/gtkfilechooserdefault.c: (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED errors (#532262). svn path=/trunk/; revision=20145
This commit is contained in:
parent
6eb51d28e3
commit
242f330920
@ -1,3 +1,9 @@
|
||||
2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c:
|
||||
(shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
|
||||
errors (#532262).
|
||||
|
||||
2008-05-25 Björn Lindqvist <bjourne@gmail.com>
|
||||
|
||||
* tests/pixbuf-lowmem.c
|
||||
|
@ -10346,12 +10346,15 @@ shortcuts_activate_volume_mount_cb (GtkFileSystemHandle *handle,
|
||||
|
||||
if (error)
|
||||
{
|
||||
char *msg;
|
||||
if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_FAILED_HANDLED))
|
||||
{
|
||||
char *msg;
|
||||
|
||||
msg = g_strdup_printf (_("Could not mount %s"),
|
||||
gtk_file_system_volume_get_display_name (impl->file_system, volume));
|
||||
error_message (impl, msg, error->message);
|
||||
g_free (msg);
|
||||
msg = g_strdup_printf (_("Could not mount %s"),
|
||||
gtk_file_system_volume_get_display_name (impl->file_system, volume));
|
||||
error_message (impl, msg, error->message);
|
||||
g_free (msg);
|
||||
}
|
||||
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user