X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=shell%2Fev-stock-icons.c;h=e1049c973d5520ceb56bebbfc7fdae62bb528e50;hb=b2ad055bb54dd89f3e8748302cfbd5c6f746d6a4;hp=f60697d1061fe293d75f9d4ae50613bfec74685b;hpb=c65f029b1669d2aae4417169d6b0c25969521d47;p=evince.git diff --git a/shell/ev-stock-icons.c b/shell/ev-stock-icons.c index f60697d1..e1049c97 100644 --- a/shell/ev-stock-icons.c +++ b/shell/ev-stock-icons.c @@ -23,25 +23,34 @@ #include -#include "ev-stock-icons.h" +#include +#include -#include -#include -#include +#include "ev-stock-icons.h" typedef struct { char *stock_id; char *icon; } EvStockIcon; -/* Evince stock icons from gnome-icon-theme */ -static 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" } +/* 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" }, + { 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_VISIBLE, "eye"} }; - +/** + * ev_stock_icons_init: + * + * Creates a new icon factory, adding the base stock icons to it. + */ void ev_stock_icons_init (void) {