discomfitor pushed a commit to branch master.

http://git.enlightenment.org/enlightenment/modules/desksanity.git/commit/?id=95b961304eec1207a73bd66a1a90ffde13e541d3

commit 95b961304eec1207a73bd66a1a90ffde13e541d3
Author: Mike Blumenkrantz <[email protected]>
Date:   Sun Feb 22 23:24:11 2015 -0500

    disallow pip manage action if no pips exist
---
 src/pip.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/pip.c b/src/pip.c
index 456a052..0a47919 100644
--- a/src/pip.c
+++ b/src/pip.c
@@ -387,6 +387,7 @@ _pip_hook(void *d EINA_UNUSED, E_Client *ec)
 static void
 _pip_action_cb(E_Object *obj EINA_UNUSED, const char *params EINA_UNUSED)
 {
+   if (!eina_hash_population(pips)) return;
    if (editing)
      pips_noedit();
    else

-- 


Reply via email to