[textbox] Remove bg property in widget_tell
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
1185d8b156
commit
02c31eae05
|
@ -80,11 +80,6 @@ textbox_tell(widget_t *widget, char *property, char *new_value)
|
||||||
return WIDGET_NOERROR;
|
return WIDGET_NOERROR;
|
||||||
else
|
else
|
||||||
return WIDGET_ERROR_FORMAT_COLOR;
|
return WIDGET_ERROR_FORMAT_COLOR;
|
||||||
else if(!a_strcmp(property, "bg"))
|
|
||||||
if(draw_color_new(globalconf.connection, widget->statusbar->screen, new_value, &d->style.bg))
|
|
||||||
return WIDGET_NOERROR;
|
|
||||||
else
|
|
||||||
return WIDGET_ERROR_FORMAT_COLOR;
|
|
||||||
else if(!a_strcmp(property, "font"))
|
else if(!a_strcmp(property, "font"))
|
||||||
{
|
{
|
||||||
if((newfont = draw_font_new(globalconf.connection, globalconf.default_screen, new_value)))
|
if((newfont = draw_font_new(globalconf.connection, globalconf.default_screen, new_value)))
|
||||||
|
|
Loading…
Reference in New Issue