pidgin/gtkconv.c

changeset 22956
f6d4e67becd9
parent 22953
ea1dadf8fb40
child 22957
408bfa72cdd5
equal deleted inserted replaced
22954:f8285df97c70 22956:f6d4e67becd9
4456 GtkTextIter iter; 4456 GtkTextIter iter;
4457 int lines; 4457 int lines;
4458 GdkRectangle oneline; 4458 GdkRectangle oneline;
4459 int height, diff; 4459 int height, diff;
4460 int pad_top, pad_inside, pad_bottom; 4460 int pad_top, pad_inside, pad_bottom;
4461 int max_height = gtkconv->tab_cont->allocation.height / 2; 4461 int max_height = (gtkconv->imhtml->allocation.height + gtkconv->entry->allocation.height) / 2;
4462 4462
4463 pad_top = gtk_text_view_get_pixels_above_lines(GTK_TEXT_VIEW(gtkconv->entry)); 4463 pad_top = gtk_text_view_get_pixels_above_lines(GTK_TEXT_VIEW(gtkconv->entry));
4464 pad_bottom = gtk_text_view_get_pixels_below_lines(GTK_TEXT_VIEW(gtkconv->entry)); 4464 pad_bottom = gtk_text_view_get_pixels_below_lines(GTK_TEXT_VIEW(gtkconv->entry));
4465 pad_inside = gtk_text_view_get_pixels_inside_wrap(GTK_TEXT_VIEW(gtkconv->entry)); 4465 pad_inside = gtk_text_view_get_pixels_inside_wrap(GTK_TEXT_VIEW(gtkconv->entry));
4466 4466

mercurial