Skip to content

Commit

Permalink
Remove call for quick settings in g-s 43
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesg99 committed Sep 13, 2022
1 parent fde081b commit 814dad2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -1324,7 +1324,8 @@ var Panel = GObject.registerClass({
let indicator = Main.panel.statusArea[Utils.getSystemMenuInfo().name]._volume;

if (indicator.quickSettingsItems)
func.call(null, indicator.quickSettingsItems[0], event);
// new quick settings menu in gnome-shell > 42
func(indicator.quickSettingsItems[0], event);
else
func.call(indicator, 0, event);
} else {
Expand Down

0 comments on commit 814dad2

Please sign in to comment.