themes/Default/images/Makefile.am

2004-11-14  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-center-16.png
	* themes/Default/images/stock-center-24.png
	* themes/Default/images/stock-print-resolution-16.png
	* themes/Default/images/stock-print-resolution-24.png: new icons
	drawn by Jimmac.

	* libgimpwidgets/gimpstock.[ch]: registered the new icons.

	* app/actions/image-actions.c
	* app/dialogs/print-size-dialog.c
	* app/dialogs/resize-dialog.c
	* plug-ins/ifscompose/ifscompose.c: use them.
This commit is contained in:
Sven Neumann
2004-11-14 01:51:21 +00:00
committed by Sven Neumann
parent 232e5ea221
commit ec9ee41fe7
16 changed files with 59 additions and 6 deletions

View File

@ -1,3 +1,19 @@
2004-11-14 Sven Neumann <sven@gimp.org>
* themes/Default/images/Makefile.am
* themes/Default/images/stock-center-16.png
* themes/Default/images/stock-center-24.png
* themes/Default/images/stock-print-resolution-16.png
* themes/Default/images/stock-print-resolution-24.png: new icons
drawn by Jimmac.
* libgimpwidgets/gimpstock.[ch]: registered the new icons.
* app/actions/image-actions.c
* app/dialogs/print-size-dialog.c
* app/dialogs/resize-dialog.c
* plug-ins/ifscompose/ifscompose.c: use them.
2004-11-14 Sven Neumann <sven@gimp.org> 2004-11-14 Sven Neumann <sven@gimp.org>
* configure.in: bumped version to 2.2-pre2. * configure.in: bumped version to 2.2-pre2.

2
NEWS
View File

@ -35,7 +35,7 @@ Contributors:
Michael Natterer, Sven Neumann, David Odin, Manish Singh, Kevin Cozens, Michael Natterer, Sven Neumann, David Odin, Manish Singh, Kevin Cozens,
Joao S. O. Bueno, Geert Jordaens, David Gowers, Øyvind Kolås, Cai Qian, Joao S. O. Bueno, Geert Jordaens, David Gowers, Øyvind Kolås, Cai Qian,
Simon Budig Simon Budig, Jakub Steiner

View File

@ -81,7 +81,7 @@ static GimpActionEntry image_actions[] =
G_CALLBACK (image_resize_to_layers_cmd_callback), G_CALLBACK (image_resize_to_layers_cmd_callback),
GIMP_HELP_IMAGE_RESIZE_TO_LAYERS }, GIMP_HELP_IMAGE_RESIZE_TO_LAYERS },
{ "image-print-size", GTK_STOCK_PRINT, { "image-print-size", GIMP_STOCK_PRINT_RESOLUTION,
N_("_Print Size..."), NULL, NULL, N_("_Print Size..."), NULL, NULL,
G_CALLBACK (image_print_size_cmd_callback), G_CALLBACK (image_print_size_cmd_callback),
GIMP_HELP_IMAGE_PRINT_SIZE }, GIMP_HELP_IMAGE_PRINT_SIZE },

View File

