[gnome-software/wip/hughsie/xdg-app: 36/39] Show the source of applications waiting to be updated



commit 9c2dd46d0888e2877791135ac8c7f0a0fad7da2e
Author: Richard Hughes <richard hughsie com>
Date:   Mon Jan 18 13:13:17 2016 +0000

    Show the source of applications waiting to be updated

 src/gs-shell-details.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index bf50137..ea7c59e 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -708,9 +708,11 @@ gs_shell_details_refresh_all (GsShellDetails *self)
        }
        gtk_widget_set_visible (self->label_details_origin_value,
                                gs_app_get_state (self->app) == AS_APP_STATE_INSTALLED ||
+                               gs_app_get_state (self->app) == AS_APP_STATE_UPDATABLE ||
                                gs_app_get_state (self->app) == AS_APP_STATE_AVAILABLE_LOCAL);
        gtk_widget_set_visible (self->label_details_origin_title,
                                gs_app_get_state (self->app) == AS_APP_STATE_INSTALLED ||
+                               gs_app_get_state (self->app) == AS_APP_STATE_UPDATABLE ||
                                gs_app_get_state (self->app) == AS_APP_STATE_AVAILABLE_LOCAL);
 
        /* set the rating */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]