Comment 78 for bug 532309

Revision history for this message
Paul Sladen (sladen) wrote :

Treinbold: I've tried Orta with GNOME Panel 2/Metacity. It appears that what is does is to have a gradient. The gradient is /not/ scaled but is simply laid on top of a background that matches the colour of the lowest row of pixels in the gradient.

In the case of 'Ambiance/gtk-2.0/apps/img/panel.png' the bottom row of pixels are #32322d, but in the 'Radiance/gtk-3.0/apps/gnome-panel.rc' configuration file is:

  style "panel"
  {
          ...
          bg_pixmap[NORMAL] = "img/panel.png"
  # bg[NORMAL] = "#4b4a46"
  }

where as in Orta the code is:

  style "panel"
  {
        xthickness = 1
        ythickness = 0

        bg_pixmap[NORMAL] = "/Panel/panel.png"

        engine "pixmap"
        {
                image
                {
                        function = FOCUS
                        recolorable = TRUE
                        file = "Fixes/none.png"
                        border = { 0, 0, 0, 0}
                        stretch = TRUE
                }
        }
  }

In which case, hopefully:

  stretch = TRUE

would be enough to do it.