themes/Default/images/Makefile.am one more icon from Jimmac.

2002-03-20  Michael Natterer  <mitch@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-menu-selection-to-channel.png: one
	more icon from Jimmac.

	* libgimpwidgets/gimpstock.[ch]
	* themes/Default/imagerc: add it.

	* app/gui/menus.c: use it.
This commit is contained in:
Michael Natterer 2002-03-20 14:02:12 +00:00 committed by Michael Natterer
parent 2be247ff8b
commit 13b0321770
8 changed files with 69 additions and 47 deletions

View File

@ -1,3 +1,14 @@
2002-03-20 Michael Natterer <mitch@gimp.org>
* themes/Default/images/Makefile.am
* themes/Default/images/stock-menu-selection-to-channel.png: one
more icon from Jimmac.
* libgimpwidgets/gimpstock.[ch]
* themes/Default/imagerc: add it.
* app/gui/menus.c: use it.
2002-03-20 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpdockbook.c: fixed a bug i introduced when making

View File

@ -453,7 +453,8 @@ static GimpItemFactoryEntry image_entries[] =
SEPARATOR ("/Select/---"),
{ { N_("/Select/Save to Channel"), NULL,
select_save_cmd_callback, 0 },
select_save_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_SELECTION_TO_CHANNEL },
NULL,
"select/save_to_channel.html", NULL },

View File

@ -453,7 +453,8 @@ static GimpItemFactoryEntry image_entries[] =
SEPARATOR ("/Select/---"),
{ { N_("/Select/Save to Channel"), NULL,
select_save_cmd_callback, 0 },
select_save_cmd_callback, 0,
"<StockItem>", GIMP_STOCK_SELECTION_TO_CHANNEL },
NULL,
"select/save_to_channel.html", NULL },

View File

@ -104,6 +104,7 @@ static GtkStockItem gimp_stock_items[] =
{ GIMP_STOCK_SELECTION_SUBTRACT, NULL, 0, 0, "gimp-libgimp" },
{ GIMP_STOCK_SELECTION_INTERSECT, NULL, 0, 0, "gimp-libgimp" },
{ GIMP_STOCK_SELECTION_STROKE, NULL, 0, 0, "gimp-libgimp" },
{ GIMP_STOCK_SELECTION_TO_CHANNEL, NULL, 0, 0, "gimp-libgimp" },
{ GIMP_STOCK_SELECTION_TO_PATH, NULL, 0, 0, "gimp-libgimp" },
{ GIMP_STOCK_PATH_STROKE, NULL, 0, 0, "gimp-libgimp" },
@ -242,20 +243,21 @@ static struct
}
gimp_stock_menu_pixbufs[] =
{
{ GIMP_STOCK_CONVERT_RGB, stock_menu_convert_rgb },
{ GIMP_STOCK_CONVERT_GRAYSCALE, stock_menu_convert_grayscale },
{ GIMP_STOCK_CONVERT_INDEXED, stock_menu_convert_indexed },
{ GIMP_STOCK_MERGE_DOWN, stock_menu_merge_down },
{ GIMP_STOCK_RESHOW_FILTER, stock_menu_reshow_filter },
{ GIMP_STOCK_ROTATE_90, stock_menu_rotate_90 },
{ GIMP_STOCK_ROTATE_180, stock_menu_rotate_180 },
{ GIMP_STOCK_ROTATE_270, stock_menu_rotate_270 },
{ GIMP_STOCK_RESIZE, stock_menu_resize },
{ GIMP_STOCK_SCALE, stock_menu_scale },
{ GIMP_STOCK_CONVERT_RGB, stock_menu_convert_rgb },
{ GIMP_STOCK_CONVERT_GRAYSCALE, stock_menu_convert_grayscale },
{ GIMP_STOCK_CONVERT_INDEXED, stock_menu_convert_indexed },
{ GIMP_STOCK_MERGE_DOWN, stock_menu_merge_down },
{ GIMP_STOCK_RESHOW_FILTER, stock_menu_reshow_filter },
{ GIMP_STOCK_ROTATE_90, stock_menu_rotate_90 },
{ GIMP_STOCK_ROTATE_180, stock_menu_rotate_180 },
{ GIMP_STOCK_ROTATE_270, stock_menu_rotate_270 },
{ GIMP_STOCK_RESIZE, stock_menu_resize },
{ GIMP_STOCK_SCALE, stock_menu_scale },
{ GIMP_STOCK_SELECTION_TO_CHANNEL, stock_menu_selection_to_channel },
{ GIMP_STOCK_NAVIGATION, stock_menu_navigation },
{ GIMP_STOCK_QMASK_OFF, stock_menu_qmask_off },
{ GIMP_STOCK_QMASK_ON, stock_menu_qmask_on }
{ GIMP_STOCK_NAVIGATION, stock_menu_navigation },
{ GIMP_STOCK_QMASK_OFF, stock_menu_qmask_off },
{ GIMP_STOCK_QMASK_ON, stock_menu_qmask_on }
};

View File

