Show
Ignore:
Timestamp:
09/18/07 09:11:53 (15 months ago)
Author:
jordi
Message:

Applied patch by Alex Dedul which sets focus to the page view on load so the keyboards shortcuts works correctly without having to set manually (i.e., by using the mouse) the focus on it.

Files:
1 modified

Legend:

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

    r279 r284  
    249249    gtk_box_pack_start (GTK_BOX (m_MainBox), pageViewPaned, TRUE, TRUE, 0); 
    250250    gtk_widget_show (pageViewPaned); 
     251    // By default set focus to page view so user can navigate pdf document with 
     252    // keyboard right away without need to click to page view first 
     253    gtk_widget_grab_focus (m_PageView->getTopWidget ()); 
    251254    // Add the find bar. 
    252255    m_FindView = new FindView ();