fix problem with show icon on panel setting

This commit is contained in:
UshakovVasilii
2015-02-19 21:52:37 +03:00
parent 855553e42b
commit 8716057b1d

View File

@@ -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();