Remove call for quick settings in g-s 43

This commit is contained in:
Charles Gagnon
2022-09-13 10:38:00 -04:00
parent fde081b2ab
commit 814dad2b52

View File

@@ -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 {