add battery icon to popup for low power warning to ensure deletion
authordiscomfitor <mike@zentific.com>
Sat, 18 May 2013 09:30:11 +0000 (10:30 +0100)
committerdiscomfitor <mike@zentific.com>
Sat, 18 May 2013 18:39:51 +0000 (19:39 +0100)
src/modules/battery/e_mod_main.c

index ffd8eb1..3a2edea 100644 (file)
@@ -486,6 +486,7 @@ _battery_warning_popup(Instance *inst, int t, double percent)
    else
      edje_object_part_swallow(popup_bg, "battery", inst->popup_battery);
 
+   e_popup_object_add(inst->warning->win, inst->popup_battery);
    edje_object_part_text_set(popup_bg, "e.text.title",
                              _("Your battery is low!"));
    edje_object_part_text_set(popup_bg, "e.text.label",