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



commit a6862af8346180dd32f79206cc446a09b8bbae08
Author: Michael Natterer <mitch gimp org>
Date:   Sun Mar 24 22:08:46 2013 +0100

    app: shorten the labels of the cage tool options by adding newlines
    
    This is an exception because the tool only has three option widgets.

 app/gegl/gimp-gegl-enums.c  |    2 +-
 app/gegl/gimp-gegl-enums.h  |    4 ++--
 app/tools/gimpcageoptions.c |    3 ++-
 3 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/app/gegl/gimp-gegl-enums.c b/app/gegl/gimp-gegl-enums.c
index 3751217..1b7f76d 100644
--- a/app/gegl/gimp-gegl-enums.c
+++ b/app/gegl/gimp-gegl-enums.c
@@ -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 }
   };
 
diff --git a/app/gegl/gimp-gegl-enums.h b/app/gegl/gimp-gegl-enums.h
index 3b7933c..cd7dcbd 100644
--- a/app/gegl/gimp-gegl-enums.h
+++ b/app/gegl/gimp-gegl-enums.h
@@ -27,8 +27,8 @@ 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_CAGE_CHANGE, /*< desc="Create or adjust the cage"            >*/
+  GIMP_CAGE_MODE_DEFORM       /*< desc="Deform the cage\nto deform the image" >*/
 } GimpCageMode;
 
 
diff --git a/app/tools/gimpcageoptions.c b/app/tools/gimpcageoptions.c
index 69ef596..bd7dbfe 100644
--- a/app/tools/gimpcageoptions.c
+++ b/app/tools/gimpcageoptions.c
@@ -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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]