Installing libgtk2.0-0=2.7.4* make labels on xfce4-taskbar exceed the buttons dimensions. 1. install xfce4-panel=4.2.2-1, libxfcegui4-3=4.2.2-1 (from os-cillation repository) 2. install libgtk2.0-bin=2.7.4-0ubuntu1 (or version from experimental) 3. restart xfce4-panel with xfce4-taskbar-plugin this patch should fix this bug: -------------------------------------------------------------------------------- --- libxfcegui4-4.2.2/libxfcegui4/netk-tasklist.c 2005-05-15 09:53:29.000000000 +0200 +++ libxfcegui4-4.2.2.new/libxfcegui4/netk-tasklist.c 2005-07-31 11:11:33.000000000 +0200 @@ -2237,9 +2237,11 @@ if (task->tasklist->priv->show_label) { task->label = gtk_label_new (text); + gtk_label_set_width_chars(task->label, 1000); + gtk_label_set_ellipsize(task->label, PANGO_ELLIPSIZE_END); gtk_widget_show (task->label); gtk_table_attach (GTK_TABLE (table), - task->label, 1, 2, 0, 1, GTK_EXPAND, GTK_EXPAND, 0, 0); + task->label, 1, 2, 0, 1, GTK_EXPAND|GTK_FILL|GTK_SHRINK, GTK_EXPAND, 0, 0); } gtk_container_add (GTK_CONTAINER (task->button), table); --------------------------------------------------------------------------------
Created attachment 280 Patch proposed
That only works for gtk >= 2.6. IIRC, xfce 4.2.2 still supports gtk 2.2. I hate it when gtk devs change the behaviour of widgets :( We probably should add it with #ifdef's around it.
Created attachment 281 Patch proposed added gtk version check
*** Bug 1124 has been marked as a duplicate of this bug. ***
*** Bug 1131 has been marked as a duplicate of this bug. ***
(In reply to comment #3) > Created an attachment (id=281) [edit] > Patch proposed > > added gtk version check Hey Vittorio, Sorry for not responding earlier. I noticed that you removed the ellipsize call from the second patch. In that case I don't think there is a problem with earlier gtk versions. I added it to SVN trunk (without the check) and it works well in gtk 2.8.2. The ellipsize might still be a nice feature for gtk 2.6 and higher, so I'll keep the report open for now. Also, I should add the fix to the 4.2 branch after I check that it does indeed work for gtk 2.4. Thanks a lot for the patches!
This is already done in SVN, why do we need that patch at all ?
Is this fixed on 4.2 branch also?
Yes, of course.
Then let's close it ^_^
*** Bug 1210 has been marked as a duplicate of this bug. ***
*** Bug 1212 has been marked as a duplicate of this bug. ***
*** Bug 1310 has been marked as a duplicate of this bug. ***
*** Bug 1331 has been marked as a duplicate of this bug. ***