Changeset 306 for trunk/src/gtk

Show
Ignore:
Timestamp:
03/22/08 10:42:02 (9 months ago)
Author:
jordi
Message:

Added the Return and Back space keys bindings to go next / previous page respectively, based on the patch of Yves-Alexis Perez <corsac@…>.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/gtk/PageView.cxx

    r302 r306  
    659659            break; 
    660660 
     661       case GDK_Return: 
     662       case GDK_KP_Enter: 
     663            pter->scrollToNextPage (); 
     664            direction = GTK_SCROLL_START; 
     665 
     666       case GDK_BackSpace: 
     667            pter->scrollToNextPage (); 
     668            direction = GTK_SCROLL_START; 
     669 
    661670       default: 
    662671            return FALSE;