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

Daniel Drake dsd at laptop.org
Tue Sep 27 09:54:43 EDT 2011


On Sun, Sep 18, 2011 at 3:06 PM, Benjamin Berg <benzea at sugarlabs.org> wrote:
> 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.

pushed as-is, thanks

Daniel


More information about the Sugar-devel mailing list