Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--data/evince-ui.xml2
-rw-r--r--shell/ev-window.c6
3 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7a075b3..1ce63a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-11-27 Jaap A. Haitsma <jaap@haitsma.org>
+
+ * 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 <nab@mail.by>
* configure.ac: Added "be" (Belarusian) to ALL_LINGUAS.
diff --git a/data/evince-ui.xml b/data/evince-ui.xml
index e280cbb..122bf26 100644
--- a/data/evince-ui.xml
+++ b/data/evince-ui.xml
@@ -65,9 +65,11 @@
<accelerator name="EscapeAccel" action="Escape"/>
<accelerator name="SlashAccel" action="Slash"/>
<accelerator name="SpaceAccel" action="Space"/>
+ <accelerator name="ReturnAccel" action="Return"/>
<accelerator name="BackSpaceAccel" action="BackSpace"/>
<accelerator name="ShiftSpaceAccel" action="ShiftSpace"/>
<accelerator name="ShiftBackSpaceAccel" action="ShiftBackSpace"/>
+ <accelerator name="ShiftReturnAccel" action="ShiftReturn"/>
<accelerator name="FocusPageSelectorAccel" action="FocusPageSelector"/>
<accelerator name="PlusAccel" action="Plus"/>
<accelerator name="MinusAccel" action="Minus"/>
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 8a364e2..974936f 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, "", "<shift>BackSpace", NULL,
G_CALLBACK (ev_window_cmd_scroll_forward) },
+ { "Return", NULL, "", "Return", NULL,
+ G_CALLBACK (ev_window_cmd_scroll_forward) },
+ { "ShiftReturn", NULL, "", "<shift>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, "<control>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);