Mercurial > pidgin
diff console/libgnt/test/multiwin.c @ 14123:f8ab496671fa
[gaim-migrate @ 16761]
Show scrollbars in trees and textviews.
committer: Tailor Script <tailor@pidgin.im>
| author | Sadrul Habib Chowdhury <imadil@gmail.com> |
|---|---|
| date | Tue, 15 Aug 2006 02:45:52 +0000 |
| parents | 7573bd40a190 |
| children | db2311999862 |
line wrap: on
line diff
--- a/console/libgnt/test/multiwin.c Mon Aug 14 21:46:17 2006 +0000 +++ b/console/libgnt/test/multiwin.c Tue Aug 15 02:45:52 2006 +0000 @@ -62,6 +62,14 @@ gnt_tree_add_row_after(GNT_TREE(tree), "6", gnt_tree_create_row(GNT_TREE(tree), "6", " long text", "a2"), "4", NULL); + int i; + for (i = 110; i < 130; i++) + { + char *s; + s = g_strdup_printf("%d", i); /* XXX: yes, leaking */ + gnt_tree_add_row_after(GNT_TREE(tree), s, gnt_tree_create_row(GNT_TREE(tree), s, " long text", "a2"), "4", NULL); + } + gnt_tree_set_row_flags(GNT_TREE(tree), "e", GNT_TEXT_FLAG_DIM); gnt_tree_set_selected(GNT_TREE(tree), "2");
