[gthumb] [slideshow] added PageDown and PageUp as navigation keys



commit 54ea3f4a7f3e55723f698cc90e55fea401e1da77
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Jul 11 21:39:26 2010 +0200

    [slideshow] added PageDown and PageUp as navigation keys
    
    [bug #623599]

 extensions/slideshow/gth-slideshow.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/extensions/slideshow/gth-slideshow.c b/extensions/slideshow/gth-slideshow.c
index a22d672..1087566 100644
--- a/extensions/slideshow/gth-slideshow.c
+++ b/extensions/slideshow/gth-slideshow.c
@@ -566,13 +566,15 @@ viewer_event_cb (GtkWidget    *widget,
 			_gth_slideshow_toggle_pause (self);
 			break;
 
-		case GDK_Up:
+		case GDK_Down:
 		case GDK_Right:
+		case GDK_Page_Down:
 			_gth_slideshow_load_next_image (self);
 			break;
 
-		case GDK_Down:
+		case GDK_Up:
 		case GDK_Left:
+		case GDK_Page_Up:
 			_gth_slideshow_load_prev_image (self);
 			break;
 		}
@@ -894,11 +896,13 @@ stage_input_cb (ClutterStage *stage,
 
 		case CLUTTER_Up:
 		case CLUTTER_Right:
+		case CLUTTER_Page_Up:
 			_gth_slideshow_load_next_image (self);
 			break;
 
 		case CLUTTER_Down:
 		case CLUTTER_Left:
+		case CLUTTER_Page_Down:
 			_gth_slideshow_load_prev_image (self);
 			break;
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]