From: Juanjo MarĂ­n Date: Sun, 29 Nov 2009 14:24:10 +0000 (+0100) Subject: Add invert icon for inverted colors option X-Git-Tag: EVINCE_2_29_3~18 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=033f94dd47cb9f3fdcc26b5464391cdef7790b18;p=evince.git Add invert icon for inverted colors option Icon borrowed from GIMP. See bgo#321823. --- diff --git a/data/icons/24x24/actions/Makefile.am b/data/icons/24x24/actions/Makefile.am index 1178aaaf..f97a4b08 100644 --- a/data/icons/24x24/actions/Makefile.am +++ b/data/icons/24x24/actions/Makefile.am @@ -5,6 +5,7 @@ context = actions iconsdir = $(themedir)/$(size)/$(context) icons_DATA = \ + stock_filters-invert.png \ view-page-continuous.png \ view-page-facing.png \ zoom.png \ diff --git a/data/icons/24x24/actions/stock_filters-invert.png b/data/icons/24x24/actions/stock_filters-invert.png new file mode 100644 index 00000000..fd459a1c Binary files /dev/null and b/data/icons/24x24/actions/stock_filters-invert.png differ diff --git a/libview/ev-stock-icons.c b/libview/ev-stock-icons.c index d4504623..67db47ca 100644 --- a/libview/ev-stock-icons.c +++ b/libview/ev-stock-icons.c @@ -45,7 +45,8 @@ static const EvStockIcon stock_icons [] = { { EV_STOCK_VISIBLE, "eye"}, { EV_STOCK_RESIZE_SE, "resize-se"}, { EV_STOCK_RESIZE_SW, "resize-sw"}, - { EV_STOCK_CLOSE, "close"} + { EV_STOCK_CLOSE, "close"}, + { EV_STOCK_INVERTED_COLORS, "stock_filters-invert"} }; static gchar *ev_icons_path; diff --git a/libview/ev-stock-icons.h b/libview/ev-stock-icons.h index 4cad90ee..550ff04e 100644 --- a/libview/ev-stock-icons.h +++ b/libview/ev-stock-icons.h @@ -45,6 +45,7 @@ G_BEGIN_DECLS #define EV_STOCK_RESIZE_SE "resize-se" #define EV_STOCK_RESIZE_SW "resize-sw" #define EV_STOCK_CLOSE "close" +#define EV_STOCK_INVERTED_COLORS "inverted" void ev_stock_icons_init (void); void ev_stock_icons_shutdown (void);