discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=a148402b4524dcb6005e521e61603ab4d6f750f7

commit a148402b4524dcb6005e521e61603ab4d6f750f7
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Thu Jan 16 11:15:28 2014 -0500

    reduce ibar mouse out timer length
    
    also since this wasn't done correctly in the original message
    
    feature: ibar now optionaly triggers its menu on mouse in
---
 src/modules/ibar/e_mod_main.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c
index 17e091e..84b825b 100644
--- a/src/modules/ibar/e_mod_main.c
+++ b/src/modules/ibar/e_mod_main.c
@@ -1250,8 +1250,10 @@ _ibar_cb_icon_mouse_out(void *data, Evas *e __UNUSED__, 
Evas_Object *obj __UNUSE
      _ibar_icon_signal_emit(ic, "e,action,hide,label", "e");
    if (!ic->ibar->inst->ci->dont_icon_menu_mouseover)
      {
-        if (ic->hide_timer) ecore_timer_del(ic->hide_timer);
-        ic->hide_timer = ecore_timer_add(2.0, _ibar_cb_out_hide_delay, ic);
+        if (ic->hide_timer)
+          ecore_timer_reset(ic->hide_timer);
+        else
+          ic->hide_timer = ecore_timer_add(1.0, _ibar_cb_out_hide_delay, ic);
      }
 }
 

-- 


Reply via email to