[tasklist] 'tags', 'focus', 'all', are new_value's

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
marco candrian 2008-06-04 01:02:57 +02:00 committed by Julien Danjou
parent 4e066c4436
commit 0afa1a41b7
1 changed files with 3 additions and 3 deletions

View File

@ -236,11 +236,11 @@ tasklist_tell(widget_t *widget, const char *property, const char *new_value)
d->show_icons = a_strtobool(new_value);
else if(!a_strcmp(property, "show"))
{
if(!a_strcmp(property, "tags"))
if(!a_strcmp(new_value, "tags"))
d->show = ShowTags;
else if(!a_strcmp(property, "focus"))
else if(!a_strcmp(new_value, "focus"))
d->show = ShowFocus;
else if(!a_strcmp(property, "all"))
else if(!a_strcmp(new_value, "all"))
d->show = ShowAll;
else
return WIDGET_ERROR;