Mercurial > pidgin
diff console/libgnt/gnttree.h @ 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 | cc60d0861337 |
line wrap: on
line diff
--- a/console/libgnt/gnttree.h Sat Jun 24 08:54:33 2006 +0000 +++ b/console/libgnt/gnttree.h Sat Jun 24 10:10:53 2006 +0000 @@ -27,10 +27,10 @@ { GntWidget parent; - int current; /* current selection */ + GntTreeRow *current; /* current selection */ - int top; /* The index in 'list' of the topmost visible item */ - int bottom; /* The index in 'list' of the bottommost visible item */ + GntTreeRow *top; /* The topmost visible item */ + GntTreeRow *bottom; /* The bottommost visible item */ GntTreeRow *root; /* The root of all evil */ @@ -66,13 +66,13 @@ gpointer gnt_tree_get_selection_data(GntTree *tree); -int gnt_tree_get_selection_index(GntTree *tree); - void gnt_tree_remove(GntTree *tree, gpointer key); /* Returns the visible line number of the selected row */ int gnt_tree_get_selection_visible_line(GntTree *tree); +void gnt_tree_change_text(GntTree *tree, gpointer key, const char *text); + G_END_DECLS #endif /* GNT_TREE_H */