gtkfilechooserwidget: Add shortcut to create a new folder

Closes https://gitlab.gnome.org/GNOME/gtk/-/issues/5527
This commit is contained in:
Automeris naranja 2024-06-03 22:49:11 -03:00
parent 366efc3d61
commit e9d8ebdfc9

View File

@ -71,6 +71,17 @@
<property name="tooltip-text" translatable="yes">Create Folder</property>
<property name="popover">new_folder_popover</property>
<property name="icon-name">folder-new-symbolic</property>
<child>
<object class="GtkShortcutController">
<property name="scope">managed</property>
<child>
<object class="GtkShortcut">
<property name="trigger">&lt;Control&gt;&lt;Shift&gt;N</property>
<property name="action">activate</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>