[gnome-shell/wip/desktop-file-index: 14/20] appDisplay: Ignore the NoDisplay flag for directories
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/desktop-file-index: 14/20] appDisplay: Ignore the NoDisplay flag for directories
- Date: Wed, 2 Oct 2013 14:00:15 +0000 (UTC)
commit 1344b1f21c13e81f13f95672b6cba696a3f1b562
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sat Apr 20 18:57:03 2013 -0400
appDisplay: Ignore the NoDisplay flag for directories
This makes us match the native app search.
https://bugzilla.gnome.org/show_bug.cgi?id=698486
js/ui/appDisplay.js | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 2cbd944..4ea384d 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -61,8 +61,7 @@ function _loadCategory(dir, view) {
view.addApp(app);
} else if (nextType == GMenu.TreeItemType.DIRECTORY) {
let itemDir = iter.get_directory();
- if (!itemDir.get_is_nodisplay())
- _loadCategory(itemDir, view);
+ _loadCategory(itemDir, view);
}
}
};
@@ -818,8 +817,6 @@ const AppDisplay = new Lang.Class({
while ((nextType = iter.next()) != GMenu.TreeItemType.INVALID) {
if (nextType == GMenu.TreeItemType.DIRECTORY) {
let dir = iter.get_directory();
- if (dir.get_is_nodisplay())
- continue;
if (folderCategories.indexOf(dir.get_menu_id()) != -1)
view.addFolder(dir);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]