Bug 667427 - Bad ink shape hint

Add translatable descriptions to enum GimpInkBlobType so they appear
as tooltips instead of "GIMP_INK_BLOB_TYPE_FOO".
This commit is contained in:
Michael Natterer 2012-01-07 22:09:18 +01:00
parent f96707dae4
commit 92e86baa2d
2 changed files with 6 additions and 6 deletions

View File

@ -141,9 +141,9 @@ gimp_ink_blob_type_get_type (void)
static const GimpEnumDesc descs[] =
{
{ GIMP_INK_BLOB_TYPE_CIRCLE, "GIMP_INK_BLOB_TYPE_CIRCLE", NULL },
{ GIMP_INK_BLOB_TYPE_SQUARE, "GIMP_INK_BLOB_TYPE_SQUARE", NULL },
{ GIMP_INK_BLOB_TYPE_DIAMOND, "GIMP_INK_BLOB_TYPE_DIAMOND", NULL },
{ GIMP_INK_BLOB_TYPE_CIRCLE, NC_("ink-blob-type", "Circle"), NULL },
{ GIMP_INK_BLOB_TYPE_SQUARE, NC_("ink-blob-type", "Square"), NULL },
{ GIMP_INK_BLOB_TYPE_DIAMOND, NC_("ink-blob-type", "Diamond"), NULL },
{ 0, NULL, NULL }
};

View File

@ -88,9 +88,9 @@ GType gimp_ink_blob_type_get_type (void) G_GNUC_CONST;
typedef enum /*< pdb-skip >*/
{
GIMP_INK_BLOB_TYPE_CIRCLE,
GIMP_INK_BLOB_TYPE_SQUARE,
GIMP_INK_BLOB_TYPE_DIAMOND
GIMP_INK_BLOB_TYPE_CIRCLE, /*< desc="Circle" >*/
GIMP_INK_BLOB_TYPE_SQUARE, /*< desc="Square" >*/
GIMP_INK_BLOB_TYPE_DIAMOND /*< desc="Diamond" >*/
} GimpInkBlobType;