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);
|
appList.push(app);
|
||||||
}
|
}
|
||||||
} else if (nextType == GMenu.TreeItemType.DIRECTORY) {
|
} else if (nextType == GMenu.TreeItemType.DIRECTORY) {
|
||||||
if (!dir.get_is_nodisplay())
|
var itemDir = iter.get_directory();
|
||||||
this._loadCategory(iter.get_directory(), appList);
|
if (!itemDir.get_is_nodisplay())
|
||||||
|
this._loadCategory(itemDir, appList);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user