Mercurial > pidgin
comparison console/libgnt/gnttextview.c @ 13971:df8183b7fa2c
[gaim-migrate @ 16529]
Make multi-column trees look nice.
Show the list of users in a chat-room after you join.
Add some commands (eg. /me, /help etc., all Xeroxed from gtkconv.c)
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 20 Jul 2006 17:38:09 +0000 |
parents | 841a5ffbfee4 |
children | 7573bd40a190 |
comparison
equal
deleted
inserted
replaced
13970:4a2e9c494bed | 13971:df8183b7fa2c |
---|---|
269 fl |= COLOR_PAIR(GNT_COLOR_NORMAL); | 269 fl |= COLOR_PAIR(GNT_COLOR_NORMAL); |
270 | 270 |
271 return fl; | 271 return fl; |
272 } | 272 } |
273 | 273 |
274 void gnt_text_view_clear(GntTextView *view) | |
275 { | |
276 GntTextLine *line; | |
277 | |
278 g_list_foreach(view->list, free_text_line, NULL); | |
279 g_list_free(view->list); | |
280 view->list = NULL; | |
281 | |
282 line = g_new0(GntTextLine, 1); | |
283 view->list = g_list_append(view->list, line); | |
284 | |
285 if (GNT_WIDGET(view)->window) | |
286 gnt_widget_draw(GNT_WIDGET(view)); | |
287 } | |
288 |