GtkFontChooserDialog: Simplify ui template

This commit is contained in:
Matthias Clasen 2015-05-02 18:03:50 -04:00
parent ab22285f15
commit f20dbe0823

View File

@ -2,19 +2,16 @@
<interface domain="gtk30"> <interface domain="gtk30">
<!-- interface-requires gtk+ 3.10 --> <!-- interface-requires gtk+ 3.10 -->
<template class="GtkFontChooserDialog" parent="GtkDialog"> <template class="GtkFontChooserDialog" parent="GtkDialog">
<property name="can_focus">False</property>
<property name="border_width">5</property> <property name="border_width">5</property>
<property name="title" translatable="yes">Select Font</property> <property name="title" translatable="yes">Select Font</property>
<property name="type_hint">dialog</property> <property name="type_hint">dialog</property>
<child internal-child="vbox"> <child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1"> <object class="GtkBox" id="dialog-vbox1">
<property name="can_focus">False</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="spacing">2</property> <property name="spacing">2</property>
<child> <child>
<object class="GtkFontChooserWidget" id="fontchooser"> <object class="GtkFontChooserWidget" id="fontchooser">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property>
<property name="border_width">5</property> <property name="border_width">5</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="spacing">6</property> <property name="spacing">6</property>
@ -22,7 +19,6 @@
</object> </object>
<packing> <packing>
<property name="expand">True</property> <property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property> <property name="position">1</property>
</packing> </packing>
</child> </child>