[gnome-software/wip/iainl/ubuntu-xenial] Set state of virtual meta package
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/iainl/ubuntu-xenial] Set state of virtual meta package
- Date: Thu, 14 Apr 2016 20:39:18 +0000 (UTC)
commit 4fdf7afd92a50fa145f2564c9dd2148117bfa6dc
Author: William Hua <william hua canonical com>
Date: Thu Apr 14 16:35:43 2016 -0400
Set state of virtual meta package
src/plugins/gs-plugin-apt.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gs-plugin-apt.cc b/src/plugins/gs-plugin-apt.cc
index 416b4cb..4f5c41b 100644
--- a/src/plugins/gs-plugin-apt.cc
+++ b/src/plugins/gs-plugin-apt.cc
@@ -1019,6 +1019,7 @@ set_list_state (GList *apps,
for (i = apps; i != NULL; i = i->next) {
app_i = GS_APP (i->data);
+ gs_app_set_state (app_i, state);
if (g_strcmp0 (gs_app_get_id (app_i), "os-update.virtual") == 0) {
related = gs_app_get_related (app_i);
@@ -1027,8 +1028,7 @@ set_list_state (GList *apps,
app_j = GS_APP (g_ptr_array_index (related, j));
gs_app_set_state (app_j, state);
}
- } else
- gs_app_set_state (app_i, state);
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]