# HG changeset patch # User Sadrul Habib Chowdhury # Date 1209691723 0 # Node ID 6079335eb01c0349576896a184736623eb9730e0 # Parent 6036f4a57535d33744af39cf1c6fa23af784bb9a Slightly change the maximum height of the entry box. This seems to fix the issue where the window would also resize with the entry box. diff -r 6036f4a57535 -r 6079335eb01c pidgin/gtkconv.c --- a/pidgin/gtkconv.c Thu May 01 22:44:16 2008 +0000 +++ b/pidgin/gtkconv.c Fri May 02 01:28:43 2008 +0000 @@ -4458,7 +4458,7 @@ GdkRectangle oneline; int height, diff; int pad_top, pad_inside, pad_bottom; - int max_height = gtkconv->tab_cont->allocation.height / 2; + int max_height = (gtkconv->imhtml->allocation.height + gtkconv->entry->allocation.height) / 2; pad_top = gtk_text_view_get_pixels_above_lines(GTK_TEXT_VIEW(gtkconv->entry)); pad_bottom = gtk_text_view_get_pixels_below_lines(GTK_TEXT_VIEW(gtkconv->entry));