popupMenu: Remove support for nested combo boxes
I'm sure this was originally a testcase for nested child menus, and we never actually inteded any support for this. https://bugzilla.gnome.org/show_bug.cgi?id=693572
This commit is contained in:
parent
049695b914
commit
44e4cbf04a
@ -1682,9 +1682,7 @@ const PopupComboBoxMenuItem = new Lang.Class({
|
||||
_getTopMenu: function() {
|
||||
let actor = this.actor.get_parent();
|
||||
while (actor) {
|
||||
if (actor._delegate &&
|
||||
(actor._delegate instanceof PopupMenu ||
|
||||
actor._delegate instanceof PopupComboMenu))
|
||||
if (actor._delegate && actor._delegate instanceof PopupMenu)
|
||||
return actor._delegate;
|
||||
|
||||
actor = actor.get_parent();
|
||||
|
Loading…
Reference in New Issue
Block a user