themes/Default/images/Makefile.am

2003-03-22  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-channels-24.png
	* themes/Default/images/stock-images-24.png
	* themes/Default/images/stock-layers-24.png
	* themes/Default/images/stock-paths-22.png: added larger versions of
	some icons (provided by Jimmac).

	* libgimpwidgets/gimpstock.c: added the new icons. Register icons
	in dialog size first.
This commit is contained in:
Sven Neumann
2003-03-22 22:03:37 +00:00
committed by Sven Neumann
parent b455d0c84c
commit df27f346d6
9 changed files with 93 additions and 55 deletions

View File

@ -271,6 +271,11 @@ gimp_stock_button_pixbufs[] =
{ GIMP_STOCK_LETTER_SPACING, stock_letter_spacing_22 },
{ GIMP_STOCK_LINE_SPACING, stock_line_spacing_22 },
{ GIMP_STOCK_IMAGES, stock_images_24 },
{ GIMP_STOCK_LAYERS, stock_layers_24 },
{ GIMP_STOCK_CHANNELS, stock_channels_24 },
{ GIMP_STOCK_PATHS, stock_paths_22 },
{ GIMP_STOCK_LAYER, stock_layer_24 },
{ GIMP_STOCK_CHANNEL, stock_channel_24 },
@ -398,6 +403,14 @@ gimp_stock_init (void)
gimp_stock_factory = gtk_icon_factory_new ();
for (i = 0; i < G_N_ELEMENTS (gimp_stock_dialog_pixbufs); i++)
{
add_sized_with_same_fallback (gimp_stock_factory,
gimp_stock_dialog_pixbufs[i].inline_data,
GTK_ICON_SIZE_DIALOG,
gimp_stock_dialog_pixbufs[i].stock_id);
}
for (i = 0; i < G_N_ELEMENTS (gimp_stock_button_pixbufs); i++)
{
add_sized_with_same_fallback (gimp_stock_factory,
@ -414,14 +427,6 @@ gimp_stock_init (void)
gimp_stock_menu_pixbufs[i].stock_id);
}
for (i = 0; i < G_N_ELEMENTS (gimp_stock_dialog_pixbufs); i++)
{
add_sized_with_same_fallback (gimp_stock_factory,
gimp_stock_dialog_pixbufs[i].inline_data,
GTK_ICON_SIZE_DIALOG,
gimp_stock_dialog_pixbufs[i].stock_id);
}
gtk_icon_factory_add_default (gimp_stock_factory);
gtk_stock_add_static (gimp_stock_items, G_N_ELEMENTS (gimp_stock_items));