From: Nickolay V. Shmyrev Date: Sun, 27 Nov 2005 18:21:06 +0000 (+0000) Subject: Enter as shortcut key for next page. Fix for the bug #321394. X-Git-Tag: EVINCE_0_5_0~67 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=70234be66de0f5ee59c945ff2f0398faea2e5ef6;p=evince.git Enter as shortcut key for next page. Fix for the bug #321394. * data/evince-ui.xml: * shell/ev-window.c: (ev_window_set_view_accels_sensitivity): Enter as shortcut key for next page. Fix for the bug #321394. --- diff --git a/ChangeLog b/ChangeLog index 7a075b3d..1ce63a04 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-11-27 Jaap A. Haitsma + + * data/evince-ui.xml: + * shell/ev-window.c: (ev_window_set_view_accels_sensitivity): + + Enter as shortcut key for next page. Fix for the bug + #321394. + 2005-11-18 Ales Nyakhaychyk * configure.ac: Added "be" (Belarusian) to ALL_LINGUAS. diff --git a/data/evince-ui.xml b/data/evince-ui.xml index e280cbbe..122bf262 100644 --- a/data/evince-ui.xml +++ b/data/evince-ui.xml @@ -65,9 +65,11 @@ + + diff --git a/shell/ev-window.c b/shell/ev-window.c index 8a364e25..974936f7 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -2925,6 +2925,10 @@ static const GtkActionEntry entries[] = { G_CALLBACK (ev_window_cmd_scroll_backward) }, { "ShiftBackSpace", NULL, "", "BackSpace", NULL, G_CALLBACK (ev_window_cmd_scroll_forward) }, + { "Return", NULL, "", "Return", NULL, + G_CALLBACK (ev_window_cmd_scroll_forward) }, + { "ShiftReturn", NULL, "", "Return", NULL, + G_CALLBACK (ev_window_cmd_scroll_backward) }, { "Plus", GTK_STOCK_ZOOM_IN, NULL, "plus", NULL, G_CALLBACK (ev_window_cmd_view_zoom_in) }, { "CtrlEqual", GTK_STOCK_ZOOM_IN, NULL, "equal", NULL, @@ -3140,6 +3144,8 @@ ev_window_set_view_accels_sensitivity (EvWindow *window, gboolean sensitive) set_action_sensitive (window, "ShiftSpace", sensitive); set_action_sensitive (window, "BackSpace", sensitive); set_action_sensitive (window, "ShiftBackSpace", sensitive); + set_action_sensitive (window, "Return", sensitive); + set_action_sensitive (window, "ShiftReturn", sensitive); set_action_sensitive (window, "Slash", sensitive); set_action_sensitive (window, "Plus", sensitive); set_action_sensitive (window, "Minus", sensitive);