Index: tasklist.c
===================================================================
RCS file: /cvs/gnome/libwnck/libwnck/tasklist.c,v
retrieving revision 1.75
diff -u -r1.75 tasklist.c
--- tasklist.c	20 Feb 2005 23:30:35 -0000	1.75
+++ tasklist.c	22 Feb 2005 06:26:47 -0000
@@ -176,6 +176,7 @@
 
   gint monitor_num;
   GdkRectangle monitor_geometry;
+  GtkReliefStyle relief;
 };
 
 
@@ -521,6 +522,7 @@
   tasklist->priv->idle_callback_tag = 0;
 
   tasklist->priv->monitor_num = -1;
+  tasklist->priv->relief = GTK_RELIEF_NORMAL;
 
   atk_obj = gtk_widget_get_accessible (widget);
   atk_object_set_name (atk_obj, _("Window List"));
@@ -618,6 +620,26 @@
   gtk_widget_queue_resize (GTK_WIDGET (tasklist));
 }
 
+static void
+wnck_tasklist_set_relief_callback (WnckWindow *win, WnckTask *task,
+                                      WnckTasklist *tasklist)
+{
+  gtk_button_set_relief (GTK_BUTTON (task->button), tasklist->priv->relief);
+}
+
+void
+wnck_tasklist_set_button_relief (WnckTasklist *tasklist, GtkReliefStyle relief)
+{
+  if (relief == tasklist->priv->relief)
+    return;
+
+  tasklist->priv->relief = relief;
+
+  g_hash_table_foreach (tasklist->priv->win_hash,
+                        (GHFunc) wnck_tasklist_set_relief_callback,
+                        tasklist);
+}
+
 void
 wnck_tasklist_set_switch_workspace_on_unminimize (WnckTasklist  *tasklist,
 						  gboolean       switch_workspace_on_unminimize)
@@ -2622,7 +2644,7 @@
 
 
 static void
-wnck_task_create_widgets (WnckTask *task)
+wnck_task_create_widgets (WnckTask *task, GtkReliefStyle relief)
 {
   GtkWidget *table;
   GdkPixbuf *pixbuf;
@@ -2636,6 +2658,9 @@
     task->button = gtk_button_new ();
   else
     task->button = gtk_toggle_button_new ();
+
+  gtk_button_set_relief (GTK_BUTTON (task->button), relief);
+
   task->button_activate = 0;
   g_object_set_qdata (G_OBJECT (task->button),
 		      disable_sound_quark, GINT_TO_POINTER (TRUE));
@@ -2880,7 +2905,7 @@
   task->class_group = g_object_ref (wnck_window_get_class_group (window));
   task->tasklist = tasklist;
   
-  wnck_task_create_widgets (task);
+  wnck_task_create_widgets (task, tasklist->priv->relief);
 
   remove_startup_sequences_for_window (tasklist, window);
   
@@ -2900,7 +2925,7 @@
   task->class_group = g_object_ref (class_group);
   task->tasklist = tasklist;
 
-  wnck_task_create_widgets (task);
+  wnck_task_create_widgets (task, tasklist->priv->relief);
 
   g_signal_connect_object (task->button, "expose_event",
                            G_CALLBACK (wnck_task_class_group_expose),
@@ -2926,7 +2951,7 @@
   sn_startup_sequence_ref (task->startup_sequence);
   task->tasklist = tasklist;
   
-  wnck_task_create_widgets (task);
+  wnck_task_create_widgets (task, tasklist->priv->relief);
 
   return task;
 }
Index: tasklist.h
===================================================================
RCS file: /cvs/gnome/libwnck/libwnck/tasklist.h,v
retrieving revision 1.12
diff -u -r1.12 tasklist.h
--- tasklist.h	18 Apr 2004 20:34:03 -0000	1.12
+++ tasklist.h	22 Feb 2005 06:26:47 -0000
@@ -72,6 +72,8 @@
 				       gint          limit);
 void wnck_tasklist_set_include_all_workspaces (WnckTasklist *tasklist,
 					       gboolean      include_all_workspaces);
+void wnck_tasklist_set_button_relief (WnckTasklist *tasklist,
+                                      GtkReliefStyle relief);
 void wnck_tasklist_set_minimum_width (WnckTasklist *tasklist, gint size);
 gint wnck_tasklist_get_minimum_width (WnckTasklist *tasklist);
 void wnck_tasklist_set_minimum_height (WnckTasklist *tasklist, gint size);
