apps-menu: fix for gnome-shell master
PopupMenu.isEmpty() only checks for regular menu items, which the application menu doesn't use, so we need a fake implementation.
This commit is contained in:
@@ -232,6 +232,10 @@ const ApplicationsMenu = new Lang.Class({
|
||||
this._button = button;
|
||||
},
|
||||
|
||||
isEmpty: function() {
|
||||
return false;
|
||||
},
|
||||
|
||||
open: function(animate) {
|
||||
this._button.hotCorner.setBarrierSize(0);
|
||||
if (this._button.hotCorner.actor) // fallback corner
|
||||
|
||||
Reference in New Issue
Block a user