Changeset 34469 in webkit


Ignore:
Timestamp:
Jun 9, 2008 7:58:10 AM (16 years ago)
Author:
Simon Hausmann
Message:

2008-06-09 Benjamin C Meyer <ben@meyerhome.net>

Reviewed by Simon

Add Shift-Space shortcut to go up one screen, the opposite of Space
which goes down one screen.

Location:
trunk/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/Api/qwebpage.cpp

    r34195 r34469  
    738738
    739739    if (ev == QKeySequence::MoveToNextPage
    740         || ev->key() == Qt::Key_Space) {
     740        || (ev->key() == Qt::Key_Space && !(ev->modifiers() & Qt::ShiftModifier))) {
    741741        granularity = ScrollByPage;
    742742        direction = ScrollDown;
    743     } else if (ev == QKeySequence::MoveToPreviousPage) {
     743    } else if (ev == QKeySequence::MoveToPreviousPage
     744               || (ev->key() == Qt::Key_Space) && (ev->modifiers() & Qt::ShiftModifier)) {
    744745        granularity = ScrollByPage;
    745746        direction = ScrollUp;
  • trunk/WebKit/qt/ChangeLog

    r34359 r34469  
     12008-06-09  Benjamin C Meyer  <ben@meyerhome.net>
     2
     3        Reviewed by Simon
     4
     5        Add Shift-Space shortcut to go up one screen, the opposite of Space
     6        which goes down one screen.
     7
     8        * Api/qwebpage.cpp:
     9        (QWebPagePrivate::handleScrolling):
     10
    1112008-06-04  Tor Arne Vestbø  <tavestbo@trolltech.com>
    212
Note: See TracChangeset for help on using the changeset viewer.