[tasklist] Add show_icons property handling

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Lucas de Vries 2008-06-02 14:24:57 +02:00 committed by Julien Danjou
parent d8a5b43f26
commit a4161434c2
1 changed files with 2 additions and 0 deletions

View File

@ -241,6 +241,8 @@ tasklist_tell(widget_t *widget, const char *property, const char *new_value)
p_delete(&d->text_urgent); p_delete(&d->text_urgent);
d->text_urgent = a_strdup(new_value); d->text_urgent = a_strdup(new_value);
} }
else if(!a_strcmp(property, "show_icons"))
d->show_icons = a_strtobool(new_value);
else else
return WIDGET_ERROR; return WIDGET_ERROR;