Flat buttons in task list?

Jasper Huijsmans jasper at xfce.org
Fri Aug 11 20:49:37 CEST 2006

Ok, silliest patch ever to be discussed on xfce4-dev ;-) Does anybody 
else think that the taskbar looks better with flat buttons?

Index: netk-tasklist.c
--- netk-tasklist.c     (revision 22711)
+++ netk-tasklist.c     (working copy)
@@ -2213,6 +2213,7 @@

      task->button = gtk_toggle_button_new ();
      task->button_activate = 0;
+    gtk_button_set_relief (GTK_BUTTON (task->button), GTK_RELIEF_NONE);
      g_object_add_weak_pointer (G_OBJECT (task->button),
                                 (void **) &task->button);

Theoretically we could make it configurable, but I'm not sure I like 
that idea.


More information about the Xfce4-dev mailing list