[gnome-shell] messageTray: Jiggle some code around



commit 4a3a61bea14af550d6b96a3ed22b6c4746d29b1e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Feb 17 14:30:04 2013 -0500

    messageTray: Jiggle some code around
    
    This is to put state management with state management
    
    https://bugzilla.gnome.org/show_bug.cgi?id=694038

 js/ui/messageTray.js |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 9425564..16064eb 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1864,11 +1864,6 @@ const MessageTray = new Lang.Class({
         return false;
     },
 
-    openTray: function() {
-        this._traySummoned = true;
-        this._updateState();
-    },
-
     _onNotificationKeyRelease: function(actor, event) {
         if (event.get_key_symbol() == Clutter.KEY_Escape && event.get_state() == 0) {
             this._closeNotification();
@@ -2035,6 +2030,11 @@ const MessageTray = new Lang.Class({
         this._updateState();
     },
 
+    openTray: function() {
+        this._traySummoned = true;
+        this._updateState();
+    },
+
     toggle: function() {
         this._traySummoned = !this._traySummoned;
         this._updateState();


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