Wed, 27 Jun 2007 20:38:10 +0000
Use the new flags to make the tooltip look better.
| finch/gntblist.c | file | annotate | diff | comparison | revisions |
--- a/finch/gntblist.c Wed Jun 27 20:35:11 2007 +0000 +++ b/finch/gntblist.c Wed Jun 27 20:38:10 2007 +0000 @@ -1422,9 +1422,10 @@ str = make_sure_text_fits(str); gnt_util_get_text_bound(str->str, &w, &h); - h = MAX(2, h); + h = MAX(1, h); tv = gnt_text_view_new(); gnt_widget_set_size(tv, w + 1, h); + gnt_text_view_set_flag(GNT_TEXT_VIEW(tv), GNT_TEXT_VIEW_NO_SCROLL); gnt_box_add_widget(GNT_BOX(box), tv); gnt_widget_set_position(box, x, y);