# HG changeset patch # User Will Thompson # Date 1209075820 0 # Node ID 9bc93b4b0f926f186a88305fcfea339418f4c0e6 # Parent d146e87ba40d95b130d314387c65b6eff17411eb Move 2 of the 5 pixels' padding between paragraphs to above the line. The only noticable effect is to put 2 pixels of space above the first line in the entry box, which means the letters aren't rammed up against the top. (I seem to have just admitted to caring about 2 pixels in a text input.) diff -r d146e87ba40d -r 9bc93b4b0f92 pidgin/gtkimhtml.c --- a/pidgin/gtkimhtml.c Thu Apr 24 19:51:00 2008 +0000 +++ b/pidgin/gtkimhtml.c Thu Apr 24 22:23:40 2008 +0000 @@ -758,6 +758,7 @@ rect.height = tag_area.y + tag_area.height - rect.y + + gtk_text_view_get_pixels_above_lines(GTK_TEXT_VIEW(widget)) + gtk_text_view_get_pixels_below_lines(GTK_TEXT_VIEW(widget)); color = tag->name + 11; @@ -1463,7 +1464,8 @@ gtk_text_buffer_get_end_iter (imhtml->text_buffer, &iter); gtk_text_view_set_buffer(GTK_TEXT_VIEW(imhtml), imhtml->text_buffer); gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(imhtml), GTK_WRAP_WORD_CHAR); - gtk_text_view_set_pixels_below_lines(GTK_TEXT_VIEW(imhtml), 5); + gtk_text_view_set_pixels_above_lines(GTK_TEXT_VIEW(imhtml), 2); + gtk_text_view_set_pixels_below_lines(GTK_TEXT_VIEW(imhtml), 3); gtk_text_view_set_left_margin(GTK_TEXT_VIEW(imhtml), 2); gtk_text_view_set_right_margin(GTK_TEXT_VIEW(imhtml), 2); /*gtk_text_view_set_indent(GTK_TEXT_VIEW(imhtml), -15);*/