[gnome-boxes/gnome-3-4: 8/15] layout: fix broken Collection layout (v2 follow-up)



commit 8ab5e22b480aa07ff7c9508da7f5e21c32f372ac
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date:   Thu Mar 29 04:27:00 2012 +0200

    layout: fix broken Collection layout (v2 follow-up)
    
    A recent change in clutter has introduced a regression in Boxes:
    8c0be4181bc48917535177b3ce61f87d78f0c27d
    
    It seems to use the first column/row expand value for the rest of the
    table cells. Further investigation needed with Clutter gang.
    
    For now, let's just remove expand from the topbar, which spans over 2
    cells.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=672853

 src/app.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/app.vala b/src/app.vala
index c0c57f2..6c16e8f 100644
--- a/src/app.vala
+++ b/src/app.vala
@@ -423,7 +423,7 @@ private class Boxes.App: Boxes.UI {
             actor_remove (sidebar.actor);
             actor_remove (view.actor);
             box.pack (topbar.actor, "column", 0, "row", 0,
-                      "x-expand", true, "y-expand", false);
+                      "x-expand", false, "y-expand", false);
             box.pack (view.actor, "column", 0, "row", 1,
                       "x-expand", true, "y-expand", true);
             if (current_item is Machine) {



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