[gnome-shell/wip/sass] status: Fix non-aggregate status items



commit c9e8d0d18516c48c534253f64d45756de3248038
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Feb 17 13:02:40 2015 +0100

    status: Fix non-aggregate status items
    
    Fallout from commit 509fcb572baf9c85f6f95.

 js/ui/status/accessibility.js |    2 +-
 js/ui/status/keyboard.js      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/status/accessibility.js b/js/ui/status/accessibility.js
index 5047a28..336c009 100644
--- a/js/ui/status/accessibility.js
+++ b/js/ui/status/accessibility.js
@@ -46,7 +46,7 @@ const ATIndicator = new Lang.Class({
                                            icon_name: 'preferences-desktop-accessibility-symbolic' }));
         this._hbox.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM));
 
-        this.actor.add_child(this._hbox);
+        this.actor.set_child(this._hbox);
 
         this._a11ySettings = new Gio.Settings({ schema_id: A11Y_SCHEMA });
         this._a11ySettings.connect('changed::' + KEY_ALWAYS_SHOW, Lang.bind(this, 
this._queueSyncMenuVisibility));
diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js
index 3595a39..a7d7236 100644
--- a/js/ui/status/keyboard.js
+++ b/js/ui/status/keyboard.js
@@ -588,7 +588,7 @@ const InputSourceIndicator = new Lang.Class({
         this._hbox.add_child(this._container);
         this._hbox.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM));
 
-        this.actor.add_child(this._hbox);
+        this.actor.set_child(this._hbox);
         this.actor.add_style_class_name('panel-status-button');
 
         this._propSeparator = new PopupMenu.PopupSeparatorMenuItem();


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