diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2015-07-14 14:47:42 -0300 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2015-07-15 23:11:52 -0300 |
commit | 7db399d975b8f9626c21761dde5f2d5feeb6e305 (patch) | |
tree | 3218b7119676ecd2b86394f7c4b0bd74dfa5914b /gtk/gtkplacessidebarprivate.h | |
parent | 7af88d40b14f5793b975eab34e727ae4535d0cb7 (diff) | |
download | gtk+-7db399d975b8f9626c21761dde5f2d5feeb6e305.tar.gz |
placessidebar: add Other Locations item
Places sidebar is a widget that enabled the user to select
XDG directories, bookmarks and mounted network locations,
as well as manages permanent and removable devices.
The new design that aims to look less clutered makes the
sidebar display only removable devices, as well as mounted
networks, bookmarks and XDG directories, and delegates the
management of permanent devices such as hard drive partitions
to GtkPlacesView, a newly introduced widget for this specific
purpose.
To delegate it, add an "Other Locations..." item to notify
when the permanent devices manager is required. Besides that,
don't show these fixes devices on the sidebar itself, as they
are not supposed to be handled by the sidebar anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=752034
Diffstat (limited to 'gtk/gtkplacessidebarprivate.h')
-rw-r--r-- | gtk/gtkplacessidebarprivate.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkplacessidebarprivate.h b/gtk/gtkplacessidebarprivate.h index 520141f418..34850cc838 100644 --- a/gtk/gtkplacessidebarprivate.h +++ b/gtk/gtkplacessidebarprivate.h @@ -30,9 +30,9 @@ G_BEGIN_DECLS typedef enum { SECTION_INVALID, SECTION_COMPUTER, - SECTION_DEVICES, - SECTION_NETWORK, + SECTION_MOUNTS, SECTION_BOOKMARKS, + SECTION_OTHER_LOCATIONS, N_SECTIONS } GtkPlacesSidebarSectionType; @@ -47,6 +47,7 @@ typedef enum { PLACES_ENTER_LOCATION, PLACES_DROP_FEEDBACK, PLACES_BOOKMARK_PLACEHOLDER, + PLACES_OTHER_LOCATIONS, N_PLACES } GtkPlacesSidebarPlaceType; |