GtkFontChooserWidget: Simplify ui template

This commit is contained in:
Matthias Clasen 2015-05-02 18:04:30 -04:00
parent f20dbe0823
commit 68cf6264f1

View File

@ -31,11 +31,9 @@
<signal name="value-changed" handler="size_change_cb" swapped="no"/> <signal name="value-changed" handler="size_change_cb" swapped="no"/>
</object> </object>
<template class="GtkFontChooserWidget" parent="GtkBox"> <template class="GtkFontChooserWidget" parent="GtkBox">
<property name="can_focus">False</property>
<child> <child>
<object class="GtkGrid" id="grid1"> <object class="GtkGrid" id="grid1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="row_spacing">6</property> <property name="row_spacing">6</property>
<property name="column_spacing">6</property> <property name="column_spacing">6</property>
<child> <child>
@ -56,7 +54,6 @@
<property name="left_attach">0</property> <property name="left_attach">0</property>
<property name="top_attach">0</property> <property name="top_attach">0</property>
<property name="width">2</property> <property name="width">2</property>
<property name="height">1</property>
</packing> </packing>
</child> </child>
<child> <child>
@ -104,12 +101,10 @@
</object> </object>
</child> </child>
<child type="tab"> <child type="tab">
<placeholder/>
</child> </child>
<child> <child>
<object class="GtkLabel" id="empty_list"> <object class="GtkLabel" id="empty_list">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property> <property name="halign">center</property>
<property name="valign">start</property> <property name="valign">start</property>
<property name="margin_start">12</property> <property name="margin_start">12</property>
@ -123,14 +118,12 @@
</packing> </packing>
</child> </child>
<child type="tab"> <child type="tab">
<placeholder/>
</child> </child>
</object> </object>
<packing> <packing>
<property name="left_attach">0</property> <property name="left_attach">0</property>
<property name="top_attach">1</property> <property name="top_attach">1</property>
<property name="width">2</property> <property name="width">2</property>
<property name="height">1</property>
</packing> </packing>
</child> </child>
<child> <child>
@ -145,7 +138,6 @@
<property name="left_attach">0</property> <property name="left_attach">0</property>
<property name="top_attach">2</property> <property name="top_attach">2</property>
<property name="width">2</property> <property name="width">2</property>
<property name="height">1</property>
</packing> </packing>
</child> </child>
<child> <child>
@ -161,8 +153,6 @@
<packing> <packing>
<property name="left_attach">0</property> <property name="left_attach">0</property>
<property name="top_attach">3</property> <property name="top_attach">3</property>
<property name="width">1</property>
<property name="height">1</property>
</packing> </packing>
</child> </child>
<child> <child>
@ -176,15 +166,11 @@
<packing> <packing>
<property name="left_attach">1</property> <property name="left_attach">1</property>
<property name="top_attach">3</property> <property name="top_attach">3</property>
<property name="width">1</property>
<property name="height">1</property>
</packing> </packing>
</child> </child>
</object> </object>
<packing> <packing>
<property name="expand">True</property> <property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing> </packing>
</child> </child>
</template> </template>