diff options
author | Zhai Edwin <edwin.zhai@intel.com> | 2010-12-22 21:04:31 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-23 14:28:21 +0000 |
commit | 3aa1cfc5a852f18208ee2afb535c1d05d6d162fa (patch) | |
tree | d53840a923b74fb4e5c0f3b120bcaeb79a78bea5 /meta | |
parent | 4efbda84392e00829b9619ba4d8c49bdc5128606 (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-sato/matchbox-stroke/files/single-instance.patch | 19 | ||||
-rw-r--r-- | meta/recipes-sato/matchbox-stroke/matchbox-stroke_svn.bb | 1 |
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 @@ | |||
1 | Multiple matchbox-stroke instances would occupy whole screen and cause end user | ||
2 | confusing. Making matchbox-stroke singleton is one work around. | ||
3 | |||
4 | This patch allow only one instance of matchbox-stroke based on some mechanism | ||
5 | in matchbox-desktop. | ||
6 | |||
7 | Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> | ||
8 | |||
9 | |||
10 | Index: 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 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" | |||
10 | PV = "0.0+svnr${SRCREV}" | 10 | PV = "0.0+svnr${SRCREV}" |
11 | 11 | ||
12 | SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ | 12 | SRC_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 | ||
15 | S = "${WORKDIR}/${PN}" | 16 | S = "${WORKDIR}/${PN}" |