From 3aa1cfc5a852f18208ee2afb535c1d05d6d162fa Mon Sep 17 00:00:00 2001 From: Zhai Edwin Date: Wed, 22 Dec 2010 21:04:31 +0800 Subject: 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 --- .../matchbox-stroke/files/single-instance.patch | 19 +++++++++++++++++++ .../matchbox-stroke/matchbox-stroke_svn.bb | 1 + 2 files changed, 20 insertions(+) create mode 100644 meta/recipes-sato/matchbox-stroke/files/single-instance.patch 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 000000000..f4fec079b --- /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 + + +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 1e25369e3..b0e77acbf 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}" -- cgit v1.2.3