]> www.fi.muni.cz Git - evince.git/commitdiff
Added F3 as a find-next accelerator key, bug 579072
authorMichael J. Chudobiak <mjc@avtechpulse.com>
Thu, 30 Apr 2009 12:09:57 +0000 (08:09 -0400)
committerMichael J. Chudobiak <mjc@avtechpulse.com>
Thu, 30 Apr 2009 12:09:57 +0000 (08:09 -0400)
data/evince-ui.xml
help/C/evince.xml
shell/ev-window.c

index 659222d66c9555ff1c19f52864c89351552466ca..0631825b560e6c02dae8f140256b1ef3a4d425c8 100644 (file)
@@ -95,6 +95,7 @@
   <accelerator name="GoForwardFastAccel" action="GoForwardFast"/>
   <accelerator name="EscapeAccel" action="Escape"/>
   <accelerator name="SlashAccel" action="Slash"/>
+  <accelerator name="F3Accel" action="F3"/>
   <accelerator name="SpaceAccel" action="Space"/>
   <accelerator name="ReturnAccel" action="Return"/>
   <accelerator name="BackSpaceAccel" action="BackSpace"/>
index 77f3a5b5abde9d099eb2de90f711a3479859c88f..40bd6750d6726debaef61c2c5562fdc793ea1084 100644 (file)
             <entry><para>Find a word or phrase in the document</para></entry>
           </row>
           <row valign="middle">               
-            <entry><para><keycombo><keycap>Ctrl</keycap><keycap>G</keycap></keycombo></para></entry>
+            <entry>
+              <para><keycombo><keycap>Ctrl</keycap><keycap>G</keycap></keycombo></para>
+              <para><keycap>F3</keycap></para> 
+            </entry>
             <entry><para>Find next</para></entry>
           </row>
           <row valign="middle">               
index f61e35018f1b049f047e7dc202d074be829619ea..41d9357fc0271670c02bae2695098be6cdfde94a 100644 (file)
@@ -436,6 +436,8 @@ ev_window_update_actions (EvWindow *ev_window)
                                        has_pages && can_find_in_page);
        ev_window_set_action_sensitive (ev_window, "EditFindPrevious",
                                        has_pages && can_find_in_page);
+        ev_window_set_action_sensitive (ev_window, "F3",
+                                        has_pages && can_find_in_page);
 
        presentation_mode = ev_view_get_presentation (view);
        
@@ -4846,6 +4848,8 @@ static const GtkActionEntry entries[] = {
          G_CALLBACK (ev_window_cmd_escape) },
         { "Slash", GTK_STOCK_FIND, NULL, "slash", NULL,
           G_CALLBACK (ev_window_cmd_edit_find) },
+        { "F3", NULL, "", "F3", NULL,
+          G_CALLBACK (ev_window_cmd_edit_find_next) },
         { "PageDown", NULL, "", "Page_Down", NULL,
           G_CALLBACK (ev_window_cmd_scroll_forward) },
         { "PageUp", NULL, "", "Page_Up", NULL,