forked from AuroraMiddleware/gtk
Duh, duh, duh! Don't bail out if the bookmarks file doesn't exist the very
2004-02-13 Federico Mena Quintero <federico@ximian.com> * gtk/gtkfilesystemunix.c (gtk_file_system_unix_add_bookmark): Duh, duh, duh! Don't bail out if the bookmarks file doesn't exist the very first time you try to save one.
This commit is contained in:
parent
fff4999699
commit
764b163ce6
@ -1,3 +1,9 @@
|
||||
2004-02-13 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_add_bookmark):
|
||||
Duh, duh, duh! Don't bail out if the bookmarks file doesn't exist
|
||||
the very first time you try to save one.
|
||||
|
||||
2004-02-13 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Fix #129020.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-02-13 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_add_bookmark):
|
||||
Duh, duh, duh! Don't bail out if the bookmarks file doesn't exist
|
||||
the very first time you try to save one.
|
||||
|
||||
2004-02-13 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Fix #129020.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-02-13 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_add_bookmark):
|
||||
Duh, duh, duh! Don't bail out if the bookmarks file doesn't exist
|
||||
the very first time you try to save one.
|
||||
|
||||
2004-02-13 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Fix #129020.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-02-13 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_add_bookmark):
|
||||
Duh, duh, duh! Don't bail out if the bookmarks file doesn't exist
|
||||
the very first time you try to save one.
|
||||
|
||||
2004-02-13 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Fix #129020.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-02-13 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_add_bookmark):
|
||||
Duh, duh, duh! Don't bail out if the bookmarks file doesn't exist
|
||||
the very first time you try to save one.
|
||||
|
||||
2004-02-13 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Fix #129020.
|
||||
|
@ -1077,9 +1077,15 @@ gtk_file_system_unix_add_bookmark (GtkFileSystem *file_system,
|
||||
GSList *l;
|
||||
char *uri;
|
||||
gboolean result;
|
||||
GError *err;
|
||||
|
||||
if (!bookmark_list_read (&bookmarks, error))
|
||||
return FALSE;
|
||||
err = NULL;
|
||||
if (!bookmark_list_read (&bookmarks, &err) && err->code != G_FILE_ERROR_NOENT)
|
||||
{
|
||||
g_propagate_error (error, err);
|
||||
g_error_free (err);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
result = FALSE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user