[Sugar-devel] [PATCH] GtkLabel: make the background transparent
Manuel Quiñones
manuq at laptop.org
Wed Aug 29 07:05:05 EDT 2012
Yes I've seen we need this, I have a patched artwork in the shell
port with it. Please push.
2012/8/29 Simon Schampijer <simon at schampijer.de>:
> From: Simon Schampijer <simon at laptop.org>
>
> The GtkLabel does respect background css properties now [1][2]. Drawing
> them transparent by default gives us the same behavior us before.
>
> Signed-off-by: Simon Schampijer <simon at laptop.org>
>
> [1] http://git.gnome.org/browse/gtk+/commit/?id=03bf85ba07f455a92283a3030fb8441b776b7e38
> [2] https://bugzilla.gnome.org/show_bug.cgi?id=670743
> ---
> gtk3/theme/gtk-widgets.css.em | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
> index 5549970..96aa3fa 100644
> --- a/gtk3/theme/gtk-widgets.css.em
> +++ b/gtk3/theme/gtk-widgets.css.em
> @@ -138,6 +138,10 @@ icon_large = icon_base * 5
> color: @black;
> }
>
> +GtkLabel, GtkLabel:insensitive {
> + background-color: transparent;
> +}
> +
> /* Handle this differently? */
> .window *:insensitive {
> background-color: @panel_grey;
> --
> 1.7.11.4
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
--
.. manuq ..
More information about the Sugar-devel
mailing list