@ -30,46 +30,47 @@ G_BEGIN_DECLS
/* only in button size: */
#define GIMP_STOCK_ANCHOR "gimp-anchor"
#define GIMP_STOCK_DUPLICATE "gimp-duplicate"
#define GIMP_STOCK_EDIT "gimp-edit"
#define GIMP_STOCK_LINKED "gimp-linked"
#define GIMP_STOCK_PASTE_AS_NEW "gimp-paste-as-new"
#define GIMP_STOCK_PASTE_INTO "gimp-paste-into"
#define GIMP_STOCK_RESET "gimp-reset"
#define GIMP_STOCK_VISIBLE "gimp-visible"
#define GIMP_STOCK_ANCHOR "gimp-anchor"
#define GIMP_STOCK_DUPLICATE "gimp-duplicate"
#define GIMP_STOCK_EDIT "gimp-edit"
#define GIMP_STOCK_LINKED "gimp-linked"
#define GIMP_STOCK_PASTE_AS_NEW "gimp-paste-as-new"
#define GIMP_STOCK_PASTE_INTO "gimp-paste-into"
#define GIMP_STOCK_RESET "gimp-reset"
#define GIMP_STOCK_VISIBLE "gimp-visible"
#define GIMP_STOCK_HCHAIN "gimp-hchain"
#define GIMP_STOCK_HCHAIN_BROKEN "gimp-hchain-broken"
#define GIMP_STOCK_VCHAIN "gimp-vchain"
#define GIMP_STOCK_VCHAIN_BROKEN "gimp-vchain-broken"
#define GIMP_STOCK_HCHAIN "gimp-hchain"
#define GIMP_STOCK_HCHAIN_BROKEN "gimp-hchain-broken"
#define GIMP_STOCK_VCHAIN "gimp-vchain"
#define GIMP_STOCK_VCHAIN_BROKEN "gimp-vchain-broken"
#define GIMP_STOCK_SELECTION_REPLACE "gimp-selection-replace"
#define GIMP_STOCK_SELECTION_ADD "gimp-selection-add"
#define GIMP_STOCK_SELECTION_SUBTRACT "gimp-selection-subtract"
#define GIMP_STOCK_SELECTION_INTERSECT "gimp-selection-intersect"
#define GIMP_STOCK_SELECTION_STROKE "gimp-selection-stroke"
#define GIMP_STOCK_SELECTION_TO_PATH "gimp-selection-to-path"
#define GIMP_STOCK_SELECTION_REPLACE "gimp-selection-replace"
#define GIMP_STOCK_SELECTION_ADD "gimp-selection-add"
#define GIMP_STOCK_SELECTION_SUBTRACT "gimp-selection-subtract"
#define GIMP_STOCK_SELECTION_INTERSECT "gimp-selection-intersect"
#define GIMP_STOCK_SELECTION_STROKE "gimp-selection-stroke"
#define GIMP_STOCK_SELECTION_TO_PATH "gimp-selection-to-path"
#define GIMP_STOCK_PATH_STROKE "gimp-path-stroke"
#define GIMP_STOCK_PATH_STROKE "gimp-path-stroke"
/* only in menu size: */
#define GIMP_STOCK_CONVERT_RGB "gimp-convert-rgb"
#define GIMP_STOCK_CONVERT_GRAYSCALE "gimp-convert-grayscale"
#define GIMP_STOCK_CONVERT_INDEXED "gimp-convert-indexed"
#define GIMP_STOCK_MERGE_DOWN "gimp-merge-down"
#define GIMP_STOCK_RESHOW_FILTER "gimp-reshow-filter"
#define GIMP_STOCK_ROTATE_90 "gimp-rotate-90"
#define GIMP_STOCK_ROTATE_180 "gimp-rotate-180"
#define GIMP_STOCK_ROTATE_270 "gimp-rotate-270"
#define GIMP_STOCK_RESIZE "gimp-resize"
#define GIMP_STOCK_SCALE "gimp-scale"
#define GIMP_STOCK_CONVERT_RGB "gimp-convert-rgb"
#define GIMP_STOCK_CONVERT_GRAYSCALE "gimp-convert-grayscale"
#define GIMP_STOCK_CONVERT_INDEXED "gimp-convert-indexed"
#define GIMP_STOCK_MERGE_DOWN "gimp-merge-down"
#define GIMP_STOCK_RESHOW_FILTER "gimp-reshow-filter"
#define GIMP_STOCK_ROTATE_90 "gimp-rotate-90"
#define GIMP_STOCK_ROTATE_180 "gimp-rotate-180"
#define GIMP_STOCK_ROTATE_270 "gimp-rotate-270"
#define GIMP_STOCK_RESIZE "gimp-resize"
#define GIMP_STOCK_SCALE "gimp-scale"
#define GIMP_STOCK_SELECTION_TO_CHANNEL "gimp-selection-to-channel"
#define GIMP_STOCK_NAVIGATION "gimp-navigation"
#define GIMP_STOCK_QMASK_OFF "gimp-qmask-off"
#define GIMP_STOCK_QMASK_ON "gimp-qmask-on"
#define GIMP_STOCK_NAVIGATION "gimp-navigation"
#define GIMP_STOCK_QMASK_OFF "gimp-qmask-off"
#define GIMP_STOCK_QMASK_ON "gimp-qmask-on"
/* only in button size: */

View File

@ -158,6 +158,11 @@ style "gimp-icons"
{ "images/stock-menu-scale.png", *, *, "gtk-menu" },
{ "images/stock-menu-scale.png", *, *, * }
}
stock["gimp-selection-to-channel"] =
{
{ "images/stock-menu-selection-to-channel.png", *, *, "gtk-menu" },
{ "images/stock-menu-selection-to-channel.png", *, *, * }
}
# Image window icons
#

View File

@ -76,6 +76,7 @@ STOCK_MENU_IMAGES = @STRIP_BEGIN@ \
stock-menu-rotate-90.png \
stock-menu-resize.png \
stock-menu-scale.png \
stock-menu-selection-to-channel.png \
\
stock-menu-navigation.png \
stock-menu-qmask-off.png \

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 B