summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Teaford Cowan <bcowan@gentoo.org>2005-10-06 04:32:04 +0000
committerBrad Teaford Cowan <bcowan@gentoo.org>2005-10-06 04:32:04 +0000
commit5a49ff837561db7fa461205f013c252a1013149c (patch)
treea6ed23a307be4ab0b41fcf20dae52e7ec3d7ff40 /xfce-base/libxfcegui4/files
parentNew release: 2.12.1.1 (diff)
downloadgentoo-2-5a49ff837561db7fa461205f013c252a1013149c.tar.gz
gentoo-2-5a49ff837561db7fa461205f013c252a1013149c.tar.bz2
gentoo-2-5a49ff837561db7fa461205f013c252a1013149c.zip
Patch to fix problem with taskbar and gtk+-2.8, closes bug #102912.
(Portage version: 1.589-cvs)
Diffstat (limited to 'xfce-base/libxfcegui4/files')
-rw-r--r--xfce-base/libxfcegui4/files/digest-libxfcegui4-4.2.2-r11
-rw-r--r--xfce-base/libxfcegui4/files/taskbar-gtk-2.8.patch20
2 files changed, 21 insertions, 0 deletions
diff --git a/xfce-base/libxfcegui4/files/digest-libxfcegui4-4.2.2-r1 b/xfce-base/libxfcegui4/files/digest-libxfcegui4-4.2.2-r1
new file mode 100644
index 000000000000..aea7028a85bd
--- /dev/null
+++ b/xfce-base/libxfcegui4/files/digest-libxfcegui4-4.2.2-r1
@@ -0,0 +1 @@
+MD5 e88d6e8379eae60cee6dd6122bf3ae59 libxfcegui4-4.2.2.tar.gz 853844
diff --git a/xfce-base/libxfcegui4/files/taskbar-gtk-2.8.patch b/xfce-base/libxfcegui4/files/taskbar-gtk-2.8.patch
new file mode 100644
index 000000000000..9e792dcd6f78
--- /dev/null
+++ b/xfce-base/libxfcegui4/files/taskbar-gtk-2.8.patch
@@ -0,0 +1,20 @@
+--- 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 16:19:44.000000000 +0200
+@@ -2238,8 +2238,15 @@
+ if (task->tasklist->priv->show_label) {
+ task->label = gtk_label_new (text);
+ gtk_widget_show (task->label);
+- gtk_table_attach (GTK_TABLE (table),
++ if(GTK_CHECK_VERSION(2, 7, 0)){
++ gtk_label_set_ellipsize(task->label, PANGO_ELLIPSIZE_END);
++ gtk_table_attach (GTK_TABLE (table),
++ task->label, 1, 2, 0, 1, GTK_EXPAND|GTK_FILL|GTK_SHRINK, GTK_EXPAND, 0, 0);
++ }
++ else{
++ gtk_table_attach (GTK_TABLE (table),
+ task->label, 1, 2, 0, 1, GTK_EXPAND, GTK_EXPAND, 0, 0);
++ }
+ }
+
+ gtk_container_add (GTK_CONTAINER (task->button), table);
+