[gimp] app: register descriptions for the GimpTextBoxMode enum



commit 919471c2852575ad4b45d09696f5551a055b6bc2
Author: Michael Natterer <mitch gimp org>
Date:   Wed Feb 17 20:20:57 2010 +0100

    app: register descriptions for the GimpTextBoxMode enum

 app/text/text-enums.c |    4 ++--
 app/text/text-enums.h |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/text/text-enums.c b/app/text/text-enums.c
index 7f0e1c3..27d1600 100644
--- a/app/text/text-enums.c
+++ b/app/text/text-enums.c
@@ -20,8 +20,8 @@ gimp_text_box_mode_get_type (void)
 
   static const GimpEnumDesc descs[] =
   {
-    { GIMP_TEXT_BOX_DYNAMIC, "GIMP_TEXT_BOX_DYNAMIC", NULL },
-    { GIMP_TEXT_BOX_FIXED, "GIMP_TEXT_BOX_FIXED", NULL },
+    { GIMP_TEXT_BOX_DYNAMIC, NC_("text-box-mode", "Dynamic"), NULL },
+    { GIMP_TEXT_BOX_FIXED, NC_("text-box-mode", "Fixed"), NULL },
     { 0, NULL, NULL }
   };
 
diff --git a/app/text/text-enums.h b/app/text/text-enums.h
index a666f9d..c6266a7 100644
--- a/app/text/text-enums.h
+++ b/app/text/text-enums.h
@@ -25,8 +25,8 @@ GType gimp_text_box_mode_get_type (void) G_GNUC_CONST;
 
 typedef enum /*< pdb-skip >*/
 {
-  GIMP_TEXT_BOX_DYNAMIC,
-  GIMP_TEXT_BOX_FIXED
+  GIMP_TEXT_BOX_DYNAMIC, /*< desc="Dynamic" >*/
+  GIMP_TEXT_BOX_FIXED    /*< desc="Fixed"   >*/
 } GimpTextBoxMode;
 
 



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