From 9e24589648cd79a2f5e39a4e2acdbaef9d8aef67 Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Wed, 19 Sep 2007 05:14:26 +0000 Subject: [PATCH] app->type can't be both. SVN revision: 31756 --- src/modules/ibar/e_mod_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c index 079ebd37f..bb992d331 100644 --- a/src/modules/ibar/e_mod_main.c +++ b/src/modules/ibar/e_mod_main.c @@ -829,8 +829,8 @@ _ibar_cb_icon_mouse_up(void *data, Evas *e, Evas_Object *obj, void *event_info) if ((ev->button == 1) && (!ic->drag.dnd) && (ic->mouse_down == 1)) { if (ic->app->type == EFREET_DESKTOP_TYPE_APPLICATION) - e_exec(ic->ibar->inst->gcc->gadcon->zone, ic->app, NULL, NULL, "ibar"); - if (ic->app->type == EFREET_DESKTOP_TYPE_LINK) + e_exec(ic->ibar->inst->gcc->gadcon->zone, ic->app, NULL, NULL, "ibar"); + else if (ic->app->type == EFREET_DESKTOP_TYPE_LINK) { if (strncasecmp (ic->app->url, "file:", 5) == 0) {