Mercurial > pidgin.yaz
diff 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 |
line wrap: on
line diff
--- a/console/libgnt/gntbox.c Sat Jun 24 08:54:33 2006 +0000 +++ b/console/libgnt/gntbox.c Sat Jun 24 10:10:53 2006 +0000 @@ -32,7 +32,7 @@ else { /* XXX: Position of the title might be configurable */ - pos = (widget->priv.width - pos - 2) / 2; + pos = (widget->priv.width - pos) / 2; } wbkgdset(widget->window, '\0' | COLOR_PAIR(GNT_COLOR_TITLE)); mvwprintw(widget->window, 0, pos, title);