diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-10-22 14:43:59 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-10-22 16:39:26 -0400 |
commit | 1f307c367ddd8193a38f500e731b7ca0f9b2f98e (patch) | |
tree | c726435bf29e7d9ce47f886b6deea77a3fa5565c /src/nautilus-bookmark-list.h | |
parent | 17a85b78acc78b573c2e1776b348ed348e19adb7 (diff) | |
download | nautilus-1f307c367ddd8193a38f500e731b7ca0f9b2f98e.tar.gz |
places-sidebar: use the bookmark display name
Instead of the XDG directory name; this makes name edits from the
Bookmarks window apply correctly to the sidebar.
Likewise, allow renaming of XDG bookmarks from the context menu.
Diffstat (limited to 'src/nautilus-bookmark-list.h')
-rw-r--r-- | src/nautilus-bookmark-list.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nautilus-bookmark-list.h b/src/nautilus-bookmark-list.h index dc0459d94..f5671091e 100644 --- a/src/nautilus-bookmark-list.h +++ b/src/nautilus-bookmark-list.h @@ -72,7 +72,8 @@ guint nautilus_bookmark_list_length (NautilusBook NautilusBookmark * nautilus_bookmark_list_item_at (NautilusBookmarkList *bookmarks, guint index); NautilusBookmark * nautilus_bookmark_list_item_with_location (NautilusBookmarkList *bookmarks, - GFile *location); + GFile *location, + guint *index); void nautilus_bookmark_list_move_item (NautilusBookmarkList *bookmarks, guint index, guint destination); |