Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2009-04-30 12:09:57 (GMT)
committer Michael J. Chudobiak <mjc@avtechpulse.com>2009-04-30 12:09:57 (GMT)
commit7c6d1cac2fbb30b0dfc324cfffd515e086dce67a (patch)
treed9483a805cea53f1c7cd9a4614639ea92281f54a
parentddfce3d1ad240d1653f31b63e45f830741aae0eb (diff)
Added F3 as a find-next accelerator key, bug 579072
-rw-r--r--data/evince-ui.xml1
-rw-r--r--help/C/evince.xml5
-rw-r--r--shell/ev-window.c4
3 files changed, 9 insertions, 1 deletions
diff --git a/data/evince-ui.xml b/data/evince-ui.xml
index 659222d..0631825 100644
--- a/data/evince-ui.xml
+++ b/data/evince-ui.xml
@@ -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"/>
diff --git a/help/C/evince.xml b/help/C/evince.xml
index 77f3a5b..40bd675 100644
--- a/help/C/evince.xml
+++ b/help/C/evince.xml
@@ -679,7 +679,10 @@
<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">
diff --git a/shell/ev-window.c b/shell/ev-window.c
index f61e350..41d9357 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -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,