diff options
author | Benjamin Otte <otte@redhat.com> | 2018-03-09 06:08:31 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2018-04-26 17:59:41 +0200 |
commit | 31de97749ae2956ba4690317ae507680aec8ff56 (patch) | |
tree | e14aec550b5be91a701c70d5b2040184b4b4e143 /gtk/ui | |
parent | fa97236b623eddcaee2c68e3c5f8a15ff16f3748 (diff) | |
download | gtk+-31de97749ae2956ba4690317ae507680aec8ff56.tar.gz |
filechooser: Put event controllers into ui file
Diffstat (limited to 'gtk/ui')
-rw-r--r-- | gtk/ui/gtkfilechooserwidget.ui | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gtk/ui/gtkfilechooserwidget.ui b/gtk/ui/gtkfilechooserwidget.ui index a034d8b67e..a82acda0d9 100644 --- a/gtk/ui/gtkfilechooserwidget.ui +++ b/gtk/ui/gtkfilechooserwidget.ui @@ -143,6 +143,23 @@ <property name="AtkObject::accessible-name" translatable="yes">Files</property> </object> </child> + <child> + <object class="GtkGestureLongPress"> + <property name="touch-only">True</property> + <signal name="pressed" handler="long_press_cb" swapped="no"/> + </object> + </child> + <child> + <object class="GtkGestureMultiPress"> + <property name="button">3</property> + <signal name="pressed" handler="multi_press_cb" swapped="no"/> + </object> + </child> + <child> + <object class="GtkEventControllerKey"> + <signal name="key-pressed" handler="key_press_cb" swapped="no"/> + </object> + </child> <signal name="drag-data-received" handler="file_list_drag_data_received_cb" swapped="no"/> <signal name="drag-drop" handler="file_list_drag_drop_cb" swapped="no"/> <signal name="drag-begin" handler="file_list_drag_begin_cb" swapped="no"/> |