[gnome-software] Only show non-empty folders in the shell
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Only show non-empty folders in the shell
- Date: Fri, 7 Mar 2014 20:43:15 +0000 (UTC)
commit 8f4aff4bc32286c255e0478004e5d2c738ea592f
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Mar 7 15:42:06 2014 -0500
Only show non-empty folders in the shell
We should only add a folder to the folder-children list if it
is non-empty.
https://bugzilla.gnome.org/show_bug.cgi?id=725273
src/gs-folders.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-folders.c b/src/gs-folders.c
index 6827462..87ed5f4 100644
--- a/src/gs-folders.c
+++ b/src/gs-folders.c
@@ -282,7 +282,7 @@ save (GsFolders *folders)
}
g_free (path);
- apps = g_hash_table_get_keys_as_array (folders->priv->folders, NULL);
+ apps = gs_folders_get_nonempty_folders (folders);
g_settings_set_strv (folders->priv->settings, "folder-children",
(const gchar * const *)apps);
g_free (apps);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]