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=ce15dc65d5a346339f5d77947105f00c1950974b;hb=c2517a87fec25f9da0de39578cb2d1c9f55117f4;hp=2dc9a8857f471971e4a56fdcf2de0b251e58a76e;hpb=f8e5af3518344dac7c885a7880bbd421ea56116d;p=evince.git diff --git a/shell/ev-stock-icons.c b/shell/ev-stock-icons.c index 2dc9a885..ce15dc65 100644 --- a/shell/ev-stock-icons.c +++ b/shell/ev-stock-icons.c @@ -22,7 +22,6 @@ */ #include - #include "ev-stock-icons.h" #include @@ -34,14 +33,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_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) {