[Sugar-devel] [sugar-artwork] Apply theme in RadioToolButton
Manuel Quiñones
manuq at laptop.org
Tue Aug 14 09:10:52 EDT 2012
Thanks, this patch fixes the issue.
The tool buttons still need some margin around, but that's a separate issue.
2012/8/13 <godiard at sugarlabs.org>:
> From: Gonzalo Odiard <godiard at gmail.com>
>
> This issue is displayed in the activities ported to gtk3,
> Finance SL#3739, Jukebox SL#3765, and Paint.
>
> Signed-off-by: Gonzalo Odiard <gonzalo at laptop.org>
Acked-by: Manuel Quiñones <manuq at laptop.org>
> ---
> gtk3/theme/gtk-widgets.css.em | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
> index f3e4fde..62ca475 100644
> --- a/gtk3/theme/gtk-widgets.css.em
> +++ b/gtk3/theme/gtk-widgets.css.em
> @@ -521,6 +521,7 @@ background-color: @black;
> }
>
> .toolbar GtkToolButton .button,
> +.toolbar SugarRadioToolButton *,
> SugarPaletteWindowWidget SugarRadioToolButton *,
> SugarPaletteWindowWidget GtkToolButton .button{
> background-color: transparent;
> @@ -533,6 +534,7 @@ SugarPaletteWindowWidget GtkToolButton .button:prelight {
> background-color: @black;
> }
>
> +.toolbar SugarRadioToolButton *:active,
> SugarPaletteWindowWidget SugarRadioToolButton *:active {
> background-color: @button_grey;
> border-radius: $(toolbutton_padding)px;
> --
> 1.7.11.2
>
--
.. manuq ..
More information about the Sugar-devel
mailing list