[gnome-software/wip/ubuntu-3-22: 5/15] Hide Kudo details since we don't have good data
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/ubuntu-3-22: 5/15] Hide Kudo details since we don't have good data
- Date: Wed, 26 Apr 2017 04:04:34 +0000 (UTC)
commit fc1a3edf74ab80accd2292400e0365c823ecb65e
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-shell-details.c | 5 +++--
src/gs-shell-details.ui | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 2a14ae5..14dd2a6 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -934,9 +934,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;
diff --git a/src/gs-shell-details.ui b/src/gs-shell-details.ui
index b6f03d2..3787d08 100644
--- a/src/gs-shell-details.ui
+++ b/src/gs-shell-details.ui
@@ -606,7 +606,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]