[evince] Added F3 as a find-next accelerator key, bug 579072
- From: Michael J. Chudobiak <mjc src gnome org>
- To: svn-commits-list gnome org
- Subject: [evince] Added F3 as a find-next accelerator key, bug 579072
- Date: Thu, 30 Apr 2009 08:11:53 -0400 (EDT)
commit 7c6d1cac2fbb30b0dfc324cfffd515e086dce67a
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date: Thu Apr 30 08:09:57 2009 -0400
Added F3 as a find-next accelerator key, bug 579072
---
data/evince-ui.xml | 1 +
help/C/evince.xml | 5 ++++-
shell/ev-window.c | 4 ++++
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]