[Xfce-bugs] [Bug 1099] New: Installing libgtk2.0-0=2.7.4* make labels on xfce4-taskbar exceed the buttons dimensions.

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Jul 31 11:29:37 CEST 2005


Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1099

           Summary: Installing libgtk2.0-0=2.7.4* make labels on xfce4-
                    taskbar exceed the buttons dimensions.
           Product: Xfce
           Version: 4.2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: Medium
         Component: xfce-utils
        AssignedTo: xfce-bugs at xfce.org
        ReportedBy: redclay at email.it


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);
--------------------------------------------------------------------------------

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Xfce-bugs mailing list