comparison finch/libgnt/gntmenu.c @ 19133:c6282dc3fb9f

propagate from branch 'im.pidgin.pidgin' (head 6521407fd5a6d9175e6532a874a2735658c113e9) to branch 'im.pidgin.soc.2007.finchfeat' (head 47dd316bb08a5320b3e606960fd08c7678429657)
author Eric Polino <aluink@pidgin.im>
date Thu, 05 Jul 2007 02:41:26 +0000
parents ac904659104f 9a0f99ea664d
children 7a5025b8698c
comparison
equal deleted inserted replaced
19132:1b942e21ec1b 19133:c6282dc3fb9f
324 widget->priv.y = 0; 324 widget->priv.y = 0;
325 } else { 325 } else {
326 GNT_TREE(widget)->show_separator = FALSE; 326 GNT_TREE(widget)->show_separator = FALSE;
327 _gnt_tree_init_internals(GNT_TREE(widget), 2); 327 _gnt_tree_init_internals(GNT_TREE(widget), 2);
328 gnt_tree_set_col_width(GNT_TREE(widget), 1, 1); /* The second column is to indicate that it has a submenu */ 328 gnt_tree_set_col_width(GNT_TREE(widget), 1, 1); /* The second column is to indicate that it has a submenu */
329 gnt_tree_set_column_resizable(GNT_TREE(widget), 1, FALSE);
329 GNT_WIDGET_UNSET_FLAGS(widget, GNT_WIDGET_NO_BORDER); 330 GNT_WIDGET_UNSET_FLAGS(widget, GNT_WIDGET_NO_BORDER);
330 } 331 }
331 332
332 return widget; 333 return widget;
333 } 334 }