forked from AuroraMiddleware/gtk
3eb2430a98
Make the font chooser dialog use a headerbar when desired. https://bugzilla.gnome.org/show_bug.cgi?id=720059
33 lines
1.3 KiB
XML
33 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk30">
|
|
<!-- interface-requires gtk+ 3.10 -->
|
|
<template class="GtkFontChooserDialog" parent="GtkDialog">
|
|
<property name="can_focus">False</property>
|
|
<property name="border_width">5</property>
|
|
<property name="title" translatable="yes">Select Font</property>
|
|
<property name="type_hint">dialog</property>
|
|
<child internal-child="vbox">
|
|
<object class="GtkBox" id="dialog-vbox1">
|
|
<property name="can_focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">2</property>
|
|
<child>
|
|
<object class="GtkFontChooserWidget" id="fontchooser">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">False</property>
|
|
<property name="border_width">5</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">6</property>
|
|
<signal name="font-activated" handler="font_activated_cb" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|