diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2019-07-06 22:26:44 -0700 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2019-08-29 16:20:05 -0700 |
commit | 0f9823b05e5a1371b3b0d8a1838aef8f78f08d30 (patch) | |
tree | e4daf101a284a9b58b71a7a8944c5d61ef431df0 /src/nautilus-files-view.c | |
parent | 2d3dcbcfb78df09f8707a12b33468cd63da2b020 (diff) | |
download | nautilus-0f9823b05e5a1371b3b0d8a1838aef8f78f08d30.tar.gz |
Add support for the SelectionEvent previewer signal
And handle it by moving the selection in the current view.
Once in a following commit we have the previewer follow the view
selection, we'll achieve the desired effect of moving the preview
with the selection.
Diffstat (limited to 'src/nautilus-files-view.c')
-rw-r--r-- | src/nautilus-files-view.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c index 916de2581..f61b6bce9 100644 --- a/src/nautilus-files-view.c +++ b/src/nautilus-files-view.c @@ -1258,6 +1258,13 @@ nautilus_files_view_preview_files (NautilusFilesView *view, } void +nautilus_files_view_preview_selection_event (NautilusFilesView *view, + GtkDirectionType direction) +{ + NAUTILUS_FILES_VIEW_CLASS (G_OBJECT_GET_CLASS (view))->preview_selection_event (view, direction); +} + +void nautilus_files_view_activate_selection (NautilusFilesView *view) { g_autolist (NautilusFile) selection = NULL; |