Changeset 185

Show
Ignore:
Timestamp:
05/13/06 17:31:10 (2 years ago)
Author:
jordi
Message:

Added an "Slash" accelerator key for the find action.

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/data/epdfview-ui.xml

    r159 r185  
    4545    <toolitem name="ZoomWidth" action="ZoomWidth"/> 
    4646  </toolbar> 
     47 
     48  <accelerator name="SlashAccelerator" action="Slash"/> 
    4749</ui> 
  • trunk/src/gtk/MainView.cxx

    r184 r185  
    124124    { "About", GTK_STOCK_ABOUT, N_("_About"), NULL,  
    125125      N_("Display application's credits"),  
    126       G_CALLBACK (main_window_about_box_cb) } 
     126      G_CALLBACK (main_window_about_box_cb) }, 
     127 
     128    // Accelerator keys. 
     129    { "Slash", GTK_STOCK_FIND, NULL, "slash", NULL, 
     130      G_CALLBACK (main_window_find_cb) } 
    127131}; 
    128132