mirror of
https://github.com/morgan9e/gnome-shell-extension-freon
synced 2026-04-15 00:44:22 +09:00
fix problem with show icon on panel setting
This commit is contained in:
@@ -110,7 +110,7 @@ const FreonMenuButton = new Lang.Class({
|
||||
if(this._settings.get_boolean('show-icon-on-panel')) {
|
||||
this._icon = new St.Icon({ style_class: 'system-status-icon'});
|
||||
if(this._lastActiveItem)
|
||||
this._icon.gicon = this._lastActiveItem.getGIcon();
|
||||
this._icon.gicon = this._lastActiveItem.gicon;
|
||||
this._menuLayout.insert_child_at_index(this._icon, 0);
|
||||
} else {
|
||||
this._icon.destroy();
|
||||
|
||||
Reference in New Issue
Block a user