[gnome-software/wip/rancell/ubuntu-3-20-rebase: 47/62] Update kudo hiding code



commit 1ade15c1aea4f52c489197c99c8a8e52ad939c87
Author: Robert Ancell <robert ancell canonical com>
Date:   Fri Mar 4 14:38:35 2016 +1300

    Update kudo hiding code

 src/gs-shell-details.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index fe80d37..fb1b72e 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -832,9 +832,10 @@ gs_shell_details_refresh_all (GsShellDetails *self)
 
        /* hide the kudo details for non-desktop software */
        switch (gs_app_get_kind (self->app)) {
-       case AS_APP_KIND_DESKTOP:
+       // Hidden on Ubuntu since don't have appropriate information
+       /*case AS_APP_KIND_DESKTOP:
                gtk_widget_set_visible (self->grid_details_kudo, TRUE);
-               break;
+               break;*/
        default:
                gtk_widget_set_visible (self->grid_details_kudo, FALSE);
                break;


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