fractal/fractal-gtk/res/ui/filechooser.ui
Alexander Mikhaylenko 037dcfe39b UI: Don't attach dialogs
This fixes weird behavior with hover states and headerbar style.
2018-10-08 02:48:20 +05:00

89 lines
3.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.2 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<object class="GtkImage" id="file_chooser_preview">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">12</property>
<property name="margin_right">12</property>
<property name="pixel_size">100</property>
<property name="icon_name">camera-photo-symbolic</property>
<property name="icon_size">6</property>
</object>
<object class="GtkFileFilter" id="imagefilter">
<mime-types>
<mime-type>image/png</mime-type>
<mime-type>image/jpeg</mime-type>
<mime-type>image/jpg</mime-type>
<mime-type>image/gif</mime-type>
</mime-types>
</object>
<object class="GtkFileChooserDialog" id="file_chooser_dialog">
<property name="can_focus">False</property>
<property name="role">dialog</property>
<property name="modal">True</property>
<property name="destroy_with_parent">True</property>
<property name="type_hint">dialog</property>
<property name="create_folders">False</property>
<property name="filter">imagefilter</property>
<property name="preview_widget">file_chooser_preview</property>
<child internal-child="vbox">
<object class="GtkBox">
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<child internal-child="action_area">
<object class="GtkButtonBox">
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
</object>
</child>
<child type="titlebar">
<object class="GtkHeaderBar">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="title" translatable="yes">Select room image file</property>
<child>
<object class="GtkButton" id="file_chooser_cancel">
<property name="label">gtk-cancel</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_stock">True</property>
</object>
</child>
<child>
<object class="GtkButton" id="file_chooser_set">
<property name="label">gtk-apply</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_stock">True</property>
<style>
<class name="suggested-action"/>
</style>
</object>
<packing>
<property name="pack_type">end</property>
</packing>
</child>
</object>
</child>
</object>
</interface>