Re: draw applet without theme



On Thu, 2005-12-15 at 18:09 -0500, Robert Love wrote:
> On Thu, 2005-12-15 at 22:31 +0000, Antony Mee wrote:
> > I'm using a fairly standard "Simple" theme and I see a very slightly 
> > darker grey (relative to the notification area) in the background  of 
> > the nm-applet icon when deactivated. It is very subtle, to the point of 
> > making me wonder if it's an illusion.  I never found out why when I went 
> > poking around the code but maybe that is a menu bar artefact too? Anyone 
> > else see that?
> 
> Most of us  ;-)
> 
> Many themes draw a small gradient on the button of menu items, to set
> the menu apart from the surrounding UI.  NM embeds its tray icon in a
> menu (to get menu-like behavior -- see Dan's earlier email) and thus
> your theme's gradient is drawn.
> 
> As Dan said, we'd like to get rid of the gradient, but want to keep the
> menu-like behavior.

Really, just the slightly extended highlight area.  Perhaps sticking an
alignment in the top-level applet widget, and setting padding on it?  As
it stands, the applet's actual area is about 20x20.  It should be padded
to be about 32x22 somehow.  I tried, but GTK+ made me angry.  Likely I
just need to as Owen or Jonathan or somebody.

Dan





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]