Mercurial > pidgin
comparison console/libgnt/gntbox.c @ 13864:c7d84d4c5afa
[gaim-migrate @ 16328]
Change the internals of GntTree. The change was required to
accommodate expand/collapsing of the groups.
I have added tooltips for Groups as well, which shows the
online/total count. Do we like it?
I have also added emblems at the beginning of the names of
the buddies to indicate their status. Currently I am using
ASCII-emblems ('o' for available, '.' for away, 'x' for
offline (but I am not showing any offline buddies yet)), but
I plan on using some cool unicode-emblems Sean suggested to me.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 24 Jun 2006 10:10:53 +0000 |
parents | c1e3f7c75c3f |
children | cf6f32628f8f |
comparison
equal
deleted
inserted
replaced
13863:cf3eb9f311b2 | 13864:c7d84d4c5afa |
---|---|
30 pos = 1; | 30 pos = 1; |
31 } | 31 } |
32 else | 32 else |
33 { | 33 { |
34 /* XXX: Position of the title might be configurable */ | 34 /* XXX: Position of the title might be configurable */ |
35 pos = (widget->priv.width - pos - 2) / 2; | 35 pos = (widget->priv.width - pos) / 2; |
36 } | 36 } |
37 wbkgdset(widget->window, '\0' | COLOR_PAIR(GNT_COLOR_TITLE)); | 37 wbkgdset(widget->window, '\0' | COLOR_PAIR(GNT_COLOR_TITLE)); |
38 mvwprintw(widget->window, 0, pos, title); | 38 mvwprintw(widget->window, 0, pos, title); |
39 g_free(title); | 39 g_free(title); |
40 } | 40 } |