@ -80,7 +80,8 @@ print_size_dialog_new (GimpImage *image,
height = gimp_image_get_height (image); height = gimp_image_get_height (image);
dialog = gimp_viewable_dialog_new (GIMP_VIEWABLE (image), dialog = gimp_viewable_dialog_new (GIMP_VIEWABLE (image),
title, role, GTK_STOCK_PRINT, title, title, role,
GIMP_STOCK_PRINT_RESOLUTION, title,
parent, parent,
help_func, help_id, help_func, help_id,

View File

@ -231,8 +231,7 @@ resize_dialog_new (GimpViewable *viewable,
G_CALLBACK (offset_update), G_CALLBACK (offset_update),
private); private);
button = gtk_button_new_with_mnemonic (_("C_enter")); button = gtk_button_new_from_stock (GIMP_STOCK_CENTER);
gtk_misc_set_padding (GTK_MISC (GTK_BIN (button)->child), 2, 0);
gtk_table_attach_defaults (GTK_TABLE (entry), button, 4, 5, 1, 2); gtk_table_attach_defaults (GTK_TABLE (entry), button, 4, 5, 1, 2);
gtk_widget_show (button); gtk_widget_show (button);

View File

@ -1,3 +1,8 @@
2004-11-14 Sven Neumann <sven@gimp.org>
* libgimpwidgets/libgimpwidgets-sections.txt
* libgimpwidgets/tmpl/gimpstock.sgml: added new icons.
2004-11-10 Michael Natterer <mitch@gimp.org> 2004-11-10 Michael Natterer <mitch@gimp.org>
* libgimpbase/libgimpbase-sections.txt * libgimpbase/libgimpbase-sections.txt

View File

@ -433,6 +433,7 @@ GIMP_QUERY_BOX_VBOX
gimp_stock_init gimp_stock_init
<SUBSECTION Stock IDs> <SUBSECTION Stock IDs>
GIMP_STOCK_ANCHOR GIMP_STOCK_ANCHOR
GIMP_STOCK_CENTER
GIMP_STOCK_DUPLICATE GIMP_STOCK_DUPLICATE
GIMP_STOCK_EDIT GIMP_STOCK_EDIT
GIMP_STOCK_RESET GIMP_STOCK_RESET
@ -534,6 +535,7 @@ GIMP_STOCK_LETTER_SPACING
GIMP_STOCK_LINE_SPACING GIMP_STOCK_LINE_SPACING
GIMP_STOCK_TEXT_DIR_LTR GIMP_STOCK_TEXT_DIR_LTR
GIMP_STOCK_TEXT_DIR_RTL GIMP_STOCK_TEXT_DIR_RTL
GIMP_STOCK_PRINT_RESOLUTION
GIMP_STOCK_TOOLS GIMP_STOCK_TOOLS
GIMP_STOCK_TOOL_OPTIONS GIMP_STOCK_TOOL_OPTIONS
GIMP_STOCK_DEVICE_STATUS GIMP_STOCK_DEVICE_STATUS

View File

@ -35,6 +35,14 @@ locales.
<!-- ##### MACRO GIMP_STOCK_CENTER ##### -->
<para>
<inlinegraphic fileref="stock-center-24.png" format="png"></inlinegraphic>
<inlinegraphic fileref="stock-center-16.png" format="png"></inlinegraphic>
</para>
<!-- ##### MACRO GIMP_STOCK_DUPLICATE ##### --> <!-- ##### MACRO GIMP_STOCK_DUPLICATE ##### -->
<para> <para>
<inlinegraphic fileref="stock-duplicate-16.png" format="png"></inlinegraphic> <inlinegraphic fileref="stock-duplicate-16.png" format="png"></inlinegraphic>
@ -795,6 +803,14 @@ RTL variant
<!-- ##### MACRO GIMP_STOCK_PRINT_RESOLUTION ##### -->
<para>
<inlinegraphic fileref="stock-print-resolution-24.png" format="png"></inlinegraphic>
<inlinegraphic fileref="stock-print-resolution-16.png" format="png"></inlinegraphic>
</para>
<!-- ##### MACRO GIMP_STOCK_TOOLS ##### --> <!-- ##### MACRO GIMP_STOCK_TOOLS ##### -->
<para> <para>
<inlinegraphic fileref="stock-tools-24.png" format="png"></inlinegraphic> <inlinegraphic fileref="stock-tools-24.png" format="png"></inlinegraphic>

View File

@ -111,6 +111,7 @@ add_sized_with_same_fallback (GtkIconFactory *factory,
static GtkStockItem gimp_stock_items[] = static GtkStockItem gimp_stock_items[] =
{ {
{ GIMP_STOCK_ANCHOR, N_("Anchor"), 0, 0, LIBGIMP_DOMAIN }, { GIMP_STOCK_ANCHOR, N_("Anchor"), 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_CENTER, N_("C_enter"), 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_DUPLICATE, N_("_Duplicate"), 0, 0, LIBGIMP_DOMAIN }, { GIMP_STOCK_DUPLICATE, N_("_Duplicate"), 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_EDIT, N_("_Edit"), 0, 0, LIBGIMP_DOMAIN }, { GIMP_STOCK_EDIT, N_("_Edit"), 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_LINKED, N_("Linked"), 0, 0, LIBGIMP_DOMAIN }, { GIMP_STOCK_LINKED, N_("Linked"), 0, 0, LIBGIMP_DOMAIN },
@ -170,6 +171,7 @@ static GtkStockItem gimp_stock_items[] =
{ GIMP_STOCK_LINE_SPACING, N_("L_ine Spacing"), 0, 0, LIBGIMP_DOMAIN }, { GIMP_STOCK_LINE_SPACING, N_("L_ine Spacing"), 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_TEXT_DIR_LTR, NULL, 0, 0, LIBGIMP_DOMAIN }, { GIMP_STOCK_TEXT_DIR_LTR, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_TEXT_DIR_RTL, NULL, 0, 0, LIBGIMP_DOMAIN }, { GIMP_STOCK_TEXT_DIR_RTL, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_PRINT_RESOLUTION, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_CONVERT_RGB, NULL, 0, 0, LIBGIMP_DOMAIN }, { GIMP_STOCK_CONVERT_RGB, NULL, 0, 0, LIBGIMP_DOMAIN },
{ GIMP_STOCK_CONVERT_GRAYSCALE, NULL, 0, 0, LIBGIMP_DOMAIN }, { GIMP_STOCK_CONVERT_GRAYSCALE, NULL, 0, 0, LIBGIMP_DOMAIN },
@ -303,6 +305,7 @@ static struct
gimp_stock_button_pixbufs[] = gimp_stock_button_pixbufs[] =
{ {
{ GIMP_STOCK_ANCHOR, stock_anchor_16 }, { GIMP_STOCK_ANCHOR, stock_anchor_16 },
{ GIMP_STOCK_CENTER, stock_center_24 },
{ GIMP_STOCK_DUPLICATE, stock_duplicate_16 }, { GIMP_STOCK_DUPLICATE, stock_duplicate_16 },
{ GIMP_STOCK_EDIT, stock_edit_16 }, { GIMP_STOCK_EDIT, stock_edit_16 },
{ GIMP_STOCK_PASTE_AS_NEW, stock_paste_as_new_16 }, { GIMP_STOCK_PASTE_AS_NEW, stock_paste_as_new_16 },
@ -348,6 +351,7 @@ gimp_stock_button_pixbufs[] =
{ GIMP_STOCK_LINE_SPACING, stock_line_spacing_22 }, { GIMP_STOCK_LINE_SPACING, stock_line_spacing_22 },
{ GIMP_STOCK_TEXT_DIR_LTR, stock_text_dir_ltr_24 }, { GIMP_STOCK_TEXT_DIR_LTR, stock_text_dir_ltr_24 },
{ GIMP_STOCK_TEXT_DIR_RTL, stock_text_dir_rtl_24 }, { GIMP_STOCK_TEXT_DIR_RTL, stock_text_dir_rtl_24 },
{ GIMP_STOCK_PRINT_RESOLUTION, stock_print_resolution_24 },
{ GIMP_STOCK_IMAGES, stock_images_24 }, { GIMP_STOCK_IMAGES, stock_images_24 },
{ GIMP_STOCK_LAYERS, stock_layers_24 }, { GIMP_STOCK_LAYERS, stock_layers_24 },
@ -434,6 +438,8 @@ static struct
} }
gimp_stock_menu_pixbufs[] = gimp_stock_menu_pixbufs[] =
{ {
{ GIMP_STOCK_CENTER, stock_center_16 },
{ GIMP_STOCK_CONVERT_RGB, stock_convert_rgb_16 }, { GIMP_STOCK_CONVERT_RGB, stock_convert_rgb_16 },
{ GIMP_STOCK_CONVERT_GRAYSCALE, stock_convert_grayscale_16 }, { GIMP_STOCK_CONVERT_GRAYSCALE, stock_convert_grayscale_16 },
{ GIMP_STOCK_CONVERT_INDEXED, stock_convert_indexed_16 }, { GIMP_STOCK_CONVERT_INDEXED, stock_convert_indexed_16 },
@ -450,6 +456,8 @@ gimp_stock_menu_pixbufs[] =
{ GIMP_STOCK_FLIP_HORIZONTAL, stock_flip_horizontal_16 }, { GIMP_STOCK_FLIP_HORIZONTAL, stock_flip_horizontal_16 },
{ GIMP_STOCK_FLIP_VERTICAL, stock_flip_vertical_16 }, { GIMP_STOCK_FLIP_VERTICAL, stock_flip_vertical_16 },
{ GIMP_STOCK_PRINT_RESOLUTION, stock_print_resolution_16 },
{ GIMP_STOCK_IMAGES, stock_images_16 }, { GIMP_STOCK_IMAGES, stock_images_16 },
{ GIMP_STOCK_LAYERS, stock_layers_16 }, { GIMP_STOCK_LAYERS, stock_layers_16 },
{ GIMP_STOCK_CHANNELS, stock_channels_16 }, { GIMP_STOCK_CHANNELS, stock_channels_16 },

View File

@ -31,6 +31,7 @@ G_BEGIN_DECLS
/* in button size: */ /* in button size: */
#define GIMP_STOCK_ANCHOR "gimp-anchor" #define GIMP_STOCK_ANCHOR "gimp-anchor"
#define GIMP_STOCK_CENTER "gimp-center"
#define GIMP_STOCK_DUPLICATE "gimp-duplicate" #define GIMP_STOCK_DUPLICATE "gimp-duplicate"
#define GIMP_STOCK_EDIT "gimp-edit" #define GIMP_STOCK_EDIT "gimp-edit"
#define GIMP_STOCK_LINKED "gimp-linked" #define GIMP_STOCK_LINKED "gimp-linked"
@ -89,6 +90,7 @@ G_BEGIN_DECLS
#define GIMP_STOCK_CHAR_PICKER "gimp-char-picker" #define GIMP_STOCK_CHAR_PICKER "gimp-char-picker"
#define GIMP_STOCK_LETTER_SPACING "gimp-letter-spacing" #define GIMP_STOCK_LETTER_SPACING "gimp-letter-spacing"
#define GIMP_STOCK_LINE_SPACING "gimp-line-spacing" #define GIMP_STOCK_LINE_SPACING "gimp-line-spacing"
#define GIMP_STOCK_PRINT_RESOLUTION "gimp-print-resolution"
#define GIMP_STOCK_TEXT_DIR_LTR "gimp-text-dir-ltr" #define GIMP_STOCK_TEXT_DIR_LTR "gimp-text-dir-ltr"
#define GIMP_STOCK_TEXT_DIR_RTL "gimp-text-dir-rtl" #define GIMP_STOCK_TEXT_DIR_RTL "gimp-text-dir-rtl"

View File

@ -1063,7 +1063,7 @@ design_op_menu_create (GtkWidget *window)
N_("Select _All"), "<control>A", NULL, N_("Select _All"), "<control>A", NULL,
G_CALLBACK (design_area_select_all_callback) }, G_CALLBACK (design_area_select_all_callback) },
{ "center", GTK_STOCK_JUSTIFY_CENTER, { "center", GIMP_STOCK_CENTER,
N_("Re_center"), "<control>C", N_("Recompute Center"), N_("Re_center"), "<control>C", N_("Recompute Center"),
G_CALLBACK (recompute_center_cb) }, G_CALLBACK (recompute_center_cb) },

View File

@ -35,6 +35,7 @@ STOCK_MENU_IMAGES = \
stock-cap-butt-16.png \ stock-cap-butt-16.png \
stock-cap-round-16.png \ stock-cap-round-16.png \
stock-cap-square-16.png \ stock-cap-square-16.png \
stock-center-16.png \
stock-channel-16.png \ stock-channel-16.png \
stock-channel-alpha-16.png \ stock-channel-alpha-16.png \
stock-channel-blue-16.png \ stock-channel-blue-16.png \
@ -92,6 +93,7 @@ STOCK_MENU_IMAGES = \
stock-paths-16.png \ stock-paths-16.png \
stock-plugin-16.png \ stock-plugin-16.png \
stock-portrait-16.png \ stock-portrait-16.png \
stock-print-resolution-16.png \
stock-qmask-off-16.png \ stock-qmask-off-16.png \
stock-qmask-on-16.png \ stock-qmask-on-16.png \
stock-reshow-filter-16.png \ stock-reshow-filter-16.png \
@ -125,6 +127,7 @@ STOCK_MENU_IMAGES = \
STOCK_BUTTON_IMAGES = \ STOCK_BUTTON_IMAGES = \
stock-anchor-16.png \ stock-anchor-16.png \
stock-center-24.png \
stock-channel-24.png \ stock-channel-24.png \
stock-channel-alpha-24.png \ stock-channel-alpha-24.png \
stock-channel-blue-24.png \ stock-channel-blue-24.png \
@ -175,6 +178,7 @@ STOCK_BUTTON_IMAGES = \
stock-path-stroke-16.png \ stock-path-stroke-16.png \
stock-path-22.png \ stock-path-22.png \
stock-paths-22.png \ stock-paths-22.png \
stock-print-resolution-24.png \
stock-reset-16.png \ stock-reset-16.png \
stock-selection-add-16.png \ stock-selection-add-16.png \
stock-selection-intersect-16.png \ stock-selection-intersect-16.png \

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 500 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 744 B