more cosmetic stuff

--Sven
This commit is contained in:
Sven Neumann 1999-12-14 23:09:54 +00:00
parent 30cc3739ae
commit a00ed6feb0
20 changed files with 45 additions and 30 deletions

View file

@ -1,3 +1,15 @@
Wed Dec 15 00:10:54 CET 1999 Sven Neumann <sven@gimp.org>
* app/channel_ops.c
* app/info_window.c
* app/nav_window.c
* app/tips_dialog.c
* app/undo_history.c
* plug-ins/common/colortoalpha.c
* plug-ins/common/smooth_palette.c
* plug-ins/common/spheredesigner.c
* plug-ins/fp/fp_gtk.c: more cosmetic changes
Tue Dec 14 11:56:15 PST 1999 Manish Singh <yosh@gimp.org>
* tools/pdbgen/pdbgen.pl

View file

@ -162,7 +162,7 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_show (table);
/* The wrap around option */
check = gtk_check_button_new_with_label (_("Wrap-Around"));
check = gtk_check_button_new_with_label (_("Wrap Around"));
gtk_box_pack_start (GTK_BOX (vbox), check, FALSE, FALSE, 0);
gtk_widget_show (check);

View file

@ -162,7 +162,7 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_show (table);
/* The wrap around option */
check = gtk_check_button_new_with_label (_("Wrap-Around"));
check = gtk_check_button_new_with_label (_("Wrap Around"));
gtk_box_pack_start (GTK_BOX (vbox), check, FALSE, FALSE, 0);
gtk_widget_show (check);

View file

@ -162,7 +162,7 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_show (table);
/* The wrap around option */
check = gtk_check_button_new_with_label (_("Wrap-Around"));
check = gtk_check_button_new_with_label (_("Wrap Around"));
gtk_box_pack_start (GTK_BOX (vbox), check, FALSE, FALSE, 0);
gtk_widget_show (check);

View file

