pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/31840: pkg/libxfce4gui: labels on xfce4-taskbar exceed the buttons dimensions
>Number: 31840
>Category: pkg
>Synopsis: pkg/libxfce4gui: labels on xfce4-taskbar exceed the buttons
>dimensions
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 16 22:26:00 +0000 2005
>Originator: Frederic Gonieaux
>Release: NetBSD 3.99.9
>Organization:
>Environment:
>Description:
Installing gtk2+-2.8.6 make labels on xfce4-taskbar exceed the buttons
dimensions.
The patch from http://bugzilla.xfce.org/show_bug.cgi?id=1099 fixes the bug.
>How-To-Repeat:
>Fix:
diff -ur libxfce4gui.orig/Makefile libxfce4gui/Makefile
--- libxfce4gui.orig/Makefile 2005-10-16 23:30:20.000000000 +0200
+++ libxfce4gui/Makefile 2005-10-16 21:42:37.000000000 +0200
@@ -7,7 +7,7 @@
CATEGORIES= x11
COMMENT= XFce4 widget library
-PKGREVISION= 1
+PKGREVISION= 2
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc/html
diff -ur libxfce4gui.orig/distinfo libxfce4gui/distinfo
--- libxfce4gui.orig/distinfo 2005-10-16 23:30:20.000000000 +0200
+++ libxfce4gui/distinfo 2005-10-16 21:35:09.000000000 +0200
@@ -3,3 +3,4 @@
SHA1 (libxfcegui4-4.2.2.tar.gz) = af4c1b9ab5da6751dca3334bf9cc4c0626d5454a
RMD160 (libxfcegui4-4.2.2.tar.gz) = b38b1e6d76bef0219a2722af0d6421491a7dc492
Size (libxfcegui4-4.2.2.tar.gz) = 853844 bytes
+SHA1 (patch-aa) = 9a6c28500785a5eb2e441bf4fbbce8a0713c797e
and add patch-aa:
$NetBSD$
--- libxfcegui4/netk-tasklist.c.orig 2005-05-15 09:53:29.000000000 +0200
+++ libxfcegui4/netk-tasklist.c
@@ -2237,9 +2237,11 @@ netk_task_create_widgets (NetkTask * tas
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);
Home |
Main Index |
Thread Index |
Old Index