Commit a00ed6fe authored by Sven Neumann's avatar Sven Neumann

more cosmetic stuff


--Sven
parent 30cc3739
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
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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);
......
......@@ -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,
......
......@@ -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,
......
......@@ -866,21 +866,21 @@ 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");
button = gtk_button_new_with_label ("OK");
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
(GtkSignalFunc) resetFilterPacks,
NULL);
(GtkSignalFunc) fp_ok_callback,
dlg);
gtk_box_pack_start (GTK_BOX (hbbox), button, FALSE, FALSE, 0);
gtk_widget_grab_default (button);
gtk_widget_show (button);
button = gtk_button_new_with_label ("OK");
button = gtk_button_new_with_label ("Reset");
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
(GtkSignalFunc) fp_ok_callback,
dlg);
(GtkSignalFunc) resetFilterPacks,
NULL);
gtk_box_pack_start (GTK_BOX (hbbox), button, FALSE, FALSE, 0);
gtk_widget_grab_default (button);
gtk_widget_show (button);
button = gtk_button_new_with_label ("Cancel");
......
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