changeset 4733:76ccf9740183

[gaim-migrate @ 5048] Tooltipfixen committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 13 Mar 2003 06:29:56 +0000
parents c15e0699acae
children ece4045eebff
files src/buddy.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Thu Mar 13 06:08:56 2003 +0000
+++ b/src/buddy.c	Thu Mar 13 06:29:56 2003 +0000
@@ -361,6 +361,7 @@
 	layout = gtk_widget_create_pango_layout (gtkblist->tipwindow, NULL);
 	pango_layout_set_markup(layout, tooltiptext, strlen(tooltiptext));
 	pango_layout_set_wrap(layout, PANGO_WRAP_WORD);
+	pango_layout_set_width(layout, 300000);
 	style = gtkblist->tipwindow->style;
 
 	gtk_paint_flat_box (style, gtkblist->tipwindow->window, GTK_STATE_NORMAL, GTK_SHADOW_OUT,
@@ -409,6 +410,8 @@
 		gtk_widget_ensure_style (gtkblist->tipwindow);
 
 		layout = gtk_widget_create_pango_layout (gtkblist->tipwindow, NULL);
+		pango_layout_set_wrap(layout, PANGO_WRAP_WORD);
+		pango_layout_set_width(layout, 300000);
 		pango_layout_set_markup(layout, tooltiptext, strlen(tooltiptext));
 		scr_w = gdk_screen_width();
 		scr_h = gdk_screen_height();