mirror of https://github.com/GNOME/gimp.git
changed menu label from "Show Image Menu" to "Show Image Selection".
2004-10-27 Sven Neumann <sven@gimp.org> * app/actions/dockable-actions.c (dockable_toggle_actions): changed menu label from "Show Image Menu" to "Show Image Selection". * app/widgets/gimpsizebox.c: unmarked a string for translation. * app/dialogs/scale-dialog.c: added back the message when scaling an indexed image.
This commit is contained in:
parent
1b76cf1ef5
commit
4349469e3c
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2004-10-27 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/actions/dockable-actions.c (dockable_toggle_actions): changed
|
||||
menu label from "Show Image Menu" to "Show Image Selection".
|
||||
|
||||
* app/widgets/gimpsizebox.c: unmarked a string for translation.
|
||||
|
||||
* app/dialogs/scale-dialog.c: added back the message when scaling
|
||||
an indexed image.
|
||||
|
||||
2004-10-27 DindinX <dindinx@gimp.org>
|
||||
|
||||
* libgimp/gimpaspectpreview.c: really use the second parameter of
|
||||
|
|
|
@ -73,7 +73,7 @@ static GimpActionEntry dockable_actions[] =
|
|||
static GimpToggleActionEntry dockable_toggle_actions[] =
|
||||
{
|
||||
{ "dockable-show-image-menu", NULL,
|
||||
N_("_Show Image Menu"), NULL, NULL,
|
||||
N_("_Show Image Selection"), NULL, NULL,
|
||||
G_CALLBACK (dockable_toggle_image_menu_cmd_callback),
|
||||
TRUE,
|
||||
GIMP_HELP_DOCK_IMAGE_MENU },
|
||||
|
|
|
@ -169,8 +169,12 @@ scale_dialog_new (GimpViewable *viewable,
|
|||
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
|
||||
gtk_widget_show (frame);
|
||||
|
||||
vbox = gtk_vbox_new (FALSE, 12);
|
||||
gtk_container_add (GTK_CONTAINER (frame), vbox);
|
||||
gtk_widget_show (vbox);
|
||||
|
||||
hbox = gtk_hbox_new (FALSE, 6);
|
||||
gtk_container_add (GTK_CONTAINER (frame), hbox);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
|
||||
gtk_widget_show (hbox);
|
||||
|
||||
label = gtk_label_new_with_mnemonic (_("I_nterpolation:"));
|
||||
|
@ -185,6 +189,20 @@ scale_dialog_new (GimpViewable *viewable,
|
|||
gimp_int_combo_box_set_active (GIMP_INT_COMBO_BOX (private->combo),
|
||||
private->interpolation);
|
||||
|
||||
if (gimp_image_base_type (image) == GIMP_INDEXED)
|
||||
{
|
||||
label = gtk_label_new (_("Indexed color layers are always scaled "
|
||||
"without interpolation. The chosen "
|
||||
"interpolation type will affect channels "
|
||||
"and masks only."));
|
||||
|
||||
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.0);
|
||||
gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_LEFT);
|
||||
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
|
||||
gtk_widget_show (label);
|
||||
}
|
||||
|
||||
return dialog;
|
||||
}
|
||||
|
||||
|
|
|
@ -233,7 +233,7 @@ gimp_size_box_constructor (GType type,
|
|||
1, 2);
|
||||
gtk_entry_set_width_chars (GTK_ENTRY (height), SB_WIDTH);
|
||||
|
||||
entry = gimp_size_entry_new (0, box->unit,_("%p"),
|
||||
entry = gimp_size_entry_new (0, box->unit, "%p",
|
||||
TRUE, TRUE, FALSE, SB_WIDTH,
|
||||
GIMP_SIZE_ENTRY_UPDATE_SIZE);
|
||||
|
||||
|
|
Loading…
Reference in New Issue