From e90ec741051727680a653837fb7b401192c507f7 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Wed, 22 Dec 2004 13:28:08 +0000 Subject: fit-width stock icon from gpdf. 2004-12-22 Mark McLoughlin * data/ev-stock-zoom-fit-width.png: fit-width stock icon from gpdf. * shell/ev-stock-icons.[ch]: copied from gpdf. * shell/main.c: (main): init stock icons. * shell/ev-window.c: use the fit-width icon. * data/evince-ui.xml: add zooming toolbar items. --- (limited to 'shell/ev-window.c') diff --git a/shell/ev-window.c b/shell/ev-window.c index a1521fc..0352230 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -42,6 +42,7 @@ #include #include "ev-application.h" +#include "ev-stock-icons.h" enum { PROP_0, @@ -697,7 +698,7 @@ static GtkActionEntry entries[] = { { "ViewBestFit", GTK_STOCK_ZOOM_FIT, N_("_Best Fit"), NULL, N_("Zoom to fit the document to the current window"), G_CALLBACK (ev_window_cmd_view_best_fit) }, - { "ViewPageWidth", NULL, N_("Fit Page _Width"), NULL, + { "ViewPageWidth", EV_STOCK_ZOOM_FIT_WIDTH, N_("Fit Page _Width"), NULL, N_("Zoom to fit the width of the current window "), G_CALLBACK (ev_window_cmd_view_page_width) }, -- cgit v0.9.1