fractal/data/resources/ui/attachment-dialog.ui

46 lines
1.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="AttachmentDialog" parent="GtkWindow">
<property name="modal">True</property>
<property name="title"></property>
<property name="default-width">400</property>
<property name="default-height">400</property>
<property name="destroy-with-parent">True</property>
<property name="titlebar">
<object class="GtkHeaderBar">
<property name="show-title-buttons">False</property>
<child>
<object class="GtkButton">
<property name="label" translatable="yes">_Cancel</property>
<property name="use-underline">True</property>
<property name="action-name">window.close</property>
</object>
</child>
<child type="end">
<object class="GtkButton" id="send_button">
<property name="label" translatable="yes">_Send</property>
<property name="use-underline">True</property>
<property name="action-name">attachment-dialog.send</property>
<style>
<class name="suggested-action"/>
</style>
</object>
</child>
</object>
</property>
<property name="child">
<object class="ComponentsMediaContentViewer" id="media">
</object>
</property>
<child>
<object class="GtkShortcutController">
<child>
<object class="GtkShortcut">
<property name="trigger">Escape</property>
<property name="action">action(window.close)</property>
</object>
</child>
</object>
</child>
</template>
</interface>