2013-03-30 08:12:35 +00:00
|
|
|
<?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">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="can-focus">1</property>
|
|
|
|
<property name="receives-default">1</property>
|
2013-03-30 08:12:35 +00:00
|
|
|
<signal name="clicked" handler="button_clicked_cb" swapped="no"/>
|
2015-11-02 17:27:36 +00:00
|
|
|
<style>
|
|
|
|
<class name="file"/>
|
|
|
|
</style>
|
2013-03-30 08:12:35 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="box2">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2013-03-30 08:12:35 +00:00
|
|
|
<property name="spacing">4</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="image">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="icon-name">image-missing</property>
|
2013-03-30 08:12:35 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="fill">0</property>
|
2013-03-30 08:12:35 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="label">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2013-03-30 08:12:35 +00:00
|
|
|
<property name="halign">start</property>
|
2014-09-04 13:29:56 +00:00
|
|
|
<property name="valign">baseline</property>
|
2015-06-06 09:45:11 +00:00
|
|
|
<property name="xalign">0</property>
|
2015-09-14 03:26:16 +00:00
|
|
|
<property name="label" translatable="yes">(None)</property>
|
2013-03-30 08:12:35 +00:00
|
|
|
<property name="ellipsize">end</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="expand">1</property>
|
2013-03-30 08:12:35 +00:00
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSeparator" id="separator1">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2013-03-30 08:12:35 +00:00
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="fill">0</property>
|
2013-03-30 08:12:35 +00:00
|
|
|
<property name="position">2</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="open_file_icon">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2016-05-06 17:45:46 +00:00
|
|
|
<property name="icon-name">document-open-symbolic</property>
|
|
|
|
<property name="icon-size">1</property>
|
|
|
|
<property name="use-fallback">1</property>
|
2014-09-04 13:29:56 +00:00
|
|
|
<property name="valign">baseline</property>
|
2013-03-30 08:12:35 +00:00
|
|
|
</object>
|
|
|
|
<packing>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="fill">0</property>
|
2013-03-30 08:12:35 +00:00
|
|
|
<property name="position">3</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="expand">1</property>
|
2013-03-30 08:12:35 +00:00
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkComboBox" id="combo_box">
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="visible">1</property>
|
2013-03-30 08:12:35 +00:00
|
|
|
<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>
|
2013-07-03 11:26:03 +00:00
|
|
|
<attribute name="surface">0</attribute>
|
2013-03-30 08:12:35 +00:00
|
|
|
</attributes>
|
|
|
|
</child>
|
|
|
|
<child>
|
2015-12-01 07:09:31 +00:00
|
|
|
<object class="GtkCellRendererText" id="name_cell">
|
|
|
|
<property name="xpad">6</property>
|
|
|
|
</object>
|
2013-03-30 08:12:35 +00:00
|
|
|
<attributes>
|
|
|
|
<attribute name="text">1</attribute>
|
|
|
|
</attributes>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
<packing>
|
2015-09-09 20:50:49 +00:00
|
|
|
<property name="expand">1</property>
|
2013-03-30 08:12:35 +00:00
|
|
|
<property name="position">1</property>
|
|
|
|
</packing>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
<object class="GtkListStore" id="model">
|
|
|
|
<columns>
|
|
|
|
<!-- column-name icon -->
|
2013-07-03 11:26:03 +00:00
|
|
|
<column type="CairoSurface"/>
|
2013-03-30 08:12:35 +00:00
|
|
|
<!-- 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>
|