[nautilus/wip/gbsneto/other-locations] window: show Other Locations item in sidebar



commit b863c6d5da3d2272d610777eeb7d96e0649d56c0
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Jul 16 11:01:58 2015 -0300

    window: show Other Locations item in sidebar
    
    Latest Gtk+ version has the GtkPlacesSidebar::show-other-locations
    property, which adds an Other Locations item to the sidebar and
    hides persistent devices from it.
    
    The property is defaulted to FALSE, which means that we have to
    explicitly set it in order to achieve the nice Other Locations
    item.
    
    To fix that, set the ::show-other-locations sidebar property to
    TRUE.

 src/nautilus-window.ui |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-window.ui b/src/nautilus-window.ui
index 5205ced..ab0e1d8 100644
--- a/src/nautilus-window.ui
+++ b/src/nautilus-window.ui
@@ -32,6 +32,7 @@
                 <child>
                   <object class="GtkPlacesSidebar" id="places_sidebar">
                     <property name="visible">True</property>
+                    <property name="show_other_locations">True</property>
                   </object>
                   <packing>
                     <property name="pack_type">start</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]