Show
Ignore:
Timestamp:
01/25/08 08:41:42 (12 months ago)
Author:
jordi
Message:

Is now possible to zooming by pressin control and scrolling with the scroll version. Thanks to Michael Opitz <opitz.michael@…> and Lester Godwin <lgodwin@…>.

Files:
1 modified

Legend:

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

    r301 r302  
    528528    g_assert ( NULL != data && "The data parameter is NULL."); 
    529529 
     530    // don't scroll when the CRTL-Button is down, because then the page should 
     531    // actually be zoomed and not scrolled. Zooming is handelt by the MainView 
     532    // class. 
     533    if ( event->state & GDK_CONTROL_MASK ) 
     534    { 
     535        return FALSE; 
     536    } 
    530537    PagePter *pter = (PagePter *)data; 
    531538    GtkAdjustment *adjustment =