[gnome-software/wip/temp/ubuntu-xenial-rebased: 143/329] Update kudo hiding code
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased: 143/329] Update kudo hiding code
- Date: Fri, 29 Apr 2016 13:57:21 +0000 (UTC)
commit 0efb27c663dd47e10178314c4785774640e753d1
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 +++--
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 34c5453..dfdbe0f 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -818,9 +818,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 971c9a0..3af4a51 100644
--- a/src/gs-shell-details.ui
+++ b/src/gs-shell-details.ui
@@ -617,7 +617,7 @@
<property name="spacing">30</property>
<child>
<object class="GtkGrid" id="grid_details_kudo">
- <property name="visible">False</property>
+ <property name="visible">True</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]