summaryrefslogtreecommitdiff
path: root/src/modules/ibar
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2007-09-19 05:14:26 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2007-09-19 05:14:26 +0000
commit9e24589648cd79a2f5e39a4e2acdbaef9d8aef67 (patch)
treeae5b049d3e777e5451c72ad98d3823402731a701 /src/modules/ibar
parentaedfe0f8399445348bd8e4d54eed699414c45063 (diff)
downloadenlightenment-9e24589648cd79a2f5e39a4e2acdbaef9d8aef67.tar.gz
app->type can't be both.
SVN revision: 31756
Diffstat (limited to 'src/modules/ibar')
-rw-r--r--src/modules/ibar/e_mod_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c
index 079ebd37f3..bb992d331a 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)
{