discomfitor pushed a commit to branch master.

commit 48c0777dd18c9c23e7e378aeea49abfa57001d0f
Author: discomfitor <[email protected]>
Date:   Sat May 18 10:30:11 2013 +0100

    add battery icon to popup for low power warning to ensure deletion
---
 src/modules/battery/e_mod_main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/battery/e_mod_main.c b/src/modules/battery/e_mod_main.c
index ffd8eb1..3a2edea 100644
--- a/src/modules/battery/e_mod_main.c
+++ b/src/modules/battery/e_mod_main.c
@@ -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",

-- 

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d

Reply via email to