[evince] ev-window: Remove scroll accelerators



commit 6a7c3db5056e73b9215eba525b11303e059f0939
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Fri Jul 12 12:14:50 2013 +0200

    ev-window: Remove scroll accelerators
    
    They are handled by the EvView now, we just leave the page up/down accels
    so that they still work even when the view is not focused.

 shell/ev-window.c   |   12 ------------
 shell/evince-ui.xml |    6 ------
 2 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index c97dd7a..f644282 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -5930,18 +5930,6 @@ static const GtkActionEntry entries[] = {
           G_CALLBACK (ev_window_cmd_scroll_forward) },
         { "PageUp", NULL, "", "Page_Up", NULL,
           G_CALLBACK (ev_window_cmd_scroll_backward) },
-        { "Space", NULL, "", "space", NULL,
-          G_CALLBACK (ev_window_cmd_scroll_forward) },
-        { "ShiftSpace", NULL, "", "<shift>space", NULL,
-          G_CALLBACK (ev_window_cmd_scroll_backward) },
-        { "BackSpace", NULL, "", "BackSpace", NULL,
-          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) },
        { "p", GTK_STOCK_GO_UP, "", "p", NULL,
          G_CALLBACK (ev_window_cmd_go_previous_page) },
        { "n", GTK_STOCK_GO_DOWN, "", "n", NULL,
diff --git a/shell/evince-ui.xml b/shell/evince-ui.xml
index 73c34f2..39e61db 100644
--- a/shell/evince-ui.xml
+++ b/shell/evince-ui.xml
@@ -91,14 +91,8 @@
   <accelerator name="F3Accel" action="F3"/>
   <accelerator name="CtrlGAccel" action="CtrlG"/>
   <accelerator name="ShiftCtrlGAccel" action="ShiftCtrlG"/>
-  <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="pAccel" action="p"/>
   <accelerator name="nAccel" action="n"/>
-  <accelerator name="ShiftReturnAccel" action="ShiftReturn"/>
   <accelerator name="FocusPageSelectorAccel" action="FocusPageSelector"/>
   <accelerator name="PlusAccel" action="Plus"/>
   <accelerator name="MinusAccel" action="Minus"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]