Mercurial > pidgin.yaz
diff console/libgnt/gntmenu.c @ 14906:1bd0456fe1c3
[gaim-migrate @ 17678]
Make sure the menus show up correctly.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 06 Nov 2006 01:11:19 +0000 |
parents | 065e7ac30338 |
children | 682022b8a129 |
line wrap: on
line diff
--- a/console/libgnt/gntmenu.c Mon Nov 06 00:14:30 2006 +0000 +++ b/console/libgnt/gntmenu.c Mon Nov 06 01:11:19 2006 +0000 @@ -115,6 +115,7 @@ item->priv.y = widget->priv.y + gnt_tree_get_selection_visible_line(GNT_TREE(menu)); } gnt_widget_set_position(GNT_WIDGET(sub), item->priv.x, item->priv.y); + GNT_WIDGET_UNSET_FLAGS(GNT_WIDGET(sub), GNT_WIDGET_INVISIBLE); gnt_widget_draw(GNT_WIDGET(sub)); } else if (item->callback) { item->callback(item, item->callbackdata);