From: Nickolay V. Shmyrev Date: Sun, 5 Jun 2005 18:44:05 +0000 (+0000) Subject: second part of commit X-Git-Tag: EVINCE_0_3_3~278 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=123c289b5442279363e5961b8ffbe3ca37701e87;p=evince.git second part of commit --- diff --git a/shell/ev-stock-icons.c b/shell/ev-stock-icons.c index 2dc9a885..b0c9fd8f 100644 --- a/shell/ev-stock-icons.c +++ b/shell/ev-stock-icons.c @@ -38,7 +38,9 @@ typedef struct { static const EvStockIcon stock_icons [] = { { EV_STOCK_ZOOM_PAGE, "stock_zoom-page" }, { EV_STOCK_ZOOM_WIDTH, "stock_zoom-page-width" }, - { EV_STOCK_LEAVE_FULLSCREEN, "stock_leave-fullscreen" } + { EV_STOCK_LEAVE_FULLSCREEN, "stock_leave-fullscreen" }, + { EV_STOCK_VIEW_DUAL, "stock_preview-two-pages" }, + { EV_STOCK_VIEW_CONTINUOUS, "stock_new-master-document" } }; diff --git a/shell/ev-stock-icons.h b/shell/ev-stock-icons.h index 55616dd0..a0a0fe11 100644 --- a/shell/ev-stock-icons.h +++ b/shell/ev-stock-icons.h @@ -32,6 +32,8 @@ G_BEGIN_DECLS #define EV_STOCK_ZOOM_PAGE "stock_zoom-page" #define EV_STOCK_ZOOM_WIDTH "stock_zoom-page-width" #define EV_STOCK_LEAVE_FULLSCREEN "stock_leave-fullscreen" +#define EV_STOCK_VIEW_DUAL "stock_view-dual-page" +#define EV_STOCK_VIEW_CONTINUOUS "stock_view-continuous" void ev_stock_icons_init (void); diff --git a/shell/ev-window.c b/shell/ev-window.c index 062dc5d7..549539ed 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -2500,10 +2500,10 @@ static const GtkToggleActionEntry toggle_entries[] = { { "ViewSidebar", NULL, N_("Side _pane"), "F9", N_("Show or hide the side pane"), G_CALLBACK (ev_window_view_sidebar_cb), TRUE }, - { "ViewContinuous", NULL, N_("_Continuous"), NULL, + { "ViewContinuous", EV_STOCK_VIEW_CONTINUOUS, N_("_Continuous"), NULL, N_("Show the entire document"), G_CALLBACK (ev_window_cmd_continuous), TRUE }, - { "ViewDual", NULL, N_("_Dual"), NULL, + { "ViewDual", EV_STOCK_VIEW_DUAL, N_("_Dual"), NULL, N_("Show two pages at once"), G_CALLBACK (ev_window_cmd_dual), FALSE }, { "ViewFullscreen", NULL, N_("_Fullscreen"), "F11",