[Sugar-devel] [PATCH sugar-artwork] Add style for naming alert

Benjamin Berg benzea at sugarlabs.org
Sun Sep 18 10:06:10 EDT 2011

On Sat, 2011-09-17 at 18:37 +0100, Daniel Drake wrote:
> Apply a white background to the naming alert window and the entry widget.
> The textbuffer widgets require a grey background still, as that is used
> to draw their borders.

> +# Naming alert needs white background for main window and for entry widget,
> +# but other backgrounds must be left grey as they are used for drawing borders
> +widget_class "*<SugarNamingAlert>"              style "white-bg"
> +widget_class "*<SugarNamingAlert>*<GtkEntry>"   style "white-bg-child"
> +

It might be a bit better to do:
widget_class "*<SugarNamingAlert>*"   style "white-bg-child"

and revert that again for the correct widgets. But I am fine with
keeping it as is.


More information about the Sugar-devel mailing list