diff options
author | Mark McLoughlin <mark@skynet.ie> | 2004-12-22 13:28:08 (GMT) |
---|---|---|
committer | Mark McLoughlin <markmc@src.gnome.org> | 2004-12-22 13:28:08 (GMT) |
commit | e90ec741051727680a653837fb7b401192c507f7 (patch) | |
tree | f4bb4a9381f9ef713a47a20492a4ca4c62ddfa7a /shell/ev-window.c | |
parent | c2822868b202e30f2bcf8d4141824594f6be0d99 (diff) |
fit-width stock icon from gpdf.
2004-12-22 Mark McLoughlin <mark@skynet.ie>
* 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.
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r-- | shell/ev-window.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <string.h> #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) }, |