placesview: add view for fixed drives and networks

Desktop / GNOME / GTK - Georges Basile Stavracas Neto [gmail.com] - 15 July 2015 21:11 UTC

Places sidebar shows XDG directories, mounted and unmounted devices, connected networks, bookmarks and actions like 'Connect to server' and 'Insert location', which causes the sidebar to grow very quickly and look cluttered. Because of that, new mockups for the sidebar try to simplify it.

To make the sidebar simpler, the new mockups propose that it should only handle connected networks and removable devices such as flash drives and USB devices, and delegates other devices for external widgets through the 'Other Locations' item.

To handle fixed devices and manage network connections, add a new widget named GtkPlacesView, based on Nautilus mockups to keep consistency between GNOME file management tools - in this case, between Nautilus and the bundled Gtk's file chooser.

https://bugzilla.gnome.org/show_bug.cgi?id=752034

7af88d4 placesview: add view for fixed drives and networks
gtk/Makefile.am | 6 +
gtk/gtkplacesview.c | 2028 +++++++++++++++++++++++++++++++++++++++++
gtk/gtkplacesviewprivate.h | 93 ++
gtk/gtkplacesviewrow.c | 246 +++++
gtk/gtkplacesviewrowprivate.h | 51 ++
gtk/ui/gtkplacesview.ui | 504 ++++++++++
gtk/ui/gtkplacesviewrow.ui | 107 +++
tests/Makefile.am | 5 +
tests/testplacesview.c | 24 +
9 files changed, 3064 insertions(+)

Upstream: git.gnome.org


  • Share