Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-06-05 18:44:05 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-06-05 18:44:05 (GMT)
commit123c289b5442279363e5961b8ffbe3ca37701e87 (patch)
tree01dfa4b3ae9e3869461324379d7a025a8b4146cc /shell
parentc53c25254090772017a9a1eae05210f4d7d3da2c (diff)
second part of commit
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-stock-icons.c4
-rw-r--r--shell/ev-stock-icons.h2
-rw-r--r--shell/ev-window.c4
3 files changed, 7 insertions, 3 deletions
diff --git a/shell/ev-stock-icons.c b/shell/ev-stock-icons.c
index 2dc9a88..b0c9fd8 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 55616dd..a0a0fe1 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 062dc5d..549539e 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",