From 1c1b3e5e6e9d37af7a19d300ae3470bd83e0dea0 Mon Sep 17 00:00:00 2001 From: sunflowerskater Date: Fri, 13 Jan 2023 19:56:44 -0300 Subject: [PATCH] quickSettings: Add separator before the "Power Settings" entry There is no separator before the "Power Settings" entry in the "Power Profiles" menu, unlike all other quick settings menus. Add that separator for consistency. Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2559#note_1641102 Part-of: --- js/ui/status/powerProfiles.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/status/powerProfiles.js b/js/ui/status/powerProfiles.js index 05d66824f..8d2e92846 100644 --- a/js/ui/status/powerProfiles.js +++ b/js/ui/status/powerProfiles.js @@ -68,6 +68,7 @@ class PowerProfilesToggle extends QuickMenuToggle { this._profileSection = new PopupMenu.PopupMenuSection(); this.menu.addMenuItem(this._profileSection); this.menu.setHeader('power-profile-balanced-symbolic', _('Power Profiles')); + this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem()); this.menu.addSettingsAction(_('Power Settings'), 'gnome-power-panel.desktop');