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

plug-ins/FractalExplorer/Dialogs.c plug-ins/common/CML_explorer.c

2002-05-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/convmatrix.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/film.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/tileit.c
	* plug-ins/fp/fp_gtk.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/preview.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/sel2path/sel2path.c: make use of stock labels.
parent 72607e09
2002-05-24 Sven Neumann <sven@gimp.org>
* plug-ins/FractalExplorer/Dialogs.c
* plug-ins/common/CML_explorer.c
* plug-ins/common/convmatrix.c
* plug-ins/common/curve_bend.c
* plug-ins/common/film.c
* plug-ins/common/iwarp.c
* plug-ins/common/sample_colorize.c
* plug-ins/common/spheredesigner.c
* plug-ins/common/tileit.c
* plug-ins/fp/fp_gtk.c
* plug-ins/gfig/gfig.c
* plug-ins/gimpressionist/preview.c
* plug-ins/ifscompose/ifscompose.c
* plug-ins/sel2path/sel2path.c: make use of stock labels.
2002-05-24 Sven Neumann <sven@gimp.org>
 
* app/config/gimprc.c (gimp_rc_serialize): write newline after
......
......@@ -533,7 +533,7 @@ explorer_dialog (void)
gtk_widget_show (button);
gimp_help_set_help_data (button, _("Load a fractal from file"), NULL);
button = gtk_button_new_with_label (_("Reset"));
button = gtk_button_new_from_stock (GIMP_STOCK_RESET);
gtk_box_pack_start (GTK_BOX (hbbox), button, TRUE, TRUE, 0);
g_signal_connect (G_OBJECT (button), "clicked",
G_CALLBACK (dialog_reset_callback),
......@@ -542,7 +542,7 @@ explorer_dialog (void)
gimp_help_set_help_data (button, _("Reset parameters to default values"),
NULL);
button = gtk_button_new_with_label (_("Save"));
button = gtk_button_new_from_stock (GTK_STOCK_SAVE);
gtk_box_pack_start (GTK_BOX (hbbox), button, TRUE, TRUE, 0);
g_signal_connect (G_OBJECT (button), "clicked",
G_CALLBACK (create_file_selection),
......
......@@ -1223,7 +1223,7 @@ CML_explorer_dialog (void)
gtk_container_add (GTK_CONTAINER (pframe), preview);
gtk_widget_show (preview);
button = gtk_button_new_with_label (_("Save"));
button = gtk_button_new_from_stock (GTK_STOCK_SAVE);
gtk_box_pack_end (GTK_BOX (vbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);
......
......@@ -858,10 +858,12 @@ dialog (void)
GTK_WIN_POS_MOUSE,
FALSE, TRUE, FALSE,
_("Reset"), defaults_callback,
NULL, 1, NULL, FALSE, FALSE,
GTK_STOCK_CANCEL, gtk_widget_destroy,
NULL, 1, NULL, FALSE, TRUE,
GIMP_STOCK_RESET, defaults_callback,
NULL, 1, NULL, FALSE, FALSE,
GTK_STOCK_OK, ok_callback,
NULL, NULL, &my_widgets.ok, TRUE, FALSE,
......
......@@ -1360,16 +1360,21 @@ bender_new_dialog (GimpDrawable *drawable)
GTK_WIN_POS_MOUSE,
FALSE, TRUE, FALSE,
_("Reset"), bender_reset_callback,
GTK_STOCK_CANCEL, bender_cancel_callback,
cd, NULL, NULL, FALSE, TRUE,
GIMP_STOCK_RESET, bender_reset_callback,
cd, NULL, NULL, FALSE, FALSE,
_("Copy"), bender_copy_callback,
cd, NULL, NULL, FALSE, FALSE,
_("CopyInv"), bender_copy_inv_callback,
cd, NULL, NULL, FALSE, FALSE,
_("Swap"), bender_swap_callback,
cd, NULL, NULL, FALSE, FALSE,
GTK_STOCK_CANCEL, bender_cancel_callback,
cd, NULL, NULL, FALSE, TRUE,
GTK_STOCK_OK, bender_ok_callback,
cd, NULL, NULL, TRUE, FALSE,
......
......@@ -1488,7 +1488,7 @@ film_dialog (gint32 image_ID)
row++;
button = gtk_button_new_with_label (_("Reset to Defaults"));
button = gtk_button_new_from_stock (GIMP_STOCK_RESET);
gtk_misc_set_padding (GTK_MISC (GTK_BIN (button)->child), 4, 0);
gtk_box_pack_end (GTK_BOX (hbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);
......
......@@ -1167,10 +1167,12 @@ iwarp_dialog (void)
GTK_WIN_POS_MOUSE,
FALSE, TRUE, FALSE,
_("_Reset"), iwarp_reset_callback,
NULL, NULL, NULL, FALSE, FALSE,
GTK_STOCK_CANCEL, gtk_widget_destroy,
NULL, 1, NULL, FALSE, TRUE,
GIMP_STOCK_RESET, iwarp_reset_callback,
NULL, NULL, NULL, FALSE, FALSE,
GTK_STOCK_OK, iwarp_ok_callback,
NULL, NULL, NULL, TRUE, FALSE,
......
......@@ -1366,12 +1366,15 @@ p_smp_dialog (void)
GTK_WIN_POS_MOUSE,
FALSE, TRUE, FALSE,
_("Get Sample Colors"), p_smp_get_colors_callback,
NULL, NULL, NULL, TRUE, FALSE,
_("Reset"), p_smp_reset_callback,
NULL, NULL, NULL, FALSE, FALSE,
GTK_STOCK_CLOSE, gtk_widget_destroy,
NULL, 1, NULL, FALSE, TRUE,
GIMP_STOCK_RESET, p_smp_reset_callback,
NULL, NULL, NULL, FALSE, FALSE,
_("Get Sample Colors"), p_smp_get_colors_callback,
NULL, NULL, NULL, TRUE, FALSE,
_("Apply"), p_smp_apply_callback,
NULL, NULL, NULL, FALSE, FALSE,
......
......@@ -2205,10 +2205,12 @@ GtkWidget* makewindow (void)
GTK_WIN_POS_MOUSE,
FALSE, TRUE, FALSE,
_("Reset"), sphere_reset,
NULL, NULL, &resetbutton, FALSE, FALSE,
GTK_STOCK_CANCEL, sphere_cancel,
NULL, NULL, &cancelbutton, FALSE, TRUE,
GIMP_STOCK_RESET, sphere_reset,
NULL, NULL, &resetbutton, FALSE, FALSE,
GTK_STOCK_OK, sphere_ok,
NULL, NULL, &okbutton, TRUE, FALSE,
......
......@@ -472,7 +472,7 @@ tileit_dialog (void)
res_call.vtoggle = toggle;
button = gtk_button_new_with_label (_("Reset"));
button = gtk_button_new_from_stock (GIMP_STOCK_RESET);
gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 0);
gtk_widget_show (button);
......
......@@ -920,7 +920,7 @@ fp_dialog (void)
GTK_STOCK_CANCEL, gtk_widget_destroy,
NULL, 1, NULL, FALSE, TRUE,
_("Reset"), resetFilterPacks,
GIMP_STOCK_RESET, resetFilterPacks,
NULL, NULL, NULL, FALSE, FALSE,
GTK_STOCK_OK, fp_ok_callback,
......
......@@ -3555,7 +3555,7 @@ add_objects_list (void)
GTK_FILL, GTK_FILL, 0, 0);
gtk_widget_show (button);
button = gtk_button_new_with_label (_("New"));
button = gtk_button_new_from_stock (GTK_STOCK_NEW);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
GTK_SIGNAL_FUNC (new_button_callback),
"New gfig obj");
......@@ -3565,7 +3565,7 @@ add_objects_list (void)
GTK_FILL, GTK_FILL, 0, 0);
gtk_widget_show (button);
button = gtk_button_new_with_label (_("Delete"));
button = gtk_button_new_from_stock (GTK_STOCK_DELETE);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
GTK_SIGNAL_FUNC (gfig_delete_gfig_callback),
(gpointer) list);
......
......@@ -12,6 +12,8 @@
#include <gtk/gtk.h>
#include "libgimp/gimpui.h"
#include "gimpressionist.h"
#include "ppmtool.h"
......@@ -126,7 +128,7 @@ GtkWidget* create_preview()
gtk_widget_show(tmpw);
gtk_tooltips_set_tip(GTK_TOOLTIPS(tooltips), tmpw, _("Refresh the Preview window"), NULL);
resetpreviewbutton = tmpw = gtk_button_new_with_label( _("Reset"));
resetpreviewbutton = tmpw = gtk_button_new_from_stock (GIMP_STOCK_RESET);
gtk_signal_connect(GTK_OBJECT(tmpw), "clicked",
(GtkSignalFunc)updatepreviewprev, (void *)2);
gtk_box_pack_start (GTK_BOX (box2), tmpw, TRUE, TRUE, 0);
......
......@@ -793,13 +793,13 @@ ifs_compose_dialog (GimpDrawable *drawable)
GTK_STOCK_CANCEL, gtk_widget_destroy,
NULL, 1, NULL, FALSE, TRUE,
_("Delete"), ifs_compose_delete_callback,
GTK_STOCK_DELETE, ifs_compose_delete_callback,
NULL, NULL, NULL, FALSE, FALSE,
_("Reset"), ifs_compose_defaults_callback,
GIMP_STOCK_RESET, ifs_compose_defaults_callback,
NULL, NULL, NULL, FALSE, FALSE,
_("New"), ifs_compose_new_callback,
GTK_STOCK_NEW, ifs_compose_new_callback,
NULL, NULL, NULL, FALSE, FALSE,
GTK_STOCK_OK, ifs_compose_ok_callback,
......
......@@ -332,7 +332,7 @@ sel2path_dialog (SELVALS *sels)
GTK_STOCK_CANCEL, gtk_widget_destroy,
NULL, 1, NULL, FALSE, TRUE,
_("Reset"), sel2path_reset_callback,
GIMP_STOCK_RESET, sel2path_reset_callback,
NULL, NULL, NULL, FALSE, FALSE,
GTK_STOCK_OK, sel2path_ok_callback,
......
2002-05-24 Sven Neumann <sven@gimp.org>
* de.po: updated german translation.
2002-05-11 Sven Neumann <sven@gimp.org>
* POTFILES.in: readded helpbrowser plug-in.
......
This diff is collapsed.
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