pager/pager16: fix text update bug during chaging desktop

Summary:
text part of pager popup is updated every desktop change.
But, the text part name is mismatched with style in elementary.

Honestly, I've fixed in pager16 as well since it's same problem. obviously.
Unfortunately, I couldn't test pager16.. where the hell is it.

Fixes T1189

Test Plan: enlightement -> desktop change by using key input -> check whethere proper desktop name is shown on pager popup or not

Reviewers: raster, zmike

CC: seoz, cedric, maxerba

Maniphest Tasks: T1189

Differential Revision: https://phab.enlightenment.org/D780
This commit is contained in:
Wonguk Jeong 2014-04-24 17:56:50 +09:00 committed by Carsten Haitzler (Rasterman)
parent cf6d509dfe
commit ac6a0ced61
2 changed files with 2 additions and 2 deletions

View File

@ -1673,7 +1673,7 @@ _pager_cb_event_desk_show(void *data __UNUSED__, int type __UNUSED__, void *even
if (pd) _pager_desk_select(pd);
if (p->popup)
edje_object_part_text_set(p->popup->o_bg, "text", ev->desk->name);
edje_object_part_text_set(p->popup->o_bg, "e.text.label", ev->desk->name);
}
if ((pager_config->popup) && (!act_popup))

View File

@ -956,7 +956,7 @@ _pager_cb_event_desk_show(void *data __UNUSED__, int type __UNUSED__, void *even
if (pd) _pager_desk_select(pd);
if (p->popup)
edje_object_part_text_set(p->popup->o_bg, "text", ev->desk->name);
edje_object_part_text_set(p->popup->o_bg, "e.text.label", ev->desk->name);
}
if ((pager_config->popup) && (!act_popup))