[gnome-software/wip/ubuntu-3-20: 17/27] Update kudo hiding code



commit 4179bfd763bb1b82ea4c61f29ef5ee0841d36fe6
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 6a3f24e..40425db 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -833,9 +833,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]