Mercurial > pidgin
comparison console/libgnt/gnttextview.c @ 13931:917a71dd02eb
[gaim-migrate @ 16458]
Add text-attributes for rows in a GntTree. Use this feature to dim
idle buddies in the buddylist.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 08 Jul 2006 07:13:29 +0000 |
parents | 3dbcbc5e57e1 |
children | 25be562aaca8 |
comparison
equal
deleted
inserted
replaced
13930:3dbcbc5e57e1 | 13931:917a71dd02eb |
---|---|
5 SIGS = 1, | 5 SIGS = 1, |
6 }; | 6 }; |
7 | 7 |
8 typedef struct | 8 typedef struct |
9 { | 9 { |
10 GntTextViewFlags flags; | 10 GntTextFormatFlags flags; |
11 char *text; | 11 char *text; |
12 } GntTextSegment; | 12 } GntTextSegment; |
13 | 13 |
14 typedef struct | 14 typedef struct |
15 { | 15 { |
160 view->list = g_list_append(view->list, line); | 160 view->list = g_list_append(view->list, line); |
161 | 161 |
162 return widget; | 162 return widget; |
163 } | 163 } |
164 | 164 |
165 void gnt_text_view_append_text_with_flags(GntTextView *view, const char *text, GntTextViewFlags flags) | 165 void gnt_text_view_append_text_with_flags(GntTextView *view, const char *text, GntTextFormatFlags flags) |
166 { | 166 { |
167 GntWidget *widget = GNT_WIDGET(view); | 167 GntWidget *widget = GNT_WIDGET(view); |
168 int fl = 0; | 168 int fl = 0; |
169 char **split; | 169 char **split; |
170 int i; | 170 int i; |