@ -374,7 +374,7 @@ info_window_title(GDisplay *gdisp)
title = g_basename (gimage_filename (gdisp->gimage));
/* create the info dialog */
title_buf = g_strdup_printf (_("Window Info:%s-%d.%d"),
title_buf = g_strdup_printf (_("Info: %s-%d.%d"),
title,
pdb_image_to_id (gdisp->gimage),
gdisp->instance);

View file

@ -67,7 +67,7 @@ tips_dialog_create ()
{
tips_dialog = gtk_window_new (GTK_WINDOW_DIALOG);
gtk_window_set_wmclass (GTK_WINDOW (tips_dialog), "tip_of_the_day", "Gimp");
gtk_window_set_title (GTK_WINDOW (tips_dialog), _("GIMP Tip of the day"));
gtk_window_set_title (GTK_WINDOW (tips_dialog), _("GIMP Tip of the Day"));
gtk_window_set_position (GTK_WINDOW (tips_dialog), GTK_WIN_POS_CENTER);
gtk_signal_connect (GTK_OBJECT (tips_dialog), "delete_event",
GTK_SIGNAL_FUNC (tips_dialog_hide), NULL);

View file

@ -1251,7 +1251,7 @@ nav_window_title(GDisplay *gdisp)
title = g_basename (gimage_filename (gdisp->gimage));
/* create the info dialog */
title_buf = g_strdup_printf (_("Window Navigation:%s-%d.%d"),
title_buf = g_strdup_printf (_("Navigation: %s-%d.%d"),
title,
pdb_image_to_id (gdisp->gimage),
gdisp->instance);

View file

@ -1251,7 +1251,7 @@ nav_window_title(GDisplay *gdisp)
title = g_basename (gimage_filename (gdisp->gimage));
/* create the info dialog */
title_buf = g_strdup_printf (_("Window Navigation:%s-%d.%d"),
title_buf = g_strdup_printf (_("Navigation: %s-%d.%d"),
title,
pdb_image_to_id (gdisp->gimage),
gdisp->instance);

View file

@ -162,7 +162,7 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_show (table);
/* The wrap around option */
check = gtk_check_button_new_with_label (_("Wrap-Around"));
check = gtk_check_button_new_with_label (_("Wrap Around"));
gtk_box_pack_start (GTK_BOX (vbox), check, FALSE, FALSE, 0);
gtk_widget_show (check);

View file

@ -162,7 +162,7 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_show (table);
/* The wrap around option */
check = gtk_check_button_new_with_label (_("Wrap-Around"));
check = gtk_check_button_new_with_label (_("Wrap Around"));
gtk_box_pack_start (GTK_BOX (vbox), check, FALSE, FALSE, 0);
gtk_widget_show (check);

View file

@ -374,7 +374,7 @@ info_window_title(GDisplay *gdisp)
title = g_basename (gimage_filename (gdisp->gimage));
/* create the info dialog */
title_buf = g_strdup_printf (_("Window Info:%s-%d.%d"),
title_buf = g_strdup_printf (_("Info: %s-%d.%d"),
title,
pdb_image_to_id (gdisp->gimage),
gdisp->instance);

View file

@ -67,7 +67,7 @@ tips_dialog_create ()
{
tips_dialog = gtk_window_new (GTK_WINDOW_DIALOG);
gtk_window_set_wmclass (GTK_WINDOW (tips_dialog), "tip_of_the_day", "Gimp");
gtk_window_set_title (GTK_WINDOW (tips_dialog), _("GIMP Tip of the day"));
gtk_window_set_title (GTK_WINDOW (tips_dialog), _("GIMP Tip of the Day"));
gtk_window_set_position (GTK_WINDOW (tips_dialog), GTK_WIN_POS_CENTER);
gtk_signal_connect (GTK_OBJECT (tips_dialog), "delete_event",
GTK_SIGNAL_FUNC (tips_dialog_hide), NULL);

View file

@ -374,7 +374,7 @@ info_window_title(GDisplay *gdisp)
title = g_basename (gimage_filename (gdisp->gimage));
/* create the info dialog */
title_buf = g_strdup_printf (_("Window Info:%s-%d.%d"),
title_buf = g_strdup_printf (_("Info: %s-%d.%d"),
title,
pdb_image_to_id (gdisp->gimage),
gdisp->instance);

View file

@ -1251,7 +1251,7 @@ nav_window_title(GDisplay *gdisp)
title = g_basename (gimage_filename (gdisp->gimage));
/* create the info dialog */
title_buf = g_strdup_printf (_("Window Navigation:%s-%d.%d"),
title_buf = g_strdup_printf (_("Navigation: %s-%d.%d"),
title,
pdb_image_to_id (gdisp->gimage),
gdisp->instance);

View file

@ -67,7 +67,7 @@ tips_dialog_create ()
{
tips_dialog = gtk_window_new (GTK_WINDOW_DIALOG);
gtk_window_set_wmclass (GTK_WINDOW (tips_dialog), "tip_of_the_day", "Gimp");
gtk_window_set_title (GTK_WINDOW (tips_dialog), _("GIMP Tip of the day"));
gtk_window_set_title (GTK_WINDOW (tips_dialog), _("GIMP Tip of the Day"));
gtk_window_set_position (GTK_WINDOW (tips_dialog), GTK_WIN_POS_CENTER);
gtk_signal_connect (GTK_OBJECT (tips_dialog), "delete_event",
GTK_SIGNAL_FUNC (tips_dialog_hide), NULL);

View file

@ -429,7 +429,7 @@ undo_history_gimage_rename_callback (GimpImage *gimage,
undo_history_st *st = data;
gchar *title;
title = g_strdup_printf (_("%s: undo history"),
title = g_strdup_printf (_("Undo History: %s"),
g_basename (gimage_filename (gimage)));
gtk_window_set_title (GTK_WINDOW (st->shell), title);
g_free (title);

View file

@ -111,7 +111,7 @@ query ()
"Seth Burgess",
"Seth Burgess <sjburges@gimp.org>",
_("7th Aug 1999"),
N_("<Image>/Filters/Colors/Color To Alpha..."),
N_("<Image>/Filters/Colors/Color to Alpha..."),
"RGBA",
PROC_PLUG_IN,
nargs, nreturn_vals,
@ -432,20 +432,23 @@ colortoalpha_dialog (GDrawable *drawable)
gtk_widget_show (button);
table = gtk_table_new (1, 3, FALSE);
gtk_table_set_col_spacings (GTK_TABLE (table), 4);
label = gtk_label_new (_("From:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_table_attach_defaults ( GTK_TABLE(table), label, 0, 1, 0, 1);
gtk_widget_show (label);
button = gimp_color_button_new (_("Color To Alpha Color Picker"),
button = gimp_color_button_new (_("Color to Alpha Color Picker"),
PRV_WIDTH, PRV_HEIGHT,
pvals.color, 3);
gtk_table_attach( GTK_TABLE(table), button, 1, 2, 0, 1,
GTK_EXPAND, GTK_SHRINK, 4, 4) ;
gtk_table_attach (GTK_TABLE(table), button, 1, 2, 0, 1,
GTK_FILL, GTK_SHRINK, 4, 4) ;
gtk_widget_show(button);
ppreview.color_button = button;
label = gtk_label_new (_("to alpha"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach_defaults ( GTK_TABLE(table), label, 2, 3, 0, 1);
gtk_widget_show (label);

View file

@ -76,7 +76,7 @@ static void query()
"Scott Draves",
"Scott Draves",
"1997",
"<Image>/Filters/Colors/SmoothPalette...",
"<Image>/Filters/Colors/Smooth Palette...",
"RGB*",
PROC_PLUG_IN,
nargs, nreturn_vals,

View file

@ -2227,7 +2227,7 @@ GtkWidget* makewindow (void)
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_object_set_data (GTK_OBJECT (window), "window", window);
gtk_container_border_width (GTK_CONTAINER (window), 5);
gtk_window_set_title (GTK_WINDOW (window), _("SphereDesigner"));
gtk_window_set_title (GTK_WINDOW (window), _("Sphere Designer"));
gtk_window_set_policy (GTK_WINDOW (window), FALSE, TRUE, FALSE);
table1 = gtk_table_new (4, 3, FALSE);
@ -2847,7 +2847,7 @@ static void query (void)
"Vidar Madsen",
"Vidar Madsen",
"1999",
N_("<Image>/Filters/Render/SphereDesigner..."),
N_("<Image>/Filters/Render/Sphere Designer..."),
"RGB*, GRAY*",
PROC_PLUG_IN,
nargs, nreturn_vals,

View file

@ -866,14 +866,6 @@ int fp_dialog()
gtk_box_pack_end (GTK_BOX (GTK_DIALOG (dlg)->action_area), hbbox, FALSE, FALSE, 0);
gtk_widget_show (hbbox);
button = gtk_button_new_with_label ("Reset");
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
(GtkSignalFunc) resetFilterPacks,
NULL);
gtk_box_pack_start (GTK_BOX (hbbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);
button = gtk_button_new_with_label ("OK");
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
@ -883,6 +875,14 @@ int fp_dialog()
gtk_widget_grab_default (button);
gtk_widget_show (button);
button = gtk_button_new_with_label ("Reset");
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
(GtkSignalFunc) resetFilterPacks,
NULL);
gtk_box_pack_start (GTK_BOX (hbbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);
button = gtk_button_new_with_label ("Cancel");
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_signal_connect_object (GTK_OBJECT (button), "clicked",