[gthumb/ext] [image viewer] added some keybindings
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gthumb/ext] [image viewer] added some keybindings
- Date: Sat, 5 Sep 2009 17:04:51 +0000 (UTC)
commit f954eeb9147c45d1db6538d11b54471be5886930
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Sep 5 19:03:06 2009 +0200
[image viewer] added some keybindings
space to view the next image, backspace to view the previous image
extensions/image_viewer/gth-image-viewer-page.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/extensions/image_viewer/gth-image-viewer-page.c b/extensions/image_viewer/gth-image-viewer-page.c
index c33b8c1..550037f 100644
--- a/extensions/image_viewer/gth-image-viewer-page.c
+++ b/extensions/image_viewer/gth-image-viewer-page.c
@@ -246,10 +246,12 @@ viewer_key_press_cb (GtkWidget *widget,
{
switch (gdk_keyval_to_lower (event->keyval)) {
case GDK_Page_Up:
+ case GDK_BackSpace:
gth_browser_show_prev_image (self->priv->browser, TRUE, FALSE);
return TRUE;
case GDK_Page_Down:
+ case GDK_space:
gth_browser_show_next_image (self->priv->browser, TRUE, FALSE);
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]