SOURCES: libxfcegui4-taskbar.patch - adjusted to 4.2.3

troll troll at pld-linux.org
Wed Nov 9 05:28:24 CET 2005


Author: troll                        Date: Wed Nov  9 04:28:24 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- adjusted to 4.2.3

---- Files affected:
SOURCES:
   libxfcegui4-taskbar.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/libxfcegui4-taskbar.patch
diff -u SOURCES/libxfcegui4-taskbar.patch:1.1 SOURCES/libxfcegui4-taskbar.patch:1.2
--- SOURCES/libxfcegui4-taskbar.patch:1.1	Tue Sep  6 00:33:06 2005
+++ SOURCES/libxfcegui4-taskbar.patch	Wed Nov  9 05:28:19 2005
@@ -1,18 +1,17 @@
---- 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,14 @@
+--- libxfcegui4-4.2.3/libxfcegui4/netk-tasklist.c~	2005-11-09 03:56:14.035364288 +0100
++++ libxfcegui4-4.2.3/libxfcegui4/netk-tasklist.c	2005-11-09 05:21:28.931781840 +0100
+@@ -2238,8 +2238,13 @@
+ 
+     text = netk_task_get_text (task);
+ 
+-    gtk_table_attach (GTK_TABLE (table),
++    if(GTK_CHECK_VERSION(2, 7, 0)) {
++	gtk_table_attach (GTK_TABLE (table),
++                      task->image, 0, 1, 0, 1, GTK_EXPAND|GTK_FILL|GTK_SHRINK, GTK_EXPAND, 0, 0);
++    } else {
++	gtk_table_attach (GTK_TABLE (table),
+                       task->image, 0, 1, 0, 1, 0, GTK_EXPAND, 0, 0);
++    }
+ 
      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_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);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/libxfcegui4-taskbar.patch?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list