[gnome-software/wip/william/cherry-pick-4: 18/23] Update kudo hiding code



commit fae6ee5556b67822f6be8d8519ab294c5f726f62
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 1511d87..6ae9454 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -1030,9 +1030,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]