? toto.diff
Index: tasklist.c
===================================================================
RCS file: /cvs/gnome/libwnck/libwnck/tasklist.c,v
retrieving revision 1.75
diff -u -p -r1.75 tasklist.c
--- tasklist.c	20 Feb 2005 23:30:35 -0000	1.75
+++ tasklist.c	26 Feb 2005 21:04:22 -0000
@@ -62,6 +62,8 @@ typedef struct _WnckTaskClass   WnckTask
 #define DEFAULT_WIDTH 1
 #define DEFAULT_HEIGHT 48
 
+#define MAX_CHAR_WIDTH 250
+
 #define N_SCREEN_CONNECTIONS 5
 
 #define POINT_IN_RECT(xcoord, ycoord, rect) \
@@ -2665,6 +2667,7 @@ wnck_task_create_widgets (WnckTask *task
   gtk_misc_set_alignment (GTK_MISC (task->label), 0.0, 0.5);
   gtk_label_set_ellipsize (GTK_LABEL (task->label),
                           PANGO_ELLIPSIZE_END);
+  gtk_label_set_max_width_chars (GTK_LABEL (task->label), MAX_CHAR_WIDTH);
 
   if (wnck_task_get_demands_attention (task))
     make_gtk_label_bold ((GTK_LABEL (task->label)));
