Index: ChangeLog
===================================================================
--- ChangeLog	(revision 1635)
+++ ChangeLog	(working copy)
@@ -1,3 +1,8 @@
+2008-06-29  Marek Paska  <paskma@gmail.com>
+
+	* libwnck-2.22.1/libwnck/tasklist.c: Requests height according to the number of rows. For better appearance.
+	Has connection with bug #513347.
+
 2008-06-17  Vincent Untz  <vuntz@gnome.org>
 
 	* configure.in: post-release bump to 2.23.5
Index: libwnck/tasklist.c
===================================================================
--- libwnck/tasklist.c	(revision 1635)
+++ libwnck/tasklist.c	(working copy)
@@ -1433,7 +1433,8 @@
   tasklist->priv->size_hints = (int *)g_array_free (array, FALSE);
 
   requisition->width = tasklist->priv->size_hints[0];
-  requisition->height = fake_allocation.height;
+  /* Save space when panel is vertical */
+  requisition->height = n_rows * tasklist->priv->max_button_height;
 }
 
 /**
