[gnome-software] sources dialog: Count apps of addon id kind as addons
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] sources dialog: Count apps of addon id kind as addons
- Date: Sun, 24 May 2015 10:47:39 +0000 (UTC)
commit 0d696d9852a34a97a00248ca0a44109fe36ab12d
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 df580dd..2762fa0 100644
--- a/src/gs-sources-dialog.c
+++ b/src/gs-sources-dialog.c
@@ -85,6 +85,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]