[gnome-shell/wip/fmuellner/notification-redux: 93/128] dateMenu: Minor cleanups



commit 56bf9d4331b4d1522c7819b6d79b6078c6ca35da
Author: Florian Müllner <fmuellner gnome org>
Date:   Sun Feb 15 20:02:55 2015 +0100

    dateMenu: Minor cleanups

 js/ui/dateMenu.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js
index fc6f7dd..f6ad5b2 100644
--- a/js/ui/dateMenu.js
+++ b/js/ui/dateMenu.js
@@ -345,15 +345,15 @@ const DateMenuButton = new Lang.Class({
         hbox.add(vbox);
 
         this._date = new TodayButton(this._calendar);
-        vbox.add(this._date.actor, { x_fill: true  });
+        vbox.add_actor(this._date.actor);
 
-        vbox.add(this._calendar.actor);
+        vbox.add_actor(this._calendar.actor);
 
         let scroll = new St.ScrollView({ style_class: 'vfade',
                                          x_expand: true, x_fill: true,
                                          overlay_scrollbars: true });
         scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC);
-        vbox.add(scroll);
+        vbox.add_actor(scroll);
 
         let displaysBox = new St.BoxLayout({ vertical: true,
                                              style_class: 'datemenu-displays-box' });


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