From c2157aceb20024b61b22cd27691432ce3925f7a7 Mon Sep 17 00:00:00 2001 From: Peng Huang Date: Sat, 12 Sep 2009 17:49:37 +0800 Subject: [PATCH] Add error underline. --- ibus/attribute.py | 2 ++ src/ibusattribute.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ibus/attribute.py b/ibus/attribute.py index 51f2386..fbe4ecd 100644 --- a/ibus/attribute.py +++ b/ibus/attribute.py @@ -27,6 +27,7 @@ __all__ = ( "ATTR_UNDERLINE_SINGLE", "ATTR_UNDERLINE_DOUBLE", "ATTR_UNDERLINE_LOW", + "ATTR_UNDERLINE_ERROR", "Attribute", "AttributeUnderline", "AttributeForeground", @@ -47,6 +48,7 @@ ATTR_UNDERLINE_NONE = 0 ATTR_UNDERLINE_SINGLE = 1 ATTR_UNDERLINE_DOUBLE = 2 ATTR_UNDERLINE_LOW = 3 +ATTR_UNDERLINE_ERROR = 4 class Attribute(Serializable): __gtype_name__ = "PYIBusAttribute" diff --git a/src/ibusattribute.h b/src/ibusattribute.h index 28cfbac..c36d553 100644 --- a/src/ibusattribute.h +++ b/src/ibusattribute.h @@ -123,6 +123,7 @@ typedef enum { * @IBUS_ATTR_UNDERLINE_SINGLE: Single underline. * @IBUS_ATTR_UNDERLINE_DOUBLE: Double underline. * @IBUS_ATTR_UNDERLINE_LOW: Low underline ? %FIXME + * @IBUS_ATTR_UNDERLINE_ERROR: Error underline * * Type of IBusText attribute. */ @@ -131,6 +132,7 @@ typedef enum { IBUS_ATTR_UNDERLINE_SINGLE = 1, IBUS_ATTR_UNDERLINE_DOUBLE = 2, IBUS_ATTR_UNDERLINE_LOW = 3, + IBUS_ATTR_UNDERLINE_ERROR = 4, } IBusAttrUnderline; G_BEGIN_DECLS -- 2.7.4