[gnome-software/gnome-3-16] sources dialog: Count apps of addon id kind as addons



commit 7acc742058cb72bdb460f540fd50d6cca8114a0b
Author: Kalev Lember <kalevlember gmail com>
Date:   Sun May 24 10:42:11 2015 +0200

    sources dialog: Count apps of addon id kind as addons
    
    Make sure to count apps that have id kind of "addon" when counting the
    total number of installed addons.

 src/gs-sources-dialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-sources-dialog.c b/src/gs-sources-dialog.c
index eb314fa..d86bcf5 100644
--- a/src/gs-sources-dialog.c
+++ b/src/gs-sources-dialog.c
@@ -83,6 +83,7 @@ add_source (GtkListBox *listbox, GsApp *app)
                case AS_ID_KIND_FONT:
                case AS_ID_KIND_CODEC:
                case AS_ID_KIND_INPUT_METHOD:
+               case AS_ID_KIND_ADDON:
                        cnt_addon++;
                        break;
                default:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]