[gtk+/gtk-3-22] about dialog: Simplify the template a bit
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] about dialog: Simplify the template a bit
- Date: Fri, 30 Dec 2016 15:21:07 +0000 (UTC)
commit 1fc3fe4a0a67e0c75f7f83e25d3bbd0d87edb0ba
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Dec 30 10:20:16 2016 -0500
about dialog: Simplify the template a bit
Remove some unnecessary complications, like an extraneous
box, and some child property settings that are not needed.
gtk/ui/gtkaboutdialog.ui | 35 ++++++++++-------------------------
1 files changed, 10 insertions(+), 25 deletions(-)
---
diff --git a/gtk/ui/gtkaboutdialog.ui b/gtk/ui/gtkaboutdialog.ui
index 9dca96d..901c13f 100644
--- a/gtk/ui/gtkaboutdialog.ui
+++ b/gtk/ui/gtkaboutdialog.ui
@@ -87,34 +87,22 @@
</object>
<packing>
<property name="fill">0</property>
- <property name="position">1</property>
</packing>
</child>
<child>
- <object class="GtkBox" id="hbox">
- <property name="visible">1</property>
- <property name="homogeneous">1</property>
- <child>
- <object class="GtkLabel" id="website_label">
- <property name="no-show-all">1</property>
- <property name="label">http://website.com</property>
- <property name="selectable">1</property>
- <signal name="activate-link" handler="emit_activate_link"
object="GtkAboutDialog" swapped="yes"/>
- </object>
- <packing>
- <property name="fill">0</property>
- </packing>
- </child>
+ <object class="GtkLabel" id="website_label">
+ <property name="no-show-all">1</property>
+ <property name="label">http://website.com</property>
+ <property name="selectable">1</property>
+ <signal name="activate-link" handler="emit_activate_link" object="GtkAboutDialog"
swapped="yes"/>
</object>
<packing>
<property name="fill">0</property>
- <property name="position">2</property>
</packing>
</child>
<child>
- <object class="GtkLabel" id="license_label">
- <property name="label">license</property>
- <property name="use-markup">1</property>
+ <object class="GtkLabel" id="copyright_label">
+ <property name="label">copyright</property>
<property name="justify">center</property>
<property name="wrap">1</property>
<property name="selectable">1</property>
@@ -123,13 +111,12 @@
</object>
<packing>
<property name="fill">0</property>
- <property name="pack-type">end</property>
- <property name="position">3</property>
</packing>
</child>
<child>
- <object class="GtkLabel" id="copyright_label">
- <property name="label">copyright</property>
+ <object class="GtkLabel" id="license_label">
+ <property name="label">license</property>
+ <property name="use-markup">1</property>
<property name="justify">center</property>
<property name="wrap">1</property>
<property name="selectable">1</property>
@@ -138,8 +125,6 @@
</object>
<packing>
<property name="fill">0</property>
- <property name="pack-type">end</property>
- <property name="position">4</property>
</packing>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]