diff options
author | Martin Wehner <martin.wehner@gmail.com> | 2006-02-23 20:37:22 +0000 |
---|---|---|
committer | Martin Wehner <mwehner@src.gnome.org> | 2006-02-23 20:37:22 +0000 |
commit | 01bb4cc3a790eacad9455cfa9328c9fb7a65f2a5 (patch) | |
tree | 0b93118599256fb0af5108fcb73581031eab3e24 /src/nautilus-places-sidebar.c | |
parent | 71b61dd53236d536945eee6944987c266c866190 (diff) | |
download | nautilus-01bb4cc3a790eacad9455cfa9328c9fb7a65f2a5.tar.gz |
Set the has_custom_name_flag before setting the name - which would
2006-02-23 Martin Wehner <martin.wehner@gmail.com>
* src/nautilus-places-sidebar.c: (bookmarks_edited):
Set the has_custom_name_flag before setting the name - which would
otherwise immediately commit the bookmarks to disk without the name.
Fixes #327744.
Diffstat (limited to 'src/nautilus-places-sidebar.c')
-rw-r--r-- | src/nautilus-places-sidebar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-places-sidebar.c b/src/nautilus-places-sidebar.c index 46cffc7f0..b58ceff53 100644 --- a/src/nautilus-places-sidebar.c +++ b/src/nautilus-places-sidebar.c @@ -968,8 +968,8 @@ bookmarks_edited (GtkCellRenderer *cell, bookmark = nautilus_bookmark_list_item_at (sidebar->bookmarks, index); if (bookmark != NULL) { - nautilus_bookmark_set_name (bookmark, new_text); nautilus_bookmark_set_has_custom_name (bookmark, TRUE); + nautilus_bookmark_set_name (bookmark, new_text); } } |