[Sugar-devel] [PATCH sugar-toolkit-gtk3] Style the palette menu header - SL #3879 #3836
Gonzalo Odiard
gonzalo at laptop.org
Thu Sep 13 07:42:45 EDT 2012
On Thu, Sep 13, 2012 at 4:53 AM, Simon Schampijer <simon at schampijer.de>wrote:
> Excellent, thanks for looking into this!
>
>
> On 09/13/2012 06:26 AM, Manuel Quiñones wrote:
> > - Make the first item of the menu a custom class, to make the children
> > widget allocate using all the available space. And so it can be
> > styled in the theme.
> >
> > - Remove the set_sensitive(False) from the header item, this was just
> > for styling to make it look like an informational, unclickeable
> > item. But this will be done in the theme instead.
>
> Visually I like it much better now. It is a bit cheeky as the header is
> still a sensitive menu item but the hovering is not visible. It still acts
> as a menuitem for example: if you raise the owner Palette and use the
> cursor keys to navigate the header is still the first item. Also clicking
> on the item does bring the Palette down. Let's note this as well in the
> description.
>
> All that said, I think this is the best we can get for now, I actually
> looked at this myself for a while how to make the menuitem non sensitive
> but do not gray it out when drawing. Better ideas welcome.
>
>
There are any problem with keep the set_sensitive(False) in the header
item?
Gonzalo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120913/734164cc/attachment.html>
More information about the Sugar-devel
mailing list