app: shorten the labels of the cage tool options by adding newlines

This is an exception because the tool only has three option widgets.
This commit is contained in:
Michael Natterer 2013-03-24 22:08:46 +01:00
parent c67d6b71b1
commit a6862af834
3 changed files with 5 additions and 4 deletions

View File

@ -22,7 +22,7 @@ gimp_cage_mode_get_type (void)
static const GimpEnumDesc descs[] =
{
{ GIMP_CAGE_MODE_CAGE_CHANGE, NC_("cage-mode", "Create or adjust the cage"), NULL },
{ GIMP_CAGE_MODE_DEFORM, NC_("cage-mode", "Deform the cage to deform the image"), NULL },
{ GIMP_CAGE_MODE_DEFORM, NC_("cage-mode", "Deform the cage\nto deform the image"), NULL },
{ 0, NULL, NULL }
};

View File

@ -28,7 +28,7 @@ GType gimp_cage_mode_get_type (void) G_GNUC_CONST;
typedef enum
{
GIMP_CAGE_MODE_CAGE_CHANGE, /*< desc="Create or adjust the cage" >*/
GIMP_CAGE_MODE_DEFORM /*< desc="Deform the cage to deform the image" >*/
GIMP_CAGE_MODE_DEFORM /*< desc="Deform the cage\nto deform the image" >*/
} GimpCageMode;

View File

@ -141,7 +141,8 @@ gimp_cage_options_gui (GimpToolOptions *tool_options)
gtk_widget_show (mode);
button = gimp_prop_check_button_new (config, "fill-plain-color",
_("Fill the original position of the cage with a plain color"));
_("Fill the original position\n"
"of the cage with a color"));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);