messageTray: Remove a lot of dead signals

This commit is contained in:
Jasper St. Pierre 2013-08-02 00:08:33 -04:00
parent 2df0c02dfd
commit 4ed7f5eb67

View File

@ -1031,7 +1031,6 @@ const Notification = new Lang.Class({
// Restore height requisition // Restore height requisition
this.actor.add_style_class_name('notification-unexpanded'); this.actor.add_style_class_name('notification-unexpanded');
this.emit('collapsed');
}, },
_onActionInvoked: function(actor, mouseButtonClicked, id) { _onActionInvoked: function(actor, mouseButtonClicked, id) {
@ -1361,8 +1360,8 @@ const Source = new Lang.Class({
this.iconUpdated(); this.iconUpdated();
}, },
open: function(notification) { // To be overridden by subclasses
this.emit('opened', notification); open: function() {
}, },
destroyNonResidentNotifications: function() { destroyNonResidentNotifications: function() {
@ -2760,7 +2759,6 @@ const MessageTray = new Lang.Class({
this._clickedSummaryItemMouseButton = button; this._clickedSummaryItemMouseButton = button;
if (this._clickedSummaryItem) { if (this._clickedSummaryItem) {
this._clickedSummaryItem.source.emit('summary-item-clicked', button);
this._clickedSummaryItem.actor.add_style_pseudo_class('selected'); this._clickedSummaryItem.actor.add_style_pseudo_class('selected');
this._clickedSummaryItemAllocationChangedId = this._clickedSummaryItemAllocationChangedId =
this._clickedSummaryItem.actor.connect('allocation-changed', this._clickedSummaryItem.actor.connect('allocation-changed',