[gnome-shell/wip/fmuellner/notification-redux] calendar: Set GridLayout orientation



commit 75c3587906d41c76b74c03665964768386d044c3
Author: Florian Müllner <fmuellner gnome org>
Date:   Sun Feb 15 18:54:24 2015 +0100

    calendar: Set GridLayout orientation
    
    Not doing so subtly confuses Clutter's size requests ...

 js/ui/calendar.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index de490a1..3a24741 100644
--- a/js/ui/calendar.js
+++ b/js/ui/calendar.js
@@ -404,6 +404,7 @@ const Calendar = new Lang.Class({
         this.actor = new St.Widget({ style_class: 'calendar',
                                      layout_manager: new Clutter.GridLayout(),
                                      reactive: true });
+        this.actor.layout_manager.orientation = Clutter.Orientation.VERTICAL;
 
         this.actor.connect('scroll-event',
                            Lang.bind(this, this._onScroll));


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