[Bug 46863] Re: Close icon on gaim conversation tab is zoomed out of proportion
Richard Laager
rlaager at users.sf.net
Sat May 27 05:24:16 UTC 2006
I assume we're not dealing with that icon properly. Here's some code
from gtkconv.c:
/* Close button. */
gtkconv->close = gtk_button_new();
gtk_icon_size_lookup(GTK_ICON_SIZE_MENU, &close_button_width, &close_button_height);
if (gtk_check_version(2, 4, 2) == NULL) {
/* Need to account for extra padding around the gtkbutton */
gtk_widget_style_get(GTK_WIDGET(gtkconv->close),
"focus-line-width", &focus_width,
"focus-padding", &focus_pad,
NULL);
close_button_width += (focus_width + focus_pad) * 2;
close_button_height += (focus_width + focus_pad) * 2;
}
gtk_widget_set_size_request(GTK_WIDGET(gtkconv->close),
close_button_width, close_button_height);
I have no idea why we're doing that, but that's probably the source of
it. :)
--
Close icon on gaim conversation tab is zoomed out of proportion
https://launchpad.net/bugs/46863
More information about the desktop-bugs
mailing list