panel: Remove a dead check
With the dummy menu item now in place, we will always have a menu. https://bugzilla.gnome.org/show_bug.cgi?id=689954
This commit is contained in:
parent
76c589702f
commit
04bf75d137
@ -599,7 +599,7 @@ const AppMenuButton = new Lang.Class({
|
|||||||
|
|
||||||
menu = new PopupMenu.RemoteMenu(this.actor, this._targetApp.menu, this._targetApp.action_group);
|
menu = new PopupMenu.RemoteMenu(this.actor, this._targetApp.menu, this._targetApp.action_group);
|
||||||
} else {
|
} else {
|
||||||
if (this.menu && this.menu.isDummyQuitMenu)
|
if (this.menu.isDummyQuitMenu)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// fallback to older menu
|
// fallback to older menu
|
||||||
|
Loading…
Reference in New Issue
Block a user