[gnome-packagekit/gnome-3-16] Consider available packages as updatable



commit 18ef4f90af2db4f8018368ca586f6324274320b6
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]