mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue