Commit f954eeb9 authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

[image viewer] added some keybindings

space to view the next image, backspace to view the previous image
parent 287a76b2
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment