summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/launchpad.spec2
-rwxr-xr-xsrc/launchpad.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/packaging/launchpad.spec b/packaging/launchpad.spec
index 1ddb1e7..fa8208f 100644
--- a/packaging/launchpad.spec
+++ b/packaging/launchpad.spec
@@ -1,6 +1,6 @@
Name: launchpad
Summary: Launchpad for launching applications
-Version: 0.8.0
+Version: 0.8.1
Release: 1
Group: Application Framework/Daemons
License: Apache-2.0
diff --git a/src/launchpad.c b/src/launchpad.c
index 6a676d9..1e11e19 100755
--- a/src/launchpad.c
+++ b/src/launchpad.c
@@ -1836,6 +1836,8 @@ static gboolean __handle_launch_event(gpointer data)
} else {
type = LAUNCHPAD_TYPE_DYNAMIC;
cpc = __find_slot(type, loader_id);
+ if (cpc && !cpc->prepared)
+ cpc = NULL;
}
}