X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-stock-icons.c;h=801db9a85734d7d2f42c0ae99ac97d0422506147;hb=4f6105d3df2cbf07bccd7de156693aab7e71bc31;hp=cda5c53c052ce14504171d855897a50528de5f80;hpb=8228ff475e7dced57dbaa9550255534d0c275767;p=evince.git diff --git a/shell/ev-stock-icons.c b/shell/ev-stock-icons.c index cda5c53c..801db9a8 100644 --- a/shell/ev-stock-icons.c +++ b/shell/ev-stock-icons.c @@ -21,8 +21,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ -#include - #include "ev-stock-icons.h" #include @@ -34,18 +32,23 @@ typedef struct { char *icon; } EvStockIcon; -/* Evince stock icons from gnome-icon-theme */ +/* Evince stock icons */ 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_VIEW_DUAL, "stock_preview-two-pages" }, - { EV_STOCK_VIEW_CONTINUOUS, "stock_new-master-document" }, + { 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" }, + { EV_STOCK_VIEW_CONTINUOUS, "view-page-continuous" }, { EV_STOCK_ROTATE_LEFT, "object-rotate-left"}, { EV_STOCK_ROTATE_RIGHT, "object-rotate-right"}, + { EV_STOCK_RUN_PRESENTATION, "x-office-presentation"}, }; - +/** + * ev_stock_icons_init: + * + * Creates a new icon factory, adding the base stock icons to it. + */ void ev_stock_icons_init (void) {