From bd9b5427d0f4e3c98976b0ae209b18922445b879 Mon Sep 17 00:00:00 2001 From: Michael Monreal Date: Wed, 06 Jun 2007 22:15:50 +0000 Subject: Zoom icon artwork. See bug #444795. 2007-06-07 Michael Monreal * data/icons/16x16/actions/Makefile.am: * data/icons/16x16/actions/zoom.svg: * data/icons/22x22/actions/Makefile.am: * data/icons/22x22/actions/zoom.svg: * data/icons/24x24/actions/Makefile.am: * shell/ev-stock-icons.c: * shell/ev-stock-icons.h: * shell/ev-window.c: Zoom icon artwork. See bug #444795. svn path=/trunk/; revision=2488 --- (limited to 'shell') diff --git a/shell/ev-stock-icons.c b/shell/ev-stock-icons.c index c318ded..801db9a 100644 --- a/shell/ev-stock-icons.c +++ b/shell/ev-stock-icons.c @@ -34,6 +34,7 @@ typedef struct { /* Evince stock icons */ static const EvStockIcon stock_icons [] = { + { EV_STOCK_ZOOM, "zoom" }, { EV_STOCK_ZOOM_PAGE, "zoom-fit-page" }, { EV_STOCK_ZOOM_WIDTH, "zoom-fit-width" }, { EV_STOCK_VIEW_DUAL, "view-page-facing" }, diff --git a/shell/ev-stock-icons.h b/shell/ev-stock-icons.h index d461a4a..b3455de 100644 --- a/shell/ev-stock-icons.h +++ b/shell/ev-stock-icons.h @@ -29,6 +29,7 @@ G_BEGIN_DECLS /* Evince stock icons */ +#define EV_STOCK_ZOOM "zoom" #define EV_STOCK_ZOOM_PAGE "zoom-fit-page" #define EV_STOCK_ZOOM_WIDTH "zoom-fit-width" #define EV_STOCK_VIEW_DUAL "view-page-facing" diff --git a/shell/ev-window.c b/shell/ev-window.c index d48e4c0..7f3a520 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -4476,7 +4476,7 @@ register_custom_actions (EvWindow *window, GtkActionGroup *group) action = g_object_new (EPHY_TYPE_ZOOM_ACTION, "name", ZOOM_CONTROL_ACTION, "label", _("Zoom"), - "stock_id", GTK_STOCK_ZOOM_IN, + "stock_id", EV_STOCK_ZOOM, "tooltip", _("Adjust the zoom level"), "zoom", 1.0, NULL); -- cgit v0.9.1