From 7c6d1cac2fbb30b0dfc324cfffd515e086dce67a Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Thu, 30 Apr 2009 08:09:57 -0400 Subject: [PATCH] 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 deletion(-) diff --git a/data/evince-ui.xml b/data/evince-ui.xml index 659222d6..0631825b 100644 --- a/data/evince-ui.xml +++ b/data/evince-ui.xml @@ -95,6 +95,7 @@ + diff --git a/help/C/evince.xml b/help/C/evince.xml index 77f3a5b5..40bd6750 100644 --- a/help/C/evince.xml +++ b/help/C/evince.xml @@ -679,7 +679,10 @@ Find a word or phrase in the document - CtrlG + + CtrlG + F3 + Find next diff --git a/shell/ev-window.c b/shell/ev-window.c index f61e3501..41d9357f 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, -- 2.43.0