[evince] Add invert icon for inverted colors option



commit 033f94dd47cb9f3fdcc26b5464391cdef7790b18
Author: Juanjo Marín <juanj marin juntadeandalucia es>
Date:   Sun Nov 29 15:24:10 2009 +0100

    Add invert icon for inverted colors option
    
    Icon borrowed from GIMP. See bgo#321823.

 data/icons/24x24/actions/Makefile.am              |    1 +
 data/icons/24x24/actions/stock_filters-invert.png |  Bin 0 -> 402 bytes
 libview/ev-stock-icons.c                          |    3 ++-
 libview/ev-stock-icons.h                          |    1 +
 4 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/data/icons/24x24/actions/Makefile.am b/data/icons/24x24/actions/Makefile.am
index 1178aaa..f97a4b0 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 0000000..fd459a1
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 d450462..67db47c 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 4cad90e..550ff04 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]