matchbox-stroke: Make as singleton

Multiple matchbox-stroke instances would occupy whole screen and cause end user
confusing. Making matchbox-stroke singleton is one work around.

This patch allow only one instance of matchbox-stroke based on some mechanism
in matchbox-desktop.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
This commit is contained in:
Zhai Edwin 2010-12-22 21:04:31 +08:00 committed by Richard Purdie
parent 4efbda8439
commit 3aa1cfc5a8
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,19 @@
Multiple matchbox-stroke instances would occupy whole screen and cause end user
confusing. Making matchbox-stroke singleton is one work around.
This patch allow only one instance of matchbox-stroke based on some mechanism
in matchbox-desktop.
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Index: matchbox-stroke/matchbox-stroke.desktop
===================================================================
--- matchbox-stroke.orig/matchbox-stroke.desktop 2010-07-10 10:23:26.000000000 +0800
+++ matchbox-stroke/matchbox-stroke.desktop 2010-12-22 20:59:26.000000000 +0800
@@ -6,3 +6,5 @@
Icon=matchbox-stroke.png
Categories=Panel;Utility;MB
X-MB-INPUT-MECHANSIM=True
+X-MB-SingleInstance=true
+StartupNotify=true

View File

@ -10,6 +10,7 @@ SECTION = "x11/wm"
PV = "0.0+svnr${SRCREV}"
SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \
file://single-instance.patch;patch=1 \
file://configure_fix.patch;patch=1;maxrev=1819 "
S = "${WORKDIR}/${PN}"