Skip to content

Commit

Permalink
Remove unneeded header
Browse files Browse the repository at this point in the history
  • Loading branch information
slaclau committed Mar 28, 2024
1 parent b22c714 commit 76f8260
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions customreboot/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ class RebootSubMenu extends PopupMenu.PopupSubMenuMenuItem {
this.menu.addMenuItem(this.section)

if (loader === undefined) {
// Set Menu Header
this.section.setHeader('system-reboot-symbolic', 'Error', 'The selected boot loader cannot be found...');

// Add reload option, to refresh extension menu without reloading GNOME or the extension
this.section.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this.section.addAction('Reload', () => {
Expand Down

0 comments on commit 76f8260

Please sign in to comment.