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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2602>
This commit is contained in:
parent
37c0906755
commit
1c1b3e5e6e
@ -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');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user