[Sugar-devel] [PATCH sugar-artwork] Use 0px radius in GtkToolButton prelight state

Agustin Zubiaga Sanchez aguz at sugarlabs.org
Mon Oct 1 22:55:41 EDT 2012


Hi Manu, if you put the mouse over a toolbutton with the gtk2 theme, you
will see a black square in the background  (a toolbutton without a
border-radius). And this patch implements it...

Do you understand?

Regards,
aguz

2012/10/1 Manuel Quiñones <manuq at laptop.org>

> Hey Agus,
>
> What is the issue you are trying to fix?  You must tell this in the
> commit message.
>
> If we change the border size in the different toolbutton states, is
> possible that they provoke a resize in the toolbar.
>
> 2012/9/23 Agustin Zubiaga <aguz at sugarlabs.org>:
> > Signed-off-by: Agustin Zubiaga <aguz at sugarlabs.org>
> > ---
> >  gtk3/theme/gtk-widgets.css.em |    1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/gtk3/theme/gtk-widgets.css.em
> b/gtk3/theme/gtk-widgets.css.em
> > index 24a4c17..97b9c23 100644
> > --- a/gtk3/theme/gtk-widgets.css.em
> > +++ b/gtk3/theme/gtk-widgets.css.em
> > @@ -543,6 +543,7 @@ SugarPaletteWindowWidget GtkToolButton .button {
> >  .toolbar GtkToolButton .button:prelight,
> >  SugarPaletteWindowWidget GtkToolButton .button:prelight {
> >      background-color: @black;
> > +    border-radius: 0px;
> >  }
> >
> >  .toolbar SugarRadioToolButton *:active,
> > --
> > 1.7.10.4
> >
> > _______________________________________________
> > Sugar-devel mailing list
> > Sugar-devel at lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
>
> --
> .. manuq ..
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20121001/d7b20fed/attachment.html>


More information about the Sugar-devel mailing list