Commit ec9ee41f authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

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.
parent 232e5ea2
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>
 
* configure.in: bumped version to 2.2-pre2.
......
......@@ -35,7 +35,7 @@ Contributors:
Michael Natterer, Sven Neumann, David Odin, Manish Singh, Kevin Cozens,
Joao S. O. Bueno, Geert Jordaens, David Gowers, Øyvind Kolås, Cai Qian,
Simon Budig
Simon Budig, Jakub Steiner
......
......@@ -81,7 +81,7 @@ static GimpActionEntry image_actions[] =
G_CALLBACK (image_resize_to_layers_cmd_callback),
GIMP_HELP_IMAGE_RESIZE_TO_LAYERS },
{ "image-print-size", GTK_STOCK_PRINT,
{ "image-print-size", GIMP_STOCK_PRINT_RESOLUTION,
N_("_Print Size..."), NULL, NULL,
G_CALLBACK (image_print_size_cmd_callback),
GIMP_HELP_IMAGE_PRINT_SIZE },
......
......@@ -80,7 +80,8 @@ print_size_dialog_new (GimpImage *image,
height = gimp_image_get_height (image);
dialog = gimp_viewable_dialog_new (GIMP_VIEWABLE (image),
title, role, GTK_STOCK_PRINT, title,
title, role,
GIMP_STOCK_PRINT_RESOLUTION, title,
parent,
help_func, help_id,
......
......@@ -231,8 +231,7 @@ resize_dialog_new (GimpViewable *viewable,
G_CALLBACK (offset_update),
private);
button = gtk_button_new_with_mnemonic (_("C_enter"));
gtk_misc_set_padding (GTK_MISC (GTK_BIN (button)->child), 2, 0);
button = gtk_button_new_from_stock (GIMP_STOCK_CENTER);
gtk_table_attach_defaults (GTK_TABLE (entry), button, 4, 5, 1, 2);
gtk_widget_show (button);
......
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>
* libgimpbase/libgimpbase-sections.txt
......
......@@ -433,6 +433,7 @@ GIMP_QUERY_BOX_VBOX
gimp_stock_init
<SUBSECTION Stock IDs>
GIMP_STOCK_ANCHOR
GIMP_STOCK_CENTER
GIMP_STOCK_DUPLICATE
GIMP_STOCK_EDIT
GIMP_STOCK_RESET
......@@ -534,6 +535,7 @@ GIMP_STOCK_LETTER_SPACING
GIMP_STOCK_LINE_SPACING
GIMP_STOCK_TEXT_DIR_LTR
GIMP_STOCK_TEXT_DIR_RTL
GIMP_STOCK_PRINT_RESOLUTION
GIMP_STOCK_TOOLS
GIMP_STOCK_TOOL_OPTIONS
GIMP_STOCK_DEVICE_STATUS
......
......@@ -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 ##### -->
<para>
<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 ##### -->
<para>
<inlinegraphic fileref="stock-tools-24.png" format="png"></inlinegraphic>
......
......@@ -111,6 +111,7 @@ add_sized_with_same_fallback (GtkIconFactory *factory,
static GtkStockItem gimp_stock_items[] =
{
{ 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_EDIT, N_("_Edit"), 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_TEXT_DIR_LTR, 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_GRAYSCALE, NULL, 0, 0, LIBGIMP_DOMAIN },
......@@ -303,6 +305,7 @@ static struct
gimp_stock_button_pixbufs[] =
{
{ GIMP_STOCK_ANCHOR, stock_anchor_16 },
{ GIMP_STOCK_CENTER, stock_center_24 },
{ GIMP_STOCK_DUPLICATE, stock_duplicate_16 },
{ GIMP_STOCK_EDIT, stock_edit_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_TEXT_DIR_LTR, stock_text_dir_ltr_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_LAYERS, stock_layers_24 },
......@@ -434,6 +438,8 @@ static struct
}
gimp_stock_menu_pixbufs[] =
{
{ GIMP_STOCK_CENTER, stock_center_16 },
{ GIMP_STOCK_CONVERT_RGB, stock_convert_rgb_16 },
{ GIMP_STOCK_CONVERT_GRAYSCALE, stock_convert_grayscale_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_VERTICAL, stock_flip_vertical_16 },
{ GIMP_STOCK_PRINT_RESOLUTION, stock_print_resolution_16 },
{ GIMP_STOCK_IMAGES, stock_images_16 },
{ GIMP_STOCK_LAYERS, stock_layers_16 },
{ GIMP_STOCK_CHANNELS, stock_channels_16 },
......
......@@ -31,6 +31,7 @@ G_BEGIN_DECLS
/* in button size: */
#define GIMP_STOCK_ANCHOR "gimp-anchor"
#define GIMP_STOCK_CENTER "gimp-center"
#define GIMP_STOCK_DUPLICATE "gimp-duplicate"
#define GIMP_STOCK_EDIT "gimp-edit"
#define GIMP_STOCK_LINKED "gimp-linked"
......@@ -89,6 +90,7 @@ G_BEGIN_DECLS
#define GIMP_STOCK_CHAR_PICKER "gimp-char-picker"
#define GIMP_STOCK_LETTER_SPACING "gimp-letter-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_RTL "gimp-text-dir-rtl"
......
......@@ -1063,7 +1063,7 @@ design_op_menu_create (GtkWidget *window)
N_("Select _All"), "<control>A", NULL,
G_CALLBACK (design_area_select_all_callback) },
{ "center", GTK_STOCK_JUSTIFY_CENTER,
{ "center", GIMP_STOCK_CENTER,
N_("Re_center"), "<control>C", N_("Recompute Center"),
G_CALLBACK (recompute_center_cb) },
......
......@@ -35,6 +35,7 @@ STOCK_MENU_IMAGES = \
stock-cap-butt-16.png \
stock-cap-round-16.png \
stock-cap-square-16.png \
stock-center-16.png \
stock-channel-16.png \
stock-channel-alpha-16.png \
stock-channel-blue-16.png \
......@@ -92,6 +93,7 @@ STOCK_MENU_IMAGES = \
stock-paths-16.png \
stock-plugin-16.png \
stock-portrait-16.png \
stock-print-resolution-16.png \
stock-qmask-off-16.png \
stock-qmask-on-16.png \
stock-reshow-filter-16.png \
......@@ -125,6 +127,7 @@ STOCK_MENU_IMAGES = \
STOCK_BUTTON_IMAGES = \
stock-anchor-16.png \
stock-center-24.png \
stock-channel-24.png \
stock-channel-alpha-24.png \
stock-channel-blue-24.png \
......@@ -175,6 +178,7 @@ STOCK_BUTTON_IMAGES = \
stock-path-stroke-16.png \
stock-path-22.png \
stock-paths-22.png \
stock-print-resolution-24.png \
stock-reset-16.png \
stock-selection-add-16.png \
stock-selection-intersect-16.png \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment