[gnome-packagekit] Consider available packages as updatable
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] Consider available packages as updatable
- Date: Thu, 28 May 2015 09:33:01 +0000 (UTC)
commit cb4aaeb4610196947e61cf7692d4cb2508d9a47a
Author: Matthias Clasen <mclasen redhat com>
Date: Thu May 28 10:32:30 2015 +0100
Consider available packages as updatable
Some PackageKit backends return 'available' as the info enum when update
information is not available. Allow them to be updated in gpk-update-viewer.
Signed-off-by: Richard Hughes <richard hughsie com>
src/gpk-update-viewer.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index e751022..9b08f18 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -1103,6 +1103,7 @@ gpk_update_viewer_info_is_update_enum (PkInfoEnum info)
{
gboolean ret = FALSE;
switch (info) {
+ case PK_INFO_ENUM_AVAILABLE:
case PK_INFO_ENUM_LOW:
case PK_INFO_ENUM_NORMAL:
case PK_INFO_ENUM_IMPORTANT:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]