* Marcus Moeller <[email protected]> [2013-02-17 15:21]:
> Hi all.
> 
> I have recently installed 12.3 and noticed that it's no longer
> possible to disable the border around the clock and the systray.
> It's not a major issue, but I personally prefer to not have borders
> around the clock. Does one of you know a hint on how to disable them
> in the current Adwaita theme?

Yeah, that's annoying, at least the GTK 2 theme unconditionally
applies a border, even is shadow is NONE. Attached is a patch to
fix the upstream Adwaita gtkrc and a gtkrc override which only
applies this for the Xfce panel.
-- 
Guido Berhoerster
--- gtkrc.orig	2013-02-17 16:39:26.153000000 +0100
+++ gtkrc	2013-02-17 17:18:45.168000000 +0100
@@ -1829,6 +1829,11 @@
         image
         {
                 function		= SHADOW
+                shadow                  = NONE
+        }
+        image
+        {
+                function		= SHADOW
                 file			= "Shadows/frame.png"				
                 border			= { 1, 1, 1, 1 }
                 stretch			= TRUE
pixmap_path "/usr/share/themes/Adwaita/gtk-2.0"

style "xfce_panel_frame"
{
        xthickness      = 1
        ythickness      = 1

        engine "pixmap"
        {
        image
        {
                function                = SHADOW
                shadow                  = NONE
        }
        image
        {
                function                = SHADOW
                file                    = "Shadows/frame.png"                   
        
                border                  = { 1, 1, 1, 1 }
                stretch                 = TRUE
        }
        }
}

widget_class "*XfcePanelWindow*<GtkFrame>" style "xfce_panel_frame"

Reply via email to