mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 1 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue