[gnome-software] trivial: Also remove the 'Description' details header
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Also remove the 'Description' details header
- Date: Tue, 12 Nov 2013 11:33:55 +0000 (UTC)
commit bbc5f1d20d65ac53a2338febcce4a122dc8f764c
Author: Richard Hughes <richard hughsie com>
Date: Tue Nov 12 11:27:46 2013 +0000
trivial: Also remove the 'Description' details header
src/gnome-software.ui | 30 +++++-------------------------
src/gs-shell-details.c | 3 ---
2 files changed, 5 insertions(+), 28 deletions(-)
---
diff --git a/src/gnome-software.ui b/src/gnome-software.ui
index b173633..3eb52ed 100644
--- a/src/gnome-software.ui
+++ b/src/gnome-software.ui
@@ -852,28 +852,8 @@
</packing>
</child>
<child>
- <object class="GtkLabel" id="application_details_description_header">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="halign">start</property>
- <property name="valign">start</property>
- <property name="hexpand">True</property>
- <property name="margin_top">28</property>
- <property name="margin_bottom">24</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Description</property>
- <style>
- <class name="application-details-title"/>
- </style>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
<object class="GtkBox" id="box_details_description">
+ <property name="margin_top">64</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
@@ -885,7 +865,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
- <property name="position">3</property>
+ <property name="position">2</property>
</packing>
</child>
<child>
@@ -944,7 +924,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
- <property name="position">4</property>
+ <property name="position">3</property>
</packing>
</child>
<child>
@@ -965,7 +945,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">5</property>
+ <property name="position">4</property>
</packing>
</child>
<child>
@@ -1196,7 +1176,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">6</property>
+ <property name="position">5</property>
</packing>
</child>
</object>
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 2e809b1..0a38d83 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -474,9 +474,6 @@ gs_shell_details_refresh_all (GsShellDetails *shell_details)
/* set the description */
tmp = gs_app_get_description (priv->app);
gs_shell_details_set_description (shell_details, tmp);
- widget = GTK_WIDGET (gtk_builder_get_object (priv->builder,
- "application_details_description_header"));
- gtk_widget_set_visible (widget, tmp != NULL);
/* set the icon */
tmp = gs_app_get_metadata_item (priv->app, "DataDir::desktop-icon");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]