Mercurial > pidgin.yaz
comparison pidgin/gtkroomlist.c @ 30909:25e200cb3532
propagate from branch 'im.pidgin.pidgin' (head dca20e09164518b0f7a773edd7e9649f41d8873d)
to branch 'im.pidgin.cpw.malu.xmpp.google_refactor' (head 7823c556f2d1bbca43f5ef9f0fea30cabc5d313f)
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Tue, 31 Aug 2010 18:28:10 +0000 |
parents | 351d07aefb09 |
children | 917c597beb97 |
comparison
equal
deleted
inserted
replaced
30908:c44ec533a48c | 30909:25e200cb3532 |
---|---|
359 int current_height, max_width; | 359 int current_height, max_width; |
360 int max_text_width; | 360 int max_text_width; |
361 GtkTextDirection dir = gtk_widget_get_direction(GTK_WIDGET(grl->tree)); | 361 GtkTextDirection dir = gtk_widget_get_direction(GTK_WIDGET(grl->tree)); |
362 | 362 |
363 style = grl->tipwindow->style; | 363 style = grl->tipwindow->style; |
364 | |
365 max_text_width = 0; | |
366 | 364 |
367 max_text_width = MAX(grl->tip_width, grl->tip_name_width); | 365 max_text_width = MAX(grl->tip_width, grl->tip_name_width); |
368 max_width = TOOLTIP_BORDER + SMALL_SPACE + max_text_width + TOOLTIP_BORDER; | 366 max_width = TOOLTIP_BORDER + SMALL_SPACE + max_text_width + TOOLTIP_BORDER; |
369 | 367 |
370 current_height = 12; | 368 current_height = 12; |