summaryrefslogtreecommitdiff
path: root/src/SlideshowPage.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-04-28 16:46:41 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-04-28 16:46:41 +0200
commit6d3354ff2e7ce13feeae1b75d94a186d86f82d89 (patch)
tree2d908584bfb663268004e19a23e02ce6c65034c5 /src/SlideshowPage.vala
parent6dd5e6966c6ec10d38d4b620a053ae262ac60d86 (diff)
parent7385922cd37e4ffe65f4af34b2795307a76670c4 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/SlideshowPage.vala')
-rw-r--r--src/SlideshowPage.vala8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/SlideshowPage.vala b/src/SlideshowPage.vala
index 18fef7f..9810236 100644
--- a/src/SlideshowPage.vala
+++ b/src/SlideshowPage.vala
@@ -340,6 +340,12 @@ class SlideshowPage : SinglePhotoPage {
public override bool key_press_event(Gdk.EventKey event) {
bool handled = true;
switch (Gdk.keyval_name(event.keyval)) {
+ // Block activating the toolbar on key down
+ // FIXME: Why is SinglePhotoPage not a PhotoPage which already does this?
+ case "Down":
+ case "KP_Down":
+ ;
+ break;
case "space":
on_play_pause();
break;
@@ -362,6 +368,7 @@ class SlideshowPage : SinglePhotoPage {
bool slideshow_playing = playing;
playing = false;
hide_toolbar();
+ suspend_cursor_hiding();
if (settings_dialog.run() == Gtk.ResponseType.OK) {
// sync with the config setting so it will persist
@@ -375,6 +382,7 @@ class SlideshowPage : SinglePhotoPage {
}
settings_dialog.destroy();
+ restore_cursor_hiding();
playing = slideshow_playing;
timer.start();
}