--- tasklist-original.c	2007-06-21 22:13:45.000000000 +0200
+++ tasklist-patched.c	2007-06-21 22:17:15.000000000 +0200
@@ -214,6 +214,8 @@
 
   gint minimum_width;
   gint minimum_height;
+  
+  gboolean maximize_button;
 
   WnckLoadIconFunction icon_loader;
   void *icon_loader_data;
@@ -680,6 +682,8 @@
 
   tasklist->priv->max_button_width = 0;
   tasklist->priv->max_button_height = 0;
+  
+  tasklist->priv->maximize_button = FALSE;
 
   tasklist->priv->switch_workspace_on_unminimize = FALSE;
 
@@ -1238,6 +1242,9 @@
   int grouping_limit;
   
   tasklist = WNCK_TASKLIST (widget);
+  
+  if(task->priv->maximize_button == TRUE)
+  	max_width = 4096;
 
   /* Calculate max needed height and width of the buttons */
   l = tasklist->priv->windows;
@@ -3657,6 +3664,8 @@
   gtk_widget_set_tooltip_text (task->button, text);
   g_free (text);
   
+  gtk_widget_set_size_request(task->button, 128, 30);
+  
   /* Set up signals */
   if (GTK_IS_TOGGLE_BUTTON (task->button))
     g_signal_connect_object (G_OBJECT (task->button), "toggled",
