forked from enlightenment/enlightenment
as part of theme redo.. i get to find all the evil little "didnt
namespace this" stuff... fix namespacing of bat popup with fallback to old one. SVN revision: 79958
This commit is contained in:
parent
af9abdede9
commit
6eae31c107
|
@ -484,7 +484,10 @@ _battery_warning_popup(Instance *inst, int t, double percent)
|
||||||
"e/modules/battery/popup");
|
"e/modules/battery/popup");
|
||||||
e_theme_edje_object_set(inst->popup_battery, "base/theme/modules/battery",
|
e_theme_edje_object_set(inst->popup_battery, "base/theme/modules/battery",
|
||||||
"e/modules/battery/main");
|
"e/modules/battery/main");
|
||||||
edje_object_part_swallow(popup_bg, "battery", inst->popup_battery);
|
if (edje_object_part_exists(popup_bg, "e.swallow.battery"))
|
||||||
|
edje_object_part_swallow(popup_bg, "e.swallow.battery", inst->popup_battery);
|
||||||
|
else
|
||||||
|
edje_object_part_swallow(popup_bg, "battery", inst->popup_battery);
|
||||||
|
|
||||||
edje_object_part_text_set(popup_bg, "e.text.title",
|
edje_object_part_text_set(popup_bg, "e.text.title",
|
||||||
_("Your battery is low!"));
|
_("Your battery is low!"));
|
||||||
|
|
Loading…
Reference in New Issue