forked from AuroraMiddleware/gtk
b9322433d3
Replace translatable="1" by translatable="yes" so xgettext stays happy and extracts the strings.
109 lines
4.0 KiB
XML
109 lines
4.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk30">
|
|
<!-- interface-requires gtk+ 3.10 -->
|
|
<template class="GtkFileChooserButton" parent="GtkBox">
|
|
<child>
|
|
<object class="GtkButton" id="button">
|
|
<property name="visible">1</property>
|
|
<property name="can_focus">1</property>
|
|
<property name="receives_default">1</property>
|
|
<signal name="clicked" handler="button_clicked_cb" swapped="no"/>
|
|
<child>
|
|
<object class="GtkBox" id="box2">
|
|
<property name="visible">1</property>
|
|
<property name="spacing">4</property>
|
|
<child>
|
|
<object class="GtkImage" id="image">
|
|
<property name="visible">1</property>
|
|
<property name="icon_name">image-missing</property>
|
|
</object>
|
|
<packing>
|
|
<property name="fill">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label">
|
|
<property name="visible">1</property>
|
|
<property name="halign">start</property>
|
|
<property name="valign">baseline</property>
|
|
<property name="xalign">0</property>
|
|
<property name="label" translatable="yes">(None)</property>
|
|
<property name="ellipsize">end</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">1</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkSeparator" id="separator1">
|
|
<property name="visible">1</property>
|
|
<property name="orientation">vertical</property>
|
|
</object>
|
|
<packing>
|
|
<property name="fill">0</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkImage" id="open_file_icon">
|
|
<property name="visible">1</property>
|
|
<property name="icon_name">document-open-symbolic</property>
|
|
<property name="icon_size">1</property>
|
|
<property name="use_fallback">1</property>
|
|
<property name="valign">baseline</property>
|
|
</object>
|
|
<packing>
|
|
<property name="fill">0</property>
|
|
<property name="position">3</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBox" id="combo_box">
|
|
<property name="visible">1</property>
|
|
<signal name="changed" handler="combo_box_changed_cb" swapped="no"/>
|
|
<signal name="notify::popup-shown" handler="combo_box_notify_popup_shown_cb" swapped="no"/>
|
|
<child>
|
|
<object class="GtkCellRendererPixbuf" id="icon_cell"/>
|
|
<attributes>
|
|
<attribute name="surface">0</attribute>
|
|
</attributes>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="name_cell"/>
|
|
<attributes>
|
|
<attribute name="text">1</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">1</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</template>
|
|
<object class="GtkListStore" id="model">
|
|
<columns>
|
|
<!-- column-name icon -->
|
|
<column type="CairoSurface"/>
|
|
<!-- column-name display-name -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name type -->
|
|
<column type="gchar"/>
|
|
<!-- column-name data -->
|
|
<column type="gpointer"/>
|
|
<!-- column-name is-folder -->
|
|
<column type="gboolean"/>
|
|
<!-- column-name cancelable -->
|
|
<column type="gpointer"/>
|
|
</columns>
|
|
</object>
|
|
</interface>
|