diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | data/evince-ui.xml | 7 | ||||
-rw-r--r-- | shell/ev-window.c | 7 |
3 files changed, 19 insertions, 2 deletions
@@ -1,3 +1,10 @@ +2005-10-02 Nickolay V. Shmyrev <nshmyrev@yandex.ru> + + * data/evince-ui.xml: + * shell/ev-window.c: (ev_window_set_view_accels_sensitivity): + + Add <ctrl>KP_Add and <ctrl>KP_Substract bindings. + 2005-09-27 Christian Persch <chpe@cvs.gnome.org> * shell/ev-window.c: (launch_link), (launch_external_uri), diff --git a/data/evince-ui.xml b/data/evince-ui.xml index b8e772d..e280cbb 100644 --- a/data/evince-ui.xml +++ b/data/evince-ui.xml @@ -60,6 +60,8 @@ <accelerator name="PageDownAccel" action="PageDown"/> <accelerator name="PageUpAccel" action="PageUp"/> + <accelerator name="GoBackwardFastAccel" action="GoBackwardFast"/> + <accelerator name="GoForwardFastAccel" action="GoForwardFast"/> <accelerator name="EscapeAccel" action="Escape"/> <accelerator name="SlashAccel" action="Slash"/> <accelerator name="SpaceAccel" action="Space"/> @@ -69,10 +71,11 @@ <accelerator name="FocusPageSelectorAccel" action="FocusPageSelector"/> <accelerator name="PlusAccel" action="Plus"/> <accelerator name="MinusAccel" action="Minus"/> + <accelerator name="Equal" action="Equal"/> <accelerator name="CtrlEqualAccel" action="CtrlEqual"/> - <accelerator name="GoBackwardFastAccel" action="GoBackwardFast"/> - <accelerator name="GoForwardFastAccel" action="GoForwardFast"/> <accelerator name="KpPlusAccel" action="KpPlus"/> <accelerator name="KpMinusAccel" action="KpMinus"/> + <accelerator name="CtrlKpPlusAccel" action="CtrlKpPlus"/> + <accelerator name="CtrlKpMinusAccel" action="CtrlKpMinus"/> </ui> diff --git a/shell/ev-window.c b/shell/ev-window.c index 979298f..d3ac46a 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -2924,6 +2924,8 @@ static const GtkActionEntry entries[] = { G_CALLBACK (ev_window_cmd_view_zoom_in) }, { "CtrlEqual", GTK_STOCK_ZOOM_IN, NULL, "<control>equal", NULL, G_CALLBACK (ev_window_cmd_view_zoom_in) }, + { "Equal", GTK_STOCK_ZOOM_IN, NULL, "equal", NULL, + G_CALLBACK (ev_window_cmd_view_zoom_in) }, { "Minus", GTK_STOCK_ZOOM_OUT, NULL, "minus", NULL, G_CALLBACK (ev_window_cmd_view_zoom_out) }, { "FocusPageSelector", NULL, "", "<control>l", NULL, @@ -2936,6 +2938,10 @@ static const GtkActionEntry entries[] = { G_CALLBACK (ev_window_cmd_view_zoom_in) }, { "KpMinus", GTK_STOCK_ZOOM_OUT, NULL, "KP_Subtract", NULL, G_CALLBACK (ev_window_cmd_view_zoom_out) }, + { "CtrlKpPlus", GTK_STOCK_ZOOM_IN, NULL, "<control>KP_Add", NULL, + G_CALLBACK (ev_window_cmd_view_zoom_in) }, + { "CtrlKpMinus", GTK_STOCK_ZOOM_OUT, NULL, "<control>KP_Subtract", NULL, + G_CALLBACK (ev_window_cmd_view_zoom_out) }, }; /* Toggle items */ @@ -3156,6 +3162,7 @@ ev_window_set_view_accels_sensitivity (EvWindow *window, gboolean sensitive) set_action_sensitive (window, "Minus", sensitive); set_action_sensitive (window, "KpPlus", sensitive); set_action_sensitive (window, "KpMinus", sensitive); + set_action_sensitive (window, "Equal", sensitive); } } |