Skip to content

Commit

Permalink
layout: do not listen to use-system-fonts changes on shell >= 36
Browse files Browse the repository at this point in the history
  • Loading branch information
jonian committed Mar 22, 2021
1 parent d7d33d6 commit 1bb7ad9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions unite@hardpixel.eu/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,15 @@ var LayoutManager = GObject.registerClass(
'hide-dropdown-arrows', this._onHideDropdownArrows.bind(this)
)

this.settings.connect(
'use-system-fonts', this._onChangeStyles.bind(this)
)

this.settings.connect(
'reduce-panel-spacing', this._onChangeStyles.bind(this)
)

if (VERSION < 36) {
this.settings.connect(
'use-system-fonts', this._onChangeStyles.bind(this)
)

this.signals.connect(
GtkSettings, 'notify::gtk-font-name', this._onChangeStyles.bind(this)
)
Expand Down

0 comments on commit 1bb7ad9

Please # to comment.