[shotwell/shotwell-0.30] Slideshow: Block down key from focusing the toolbar
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell/shotwell-0.30] Slideshow: Block down key from focusing the toolbar
- Date: Wed, 10 Apr 2019 08:20:53 +0000 (UTC)
commit 93d152a58557320a4475a214f9dbe00c3e33a0e5
Author: Jens Georg <mail jensge org>
Date: Wed Apr 10 08:19:18 2019 +0000
Slideshow: Block down key from focusing the toolbar
Fixes #122
(cherry picked from commit 4d578003c74666e24c4637f386982ad65a0d3b1d)
src/SlideshowPage.vala | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/SlideshowPage.vala b/src/SlideshowPage.vala
index da1306cc..98102361 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]