Mercurial > pidgin
changeset 18316:70325b0c5792
Use the new flags to make the tooltip look better.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 27 Jun 2007 20:38:10 +0000 |
parents | e659842fe66d |
children | 8aff2d3d6820 |
files | finch/gntblist.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);