diff options
author | Jan-Michael Brummer <jan.brummer@tabos.org> | 2017-12-17 13:07:04 +0100 |
---|---|---|
committer | António Fernandes <antoniof@gnome.org> | 2018-01-30 09:13:08 +0000 |
commit | 5d89ec5814a6a00516dd493b8c32fcaf33a610aa (patch) | |
tree | 723a7a1cdb31e1bc089583f4a7c081fa772e564d /src/nautilus-ui-utilities.h | |
parent | e20a05ba340fc35dddb9e03540fe48755c88b61c (diff) | |
download | nautilus-5d89ec5814a6a00516dd493b8c32fcaf33a610aa.tar.gz |
files-view: Open context menu on longpress
An important portion of file management functionality
is exclusively available through context menus.
Currently, when using a touchscreen, there is no way
to open a context menu.
Fix this adding a longpress gesture to popup context
menus on canvas view and list view.
Closes: https://gitlab.gnome.org/GNOME/nautilus/issues/178
Diffstat (limited to 'src/nautilus-ui-utilities.h')
-rw-r--r-- | src/nautilus-ui-utilities.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nautilus-ui-utilities.h b/src/nautilus-ui-utilities.h index f6cac6ea8..ce949483f 100644 --- a/src/nautilus-ui-utilities.h +++ b/src/nautilus-ui-utilities.h @@ -34,9 +34,9 @@ void nautilus_gmenu_merge (GMenu *original, GMenu *gmenu_to_merge, const gchar *submodel_name, gboolean prepend); -void nautilus_pop_up_context_menu_at_pointer (GtkWidget *parent, - GMenu *menu, - const GdkEventButton *button_event); +void nautilus_pop_up_context_menu_at_pointer (GtkWidget *parent, + GMenu *menu, + const GdkEvent *event); void nautilus_ui_frame_image (GdkPixbuf **pixbuf); void nautilus_ui_frame_video (GdkPixbuf **pixbuf); |