Mercurial > pidgin
comparison console/libgnt/gnttree.c @ 13856:3cdd05b9830a
[gaim-migrate @ 16315]
A GntTree can take focus.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 23 Jun 2006 08:42:07 +0000 |
parents | 5b288502a382 |
children | d341b5ac1a78 |
comparison
equal
deleted
inserted
replaced
13855:5b288502a382 | 13856:3cdd05b9830a |
---|---|
205 GntWidget *widget = g_object_new(GNT_TYPE_TREE, NULL); | 205 GntWidget *widget = g_object_new(GNT_TYPE_TREE, NULL); |
206 GntTree *tree = GNT_TREE(widget); | 206 GntTree *tree = GNT_TREE(widget); |
207 | 207 |
208 tree->hash = g_hash_table_new(g_direct_hash, g_direct_equal); | 208 tree->hash = g_hash_table_new(g_direct_hash, g_direct_equal); |
209 GNT_WIDGET_SET_FLAGS(widget, GNT_WIDGET_NO_SHADOW); | 209 GNT_WIDGET_SET_FLAGS(widget, GNT_WIDGET_NO_SHADOW); |
210 gnt_widget_set_take_focus(widget, TRUE); | |
210 | 211 |
211 return widget; | 212 return widget; |
212 } | 213 } |
213 | 214 |
214 void gnt_tree_set_visible_rows(GntTree *tree, int rows) | 215 void gnt_tree_set_visible_rows(GntTree *tree, int rows) |