--- a/talkatu/data/attachmentdialog.ui Sun Jan 30 04:13:51 2022 -0600
+++ b/talkatu/data/attachmentdialog.ui Sun Jan 30 04:16:53 2022 -0600
@@ -25,12 +25,7 @@
<!-- interface-description GTK widgets for chat applications -->
<!-- interface-copyright Gary Kramlich <grim@reaperworld.com> -->
<template class="TalkatuAttachmentDialog" parent="GtkDialog">
- <property name="border_width">12</property>
<property name="modal">1</property>
- <property name="type_hint">dialog</property>
<child internal-child="content_area">
<property name="orientation">vertical</property>
@@ -39,7 +34,6 @@
<object class="GtkImage" id="preview">
<property name="pixel_size">256</property>
<property name="icon_name">text-x-generic-template</property>
- <property name="icon_size">6</property>
@@ -49,8 +43,8 @@
<object class="GtkEntry" id="comment">
+ <property name="activates_default">1</property> <property name="focusable">1</property>
- <property name="has_focus">1</property>
<property name="placeholder_text" translatable="yes">Comment (optional)</property>
@@ -60,38 +54,17 @@
<action-widget response="-6">cancel</action-widget>
<action-widget response="-3">upload</action-widget>
- <child internal-child="action_area">
- <object class="GtkButtonBox">
- <property name="valign">center</property>
- <property name="can_focus">False</property>
- <property name="layout_style">end</property>
- <object class="GtkButton" id="cancel">
- <property name="label" translatable="yes">Cancel</property>
- <property name="focusable">1</property>
- <property name="receives_default">1</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="position">0</property>
- <object class="GtkButton" id="upload">
- <property name="label" translatable="yes">Upload</property>
- <property name="focusable">1</property>
- <property name="can_default">True</property>
- <property name="has_default">1</property>
- <property name="receives_default">1</property>
- <accelerator key="Return" signal="clicked"/>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="position">1</property>
+ <object class="GtkButton" id="cancel"> + <property name="label" translatable="yes">Cancel</property> + <property name="focusable">1</property> + <object class="GtkButton" id="upload"> + <property name="label" translatable="yes">Upload</property> + <property name="focusable">1</property> + <property name="receives_default">1</property>