Skip to content

Commit

Permalink
compatibility fix with 3.28
Browse files Browse the repository at this point in the history
  • Loading branch information
jonian committed Oct 4, 2019
1 parent cf8f2d8 commit 3faba00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions [email protected]/modules/themeMods.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var ThemeMods = new GObject.Class({
this.gtkSettings = Gtk.Settings.get_default();
this._extraSpace = versionCheck('< 3.34.0');
this._mainStyle = Main.uiGroup.get_style();
this._panelStyle = Main.panel.get_style();
this._panelStyle = Main.panel.actor.get_style();
this._appMenu = Main.panel.statusArea.appMenu;
this._aggMenu = Main.panel.statusArea.aggregateMenu;
this._leftBox = Main.panel._leftBox;
Expand Down Expand Up @@ -87,15 +87,15 @@ var ThemeMods = new GObject.Class({
this._addClass('small-spacing');
}

Main.panel.set_style('font-size: 11.25pt;');
Main.panel.actor.set_style('font-size: 11.25pt;');
},

_unsetPanelStyle() {
this._removeClass('small-spacing');
this._removeClass('system-fonts');

Main.uiGroup.set_style(this._mainStyle);
Main.panel.set_style(this._panelStyle);
Main.panel.actor.set_style(this._panelStyle);
},

_toggleAppMenuIcon() {
Expand Down

0 comments on commit 3faba00

Please sign in to comment.