summaryrefslogtreecommitdiff
path: root/src/nautilus-files-view.h
diff options
context:
space:
mode:
authorJan-Michael Brummer <jan.brummer@tabos.org>2017-12-17 13:07:04 +0100
committerAntónio Fernandes <antoniof@gnome.org>2018-01-30 09:13:08 +0000
commit5d89ec5814a6a00516dd493b8c32fcaf33a610aa (patch)
tree723a7a1cdb31e1bc089583f4a7c081fa772e564d /src/nautilus-files-view.h
parente20a05ba340fc35dddb9e03540fe48755c88b61c (diff)
downloadnautilus-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-files-view.h')
-rw-r--r--src/nautilus-files-view.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nautilus-files-view.h b/src/nautilus-files-view.h
index c4c1d19d7..e7c317f74 100644
--- a/src/nautilus-files-view.h
+++ b/src/nautilus-files-view.h
@@ -274,9 +274,9 @@ void nautilus_files_view_notify_selection_changed (Nautil
NautilusDirectory *nautilus_files_view_get_model (NautilusFilesView *view);
NautilusFile *nautilus_files_view_get_directory_as_file (NautilusFilesView *view);
void nautilus_files_view_pop_up_background_context_menu (NautilusFilesView *view,
- GdkEventButton *event);
+ GdkEvent *event);
void nautilus_files_view_pop_up_selection_context_menu (NautilusFilesView *view,
- GdkEventButton *event);
+ GdkEvent *event);
gboolean nautilus_files_view_should_show_file (NautilusFilesView *view,
NautilusFile *file);
gboolean nautilus_files_view_should_sort_directories_first (NautilusFilesView *view);