From 4ed7f5eb67b3d672c37401034c23e679d123c78e Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 2 Aug 2013 00:08:33 -0400 Subject: [PATCH] messageTray: Remove a lot of dead signals --- js/ui/messageTray.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 9705fcb5d..168d66c1d 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',