window: Add image deletion

Add Flatpak access to GVfs for trash:/// access for being
able to recover files (undo trash operation).

Closes #26
This commit is contained in:
Sophie Herold 2023-01-31 21:56:44 +01:00 • committed by Christopher Davis
parent 04e8646daa
commit aa7a2dfd93
5 changed files with 169 additions and 7 deletions

View file

@ -94,6 +94,13 @@
<property name="tooltip-text">Copy to Clipboard</property>
</object>
</child>
<child type="start">
<object class="GtkButton">
<property name="icon-name">user-trash-symbolic</property>
<property name="action-name">win.trash</property>
<property name="tooltip-text">Move to Trash</property>
</object>
</child>
<child type="end">
<object class="GtkMenuButton" id="menu_button">
<property name="icon-name">open-menu-symbolic</property>