im.pidgin.pidgin: f2ac3f0cdea64fd5e603c5350cabf85ed619f5e3

charkins at pidgin.im charkins at pidgin.im
Tue Nov 13 17:57:10 EST 2007


-----------------------------------------------------------------
Revision: f2ac3f0cdea64fd5e603c5350cabf85ed619f5e3
Ancestor: 6b1a373e3e69276313a52397e9213c08c1d67846
Author: charkins at pidgin.im
Date: 2007-11-13T22:44:51
Branch: im.pidgin.pidgin

Modified files:
        pidgin/gtkdocklet-x11.c

ChangeLog: 

Use widget allocation height to determine docklet icon size on x11, rather
than the minimum of the height and width. This fixes cases where we are
getting randomly small allocation widths and ending up with a tiny docklet
icon. Fixes #2466.


-------------- next part --------------
============================================================
--- pidgin/gtkdocklet-x11.c	68cc7f0172e70e80c04e4d1b45a54c4bf5c2bd80
+++ pidgin/gtkdocklet-x11.c	603857d746f8e5d81bb5421e66c1fd47e2e79566
@@ -139,9 +139,9 @@ docklet_x11_resize_icon(GtkWidget *widge
 static void
 docklet_x11_resize_icon(GtkWidget *widget)
 {
-	if (docklet_height == MIN(widget->allocation.height, widget->allocation.width))
+	if (docklet_height == widget->allocation.height)
 		return;
-	docklet_height = MIN(widget->allocation.height, widget->allocation.width);
+	docklet_height = widget->allocation.height;
 	pidgin_docklet_update_icon();
 }
 


More information about the Commits mailing list