[gimp] libgimpwidgets, themes: setup a dumb icon for the tool



commit c86daeabb17d43711b551058136123633302caea
Author: Michael Muré <batolettre gmail com>
Date:   Mon May 23 22:08:19 2011 +0200

    libgimpwidgets, themes: setup a dumb icon for the tool
    
    (Add the icon in advance so the gimpstock.h change doesn't trigger
    a full rebuild when switching branches)

 libgimpwidgets/gimpstock.c                         |    3 +++
 libgimpwidgets/gimpstock.h                         |    1 +
 themes/Default/images/Makefile.am                  |    2 ++
 themes/Default/images/tools/stock-tool-warp-16.png |  Bin 0 -> 709 bytes
 themes/Default/images/tools/stock-tool-warp-22.png |  Bin 0 -> 906 bytes
 5 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/libgimpwidgets/gimpstock.c b/libgimpwidgets/gimpstock.c
index c688fae..53b335e 100644
--- a/libgimpwidgets/gimpstock.c
+++ b/libgimpwidgets/gimpstock.c
@@ -344,6 +344,7 @@ static const GtkStockItem gimp_stock_items[] =
   { GIMP_STOCK_TOOL_TEXT,                NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_TOOL_THRESHOLD,           NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_TOOL_UNIFIED_TRANSFORM, N_("_Transform"), 0, 0, LIBGIMP_DOMAIN },
+  { GIMP_STOCK_TOOL_WARP,                NULL,        0, 0, LIBGIMP_DOMAIN },
   { GIMP_STOCK_TOOL_ZOOM,                NULL,        0, 0, LIBGIMP_DOMAIN }
 };
 
@@ -501,6 +502,7 @@ gimp_stock_button_pixbufs[] =
   { GIMP_STOCK_TOOL_TEXT,                stock_tool_text_22                },
   { GIMP_STOCK_TOOL_THRESHOLD,           stock_tool_threshold_22           },
   { GIMP_STOCK_TOOL_UNIFIED_TRANSFORM,   stock_tool_unified_transform_22   },
+  { GIMP_STOCK_TOOL_WARP,                stock_tool_warp_22                },
   { GIMP_STOCK_TOOL_ZOOM,                stock_tool_zoom_22                },
 
   { GIMP_STOCK_INFO,                     stock_info_24                     },
@@ -670,6 +672,7 @@ gimp_stock_menu_pixbufs[] =
   { GIMP_STOCK_TOOL_TEXT,                stock_tool_text_16                },
   { GIMP_STOCK_TOOL_THRESHOLD,           stock_tool_threshold_16           },
   { GIMP_STOCK_TOOL_UNIFIED_TRANSFORM,   stock_tool_unified_transform_16   },
+  { GIMP_STOCK_TOOL_WARP,                stock_tool_warp_16                },
   { GIMP_STOCK_TOOL_ZOOM,                stock_tool_zoom_16                },
 
   { GIMP_STOCK_INFO,                     stock_info_16                     },
diff --git a/libgimpwidgets/gimpstock.h b/libgimpwidgets/gimpstock.h
index c885d9f..2f0d6d1 100644
--- a/libgimpwidgets/gimpstock.h
+++ b/libgimpwidgets/gimpstock.h
@@ -144,6 +144,7 @@ G_BEGIN_DECLS
 #define GIMP_STOCK_TOOL_TEXT                "gimp-tool-text"
 #define GIMP_STOCK_TOOL_THRESHOLD           "gimp-tool-threshold"
 #define GIMP_STOCK_TOOL_UNIFIED_TRANSFORM   "gimp-tool-unified-transform"
+#define GIMP_STOCK_TOOL_WARP                "gimp-tool-warp"
 #define GIMP_STOCK_TOOL_ZOOM                "gimp-tool-zoom"
 
 
diff --git a/themes/Default/images/Makefile.am b/themes/Default/images/Makefile.am
index 91c1d74..e6a06b1 100644
--- a/themes/Default/images/Makefile.am
+++ b/themes/Default/images/Makefile.am
@@ -349,6 +349,8 @@ STOCK_TOOL_IMAGES = \
        tools/stock-tool-threshold-22.png               \
        tools/stock-tool-unified-transform-16.png       \
        tools/stock-tool-unified-transform-22.png       \
+       tools/stock-tool-warp-16.png                    \
+       tools/stock-tool-warp-22.png                    \
        tools/stock-tool-zoom-16.png                    \
        tools/stock-tool-zoom-22.png
 
diff --git a/themes/Default/images/tools/stock-tool-warp-16.png 
b/themes/Default/images/tools/stock-tool-warp-16.png
new file mode 100644
index 0000000..cb0bdd5
Binary files /dev/null and b/themes/Default/images/tools/stock-tool-warp-16.png differ
diff --git a/themes/Default/images/tools/stock-tool-warp-22.png 
b/themes/Default/images/tools/stock-tool-warp-22.png
new file mode 100644
index 0000000..4569679
Binary files /dev/null and b/themes/Default/images/tools/stock-tool-warp-22.png differ


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