summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/matchbox-stroke
diff options
context:
space:
mode:
authorZhai Edwin <edwin.zhai@intel.com>2010-12-22 13:04:31 (GMT)
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-23 14:28:21 (GMT)
commit3aa1cfc5a852f18208ee2afb535c1d05d6d162fa (patch)
treed53840a923b74fb4e5c0f3b120bcaeb79a78bea5 /meta/recipes-sato/matchbox-stroke
parent4efbda84392e00829b9619ba4d8c49bdc5128606 (diff)
downloadpoky-3aa1cfc5a852f18208ee2afb535c1d05d6d162fa.tar.gz
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>
Diffstat (limited to 'meta/recipes-sato/matchbox-stroke')
-rw-r--r--meta/recipes-sato/matchbox-stroke/files/single-instance.patch19
-rw-r--r--meta/recipes-sato/matchbox-stroke/matchbox-stroke_svn.bb1
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-sato/matchbox-stroke/files/single-instance.patch b/meta/recipes-sato/matchbox-stroke/files/single-instance.patch
new file mode 100644
index 0000000..f4fec07
--- /dev/null
+++ b/meta/recipes-sato/matchbox-stroke/files/single-instance.patch
@@ -0,0 +1,19 @@
1Multiple matchbox-stroke instances would occupy whole screen and cause end user
2confusing. Making matchbox-stroke singleton is one work around.
3
4This patch allow only one instance of matchbox-stroke based on some mechanism
5in matchbox-desktop.
6
7Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
8
9
10Index: matchbox-stroke/matchbox-stroke.desktop
11===================================================================
12--- matchbox-stroke.orig/matchbox-stroke.desktop 2010-07-10 10:23:26.000000000 +0800
13+++ matchbox-stroke/matchbox-stroke.desktop 2010-12-22 20:59:26.000000000 +0800
14@@ -6,3 +6,5 @@
15 Icon=matchbox-stroke.png
16 Categories=Panel;Utility;MB
17 X-MB-INPUT-MECHANSIM=True
18+X-MB-SingleInstance=true
19+StartupNotify=true
diff --git a/meta/recipes-sato/matchbox-stroke/matchbox-stroke_svn.bb b/meta/recipes-sato/matchbox-stroke/matchbox-stroke_svn.bb
index 1e25369..b0e77ac 100644
--- a/meta/recipes-sato/matchbox-stroke/matchbox-stroke_svn.bb
+++ b/meta/recipes-sato/matchbox-stroke/matchbox-stroke_svn.bb
@@ -10,6 +10,7 @@ SECTION = "x11/wm"
10PV = "0.0+svnr${SRCREV}" 10PV = "0.0+svnr${SRCREV}"
11 11
12SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ 12SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \
13 file://single-instance.patch;patch=1 \
13 file://configure_fix.patch;patch=1;maxrev=1819 " 14 file://configure_fix.patch;patch=1;maxrev=1819 "
14 15
15S = "${WORKDIR}/${PN}" 16S = "${WORKDIR}/${PN}"