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
@ -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…
Reference in New Issue
Block a user