Skip to content

Commit

Permalink
topicons: gnome 3.30 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jonian committed Sep 6, 2018
1 parent b2cf361 commit d64a69b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion [email protected]/modules/topIcons.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ var TopIcons = new Lang.Class({
this._tray = new Shell.TrayManager();
this._tray.connect('tray-icon-added', Lang.bind(this, this._addTrayIcon));
this._tray.connect('tray-icon-removed', Lang.bind(this, this._removeTrayIcon));
this._tray.manage_screen(global.screen, Panel.actor);

if (global.screen) {
this._tray.manage_screen(global.screen, Panel.actor);
} else {
this._tray.manage_screen(Panel.actor);
}
},

_destroyTray: function () {
Expand Down

0 comments on commit d64a69b

Please sign in to comment.