summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhai Edwin <edwin.zhai@intel.com>2010-12-22 21:04:31 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-23 14:28:21 +0000
commit3aa1cfc5a852f18208ee2afb535c1d05d6d162fa (patch)
treed53840a923b74fb4e5c0f3b120bcaeb79a78bea5
parent4efbda84392e00829b9619ba4d8c49bdc5128606 (diff)
downloadopenembedded-core-3aa1cfc5a852f18208ee2afb535c1d05d6d162fa.tar.gz
openembedded-core-3aa1cfc5a852f18208ee2afb535c1d05d6d162fa.tar.bz2
openembedded-core-3aa1cfc5a852f18208ee2afb535c1d05d6d162fa.zip
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>
-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 0000000000..f4fec079b5
--- /dev/null
+++ b/meta/recipes-sato/matchbox-stroke/files/single-instance.patch
@@ -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
diff --git a/meta/recipes-sato/matchbox-stroke/matchbox-stroke_svn.bb b/meta/recipes-sato/matchbox-stroke/matchbox-stroke_svn.bb
index 1e25369e37..b0e77acbf8 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"
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}"