[gnome-shell] appDisplay: Hide empty app folders
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] appDisplay: Hide empty app folders
- Date: Fri, 19 Sep 2014 13:13:38 +0000 (UTC)
commit 3ae45bddadd847961766b6a7cc2a843ca828e331
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Sep 18 15:33:13 2014 +0100
appDisplay: Hide empty app folders
Trying to open an empty folder currently leaves the parent view in a
rather confused state. While we should look into fixing this in the
future, empty folders are not useful at all to begin with, so hide them.
https://bugzilla.gnome.org/show_bug.cgi?id=736910
js/ui/appDisplay.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 8f5c146..1e94015 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -1267,6 +1267,7 @@ const FolderIcon = new Lang.Class({
addAppId(appInfo.get_id());
});
+ this.actor.visible = this.view.getAllItems().length > 0;
this.view.loadGrid();
this.emit('apps-changed');
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]