[gnome-software] Do not add a 'Other' subcategory to 'Addons'
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-software] Do not add a 'Other' subcategory to 'Addons'
- Date: Mon, 23 Sep 2013 12:03:10 +0000 (UTC)
commit 7b9cb89c0b4e971fbb085eb114a0eaa68f9c8714
Author: Richard Hughes <richard hughsie com>
Date:   Mon Sep 23 13:03:03 2013 +0100
    Do not add a 'Other' subcategory to 'Addons'
 src/gs-category.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-category.c b/src/gs-category.c
index 0e6eb38..306fe2d 100644
--- a/src/gs-category.c
+++ b/src/gs-category.c
@@ -159,7 +159,7 @@ gs_category_sort_subcategories (GsCategory *category)
                        break;
                }
        }
-       if (!subcat_all) {
+       if (!subcat_all && g_strcmp0 (category->priv->id, "Addons") != 0) {
                /* TRANSLATORS: this is where all applications that don't
                 * fit in other groups are put */
                all = gs_category_new (category, NULL, _("Other"));
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]