[textbox] Remove bg property in widget_tell

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-04-25 17:55:36 +02:00
parent 1185d8b156
commit 02c31eae05
1 changed files with 0 additions and 5 deletions

View File

@ -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)))