]> www.fi.muni.cz Git - evince.git/commitdiff
Add invert icon for inverted colors option
authorJuanjo Marín <juanj.marin@juntadeandalucia.es>
Sun, 29 Nov 2009 14:24:10 +0000 (15:24 +0100)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 29 Nov 2009 14:24:10 +0000 (15:24 +0100)
Icon borrowed from GIMP. See bgo#321823.

data/icons/24x24/actions/Makefile.am
data/icons/24x24/actions/stock_filters-invert.png [new file with mode: 0644]
libview/ev-stock-icons.c
libview/ev-stock-icons.h

index 1178aaafba49adf72f46b3f689d85393ad933348..f97a4b08d8cc2ee26d7a3c15104e5a3b9536ece4 100644 (file)
@@ -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 (file)
index 0000000..fd459a1
Binary files /dev/null and b/data/icons/24x24/actions/stock_filters-invert.png differ
index d4504623386b1c11bd6c68be6592650713ca6c5b..67db47cad62b298391aa0f82a97e9ccab8ea03bc 100644 (file)
@@ -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;
index 4cad90ee8d08e10b58191563886bffe9745a21a6..550ff04e20afb3f5ee65c47b71662b862a125e52 100644 (file)
@@ -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);