[gnome-shell] messageTray: Remove a lot of dead signals



commit 4ed7f5eb67b3d672c37401034c23e679d123c78e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Aug 2 00:08:33 2013 -0400

    messageTray: Remove a lot of dead signals

 js/ui/messageTray.js |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 9705fcb..168d66c 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1031,7 +1031,6 @@ const Notification = new Lang.Class({
 
         // Restore height requisition
         this.actor.add_style_class_name('notification-unexpanded');
-        this.emit('collapsed');
     },
 
     _onActionInvoked: function(actor, mouseButtonClicked, id) {
@@ -1361,8 +1360,8 @@ const Source = new Lang.Class({
         this.iconUpdated();
     },
 
-    open: function(notification) {
-        this.emit('opened', notification);
+    // To be overridden by subclasses
+    open: function() {
     },
 
     destroyNonResidentNotifications: function() {
@@ -2760,7 +2759,6 @@ const MessageTray = new Lang.Class({
         this._clickedSummaryItemMouseButton = button;
 
         if (this._clickedSummaryItem) {
-            this._clickedSummaryItem.source.emit('summary-item-clicked', button);
             this._clickedSummaryItem.actor.add_style_pseudo_class('selected');
             this._clickedSummaryItemAllocationChangedId =
                 this._clickedSummaryItem.actor.connect('allocation-changed',


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