From: Nickolay V. Shmyrev Date: Sun, 22 May 2005 13:13:48 +0000 (+0000) Subject: Second part of commit, broken pipe somehow X-Git-Tag: EVINCE_0_3_3~319 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;ds=sidebyside;h=b63255687f5fdc869bb0892f49715804fea3598b;p=evince.git Second part of commit, broken pipe somehow --- diff --git a/data/evince-ui.xml b/data/evince-ui.xml index b3723fff..f2e6c32c 100644 --- a/data/evince-ui.xml +++ b/data/evince-ui.xml @@ -71,5 +71,7 @@ + + diff --git a/shell/ev-window.c b/shell/ev-window.c index 2a378347..761599e1 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -2419,6 +2419,12 @@ static const GtkActionEntry entries[] = { { "ShiftBackSpace", NULL, "", "BackSpace", N_("Scroll one page forward"), G_CALLBACK (ev_window_cmd_scroll_forward) }, + { "Plus", GTK_STOCK_ZOOM_IN, NULL, "plus", + N_("Enlarge the document"), + G_CALLBACK (ev_window_cmd_view_zoom_in) }, + { "Minus", GTK_STOCK_ZOOM_OUT, NULL, "minus", + N_("Shrink the document"), + G_CALLBACK (ev_window_cmd_view_zoom_out) }, { "FocusPageSelector", NULL, "", "l", N_("Focus the page selector"), G_CALLBACK (ev_window_cmd_focus_page_selector) } @@ -2660,6 +2666,9 @@ set_view_actions_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, "Slash", sensitive); + set_action_sensitive (window, "Plus", sensitive); + set_action_sensitive (window, "Minus", sensitive); } }