forked from enlightenment/enlightenment
tasks + stacks - use base icon not top one to be simpler to implement
This commit is contained in:
parent
001e08c54a
commit
612f168086
|
@ -690,7 +690,6 @@ _tasks_item_fill(Tasks_Item *item)
|
||||||
const char *label;
|
const char *label;
|
||||||
E_Client *ec;
|
E_Client *ec;
|
||||||
|
|
||||||
ec = e_client_stack_active_adjust(item->client);
|
|
||||||
if (item->tasks->config->text_only)
|
if (item->tasks->config->text_only)
|
||||||
item->o_icon = NULL;
|
item->o_icon = NULL;
|
||||||
else
|
else
|
||||||
|
@ -701,10 +700,10 @@ _tasks_item_fill(Tasks_Item *item)
|
||||||
evas_object_show(item->o_icon);
|
evas_object_show(item->o_icon);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item->tasks->config->icon_only)
|
ec = e_client_stack_active_adjust(item->client);
|
||||||
label = "";
|
|
||||||
else
|
if (item->tasks->config->icon_only) label = "";
|
||||||
label = e_client_util_name_get(ec);
|
else label = e_client_util_name_get(ec);
|
||||||
edje_object_part_text_set(item->o_item, "e.text.label", label);
|
edje_object_part_text_set(item->o_item, "e.text.label", label);
|
||||||
|
|
||||||
_tasks_iconified_eval(item);
|
_tasks_iconified_eval(item);
|
||||||
|
|
Loading…
Reference in New Issue