[gnome-software/gnome-3-14] 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/gnome-3-14] sources dialog: Count apps of addon id kind as addons
- Date: Thu, 18 Jun 2015 13:58:54 +0000 (UTC)
commit f382c1b50448e3d71f5bee444ec5644b064af1ff
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 5560b6f..1968e0a 100644
--- a/src/gs-sources-dialog.c
+++ b/src/gs-sources-dialog.c
@@ -80,6 +80,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]