mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
notificationDaemon: fix order of arguments to _lookupSource()
The order of arguments passed to _lookupSource() was wrong, causing problems when tray icons were removed. https://bugzilla.gnome.org/show_bug.cgi?id=664138
This commit is contained in:
parent
c5932c0f07
commit
29da720e6a
1 changed files with 1 additions and 1 deletions
|
|
@ -487,7 +487,7 @@ const NotificationDaemon = new Lang.Class({
|
|||
},
|
||||
|
||||
_onTrayIconRemoved: function(o, icon) {
|
||||
let source = this._lookupSource(icon.pid, null, true);
|
||||
let source = this._lookupSource(null, icon.pid, true);
|
||||
if (source)
|
||||
source.destroy();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue