mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
appDisplay: Fix recursive directory NoDisplay testing
We were accidentally testing NoDisplay on the wrong directory. https://bugzilla.gnome.org/show_bug.cgi?id=658176
This commit is contained in:
parent
df56ff4f09
commit
0c4692ae58
1 changed files with 3 additions and 2 deletions
|
|
@ -208,8 +208,9 @@ const ViewByCategories = new Lang.Class({
|
|||
appList.push(app);
|
||||
}
|
||||
} else if (nextType == GMenu.TreeItemType.DIRECTORY) {
|
||||
if (!dir.get_is_nodisplay())
|
||||
this._loadCategory(iter.get_directory(), appList);
|
||||
var itemDir = iter.get_directory();
|
||||
if (!itemDir.get_is_nodisplay())
|
||||
this._loadCategory(itemDir, appList);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue