notificationDaemon: Fix trayIcon check
Correctly detect non tray icons and use the ShellApp's icon in that case.
This commit is contained in:
parent
34f8568547
commit
5322e9a643
@ -476,8 +476,8 @@ Source.prototype = {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
// Only override the icon if we were previously using
|
// Only override the icon if we were previously using
|
||||||
// notification-based icons (ie, not a trayicon)
|
// notification-based icons (ie, not a trayicon) or if it was unset before
|
||||||
if (this.useNotificationIcon) {
|
if (!this._isTrayIcon) {
|
||||||
this.useNotificationIcon = false;
|
this.useNotificationIcon = false;
|
||||||
this._setSummaryIcon(this.app.create_icon_texture (this.ICON_SIZE));
|
this._setSummaryIcon(this.app.create_icon_texture (this.ICON_SIZE));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user