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:
Jasper St. Pierre 2012-12-10 03:40:30 -05:00
parent 76c589702f
commit 04bf75d137

View File

@ -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