summaryrefslogtreecommitdiff
path: root/src/glibext
diff options
context:
space:
mode:
Diffstat (limited to 'src/glibext')
-rw-r--r--src/glibext/gbufferline.c10
-rw-r--r--src/glibext/gbufferline.h1
2 files changed, 11 insertions, 0 deletions
diff --git a/src/glibext/gbufferline.c b/src/glibext/gbufferline.c
index 701cb4b..2527124 100644
--- a/src/glibext/gbufferline.c
+++ b/src/glibext/gbufferline.c
@@ -296,6 +296,16 @@ static void g_buffer_line_class_init(GBufferLineClass *class)
attrib = pango_attr_foreground_new(16895, 16895, 53759);
pango_attr_list_insert(class->attribs[RTT_REGISTER], attrib);
+ /* RTT_PUNCT */
+
+ class->attribs[RTT_PUNCT] = pango_attr_list_new();
+
+ attrib = pango_attr_foreground_new(0, 0, 0);
+ pango_attr_list_insert(class->attribs[RTT_PUNCT], attrib);
+
+ attrib = pango_attr_weight_new(PANGO_WEIGHT_BOLD);
+ pango_attr_list_insert(class->attribs[RTT_PUNCT], attrib);
+
/* RTT_HOOK */
class->attribs[RTT_HOOK] = pango_attr_list_new();
diff --git a/src/glibext/gbufferline.h b/src/glibext/gbufferline.h
index 504f0a3..7ee3361 100644
--- a/src/glibext/gbufferline.h
+++ b/src/glibext/gbufferline.h
@@ -75,6 +75,7 @@ typedef enum _RenderingTagType
RTT_REGISTER, /* Registre */
+ RTT_PUNCT, /* Signes de ponctuation */
RTT_HOOK, /* Crochets '[' et ']' */
RTT_SIGNS, /* Signes '+', '-' et '*' */
RTT_LTGT, /* Caractères '<' et '>' */