[gnome-boxes] snapshots-prop: Longer view



commit b4180a2e8460ed7f95991529c90780224fdaeec7
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sun Feb 22 19:44:35 2015 +0000

    snapshots-prop: Longer view
    
    Snapshots property has its own page and currently it takes only a part
    of the whole page, which doesn't look so good. This patch makes it take
    a lot of the (vertical) space given to it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=738517

 src/snapshots-property.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/snapshots-property.vala b/src/snapshots-property.vala
index fb31952..13f41c7 100644
--- a/src/snapshots-property.vala
+++ b/src/snapshots-property.vala
@@ -36,6 +36,7 @@ private class Boxes.SnapshotsProperty : Boxes.Property {
         var toolbar = new Gtk.Toolbar ();
         toolbar.get_style_context ().add_class (Gtk.STYLE_CLASS_INLINE_TOOLBAR);
         toolbar.icon_size = Gtk.IconSize.MENU;
+        toolbar.valign = Gtk.Align.START;
 
         var create_snapshot_button = new Gtk.ToolButton (null, null);
         create_snapshot_button.clicked.connect (() => {
@@ -64,7 +65,7 @@ private class Boxes.SnapshotsProperty : Boxes.Property {
 
         snapshot_list_frame.add (snapshot_stack);
         snapshot_box.pack_start (snapshot_list_frame, true, true);
-        snapshot_box.pack_start (toolbar, true, false);
+        snapshot_box.pack_start (toolbar, true, true);
         stack.add (snapshot_box);
 
         // Activity page


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