Commit 480336e3 authored by Carlos Garnacho's avatar Carlos Garnacho

tracker-needle: Put the tags list in a GtkPaned

This is to make it resizable within the view.
parent c8355fdc
......@@ -400,20 +400,30 @@
</packing>
</child>
<child>
<object class="GtkHBox" id="hbox_view">
<object class="GtkHPaned" id="hpaned">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
<property name="position">500</property>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
<object class="GtkHBox" id="hbox_view">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="resize">True</property>
<property name="shrink">False</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
</child>
</object>
......
......@@ -242,6 +242,7 @@ public class Tracker.Needle {
var builder = new Gtk.Builder ();
Button info_bar_button;
Toolbar toolbar;
Paned paned;
try {
//try load from source tree first.
......@@ -341,9 +342,10 @@ public class Tracker.Needle {
view.pack_start (sw_icons, true, true, 0);
// Set up tags_filter
paned = builder.get_object ("hpaned") as Paned;
tags_filter = new TrackerTagsFilter ();
tags_filter.hide ();
view.pack_end (tags_filter, false, true, 0);
paned.pack2 (tags_filter, false, false);
tags_filter.selection_changed.connect (tags_filter_selection_changed);
view_categories.set_active (true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment