[gnome-software/wip/ubuntu-master: 54/60] Hide Kudo details since we don't have good data



commit ec63e94394db5d0e1fafd012c30d0794f633bcae
Author: Robert Ancell <robert ancell canonical com>
Date:   Tue Nov 8 09:58:05 2016 +1300

    Hide Kudo details since we don't have good data

 src/gs-details-page.c  |    5 +++--
 src/gs-details-page.ui |    2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-details-page.c b/src/gs-details-page.c
index 6c92220..0e2ce3c 100644
--- a/src/gs-details-page.c
+++ b/src/gs-details-page.c
@@ -1005,9 +1005,10 @@ gs_details_page_refresh_all (GsDetailsPage *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;
diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
index 68a9fb9..8574c15 100644
--- a/src/gs-details-page.ui
+++ b/src/gs-details-page.ui
@@ -623,7 +623,7 @@
                             <property name="spacing">30</property>
                             <child>
                               <object class="GtkGrid" id="grid_details_kudo">
-                                <property name="visible">True</property>
+                                <property name="visible">False</property>
                                 <property name="can_focus">False</property>
                                 <property name="row_spacing">9</property>
                                 <property name="column_spacing">12</property>


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