im.pidgin.pidgin: 046387959e096233195d912c7cc3f0b62f93eca8
charkins at pidgin.im
charkins at pidgin.im
Tue Nov 13 18:35:43 EST 2007
-----------------------------------------------------------------
Revision: 046387959e096233195d912c7cc3f0b62f93eca8
Ancestor: f2ac3f0cdea64fd5e603c5350cabf85ed619f5e3
Author: charkins at pidgin.im
Date: 2007-11-13T23:25:54
Branch: im.pidgin.pidgin
Modified files:
pidgin/gtkdocklet-x11.c
ChangeLog:
disapproval of revision 'f2ac3f0cdea64fd5e603c5350cabf85ed619f5e3'
-------------- next part --------------
============================================================
--- pidgin/gtkdocklet-x11.c 603857d746f8e5d81bb5421e66c1fd47e2e79566
+++ pidgin/gtkdocklet-x11.c 68cc7f0172e70e80c04e4d1b45a54c4bf5c2bd80
@@ -139,9 +139,9 @@ docklet_x11_resize_icon(GtkWidget *widge
static void
docklet_x11_resize_icon(GtkWidget *widget)
{
- if (docklet_height == widget->allocation.height)
+ if (docklet_height == MIN(widget->allocation.height, widget->allocation.width))
return;
- docklet_height = widget->allocation.height;
+ docklet_height = MIN(widget->allocation.height, widget->allocation.width);
pidgin_docklet_update_icon();
}
More information about the Commits
mailing list