[mate-control-center] 04/06: debian/patches: Add 0005_fix-desktop-item-launching.patch. In libslab: do not reap child when launching desktop items. (Closes: #781247).

Mike Gabriel sunweaver at debian.org
Sat Mar 28 13:31:51 UTC 2015


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository mate-control-center.

commit a19e8c3e4892dc98ea9f7fab4ebc386b47dc4450
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat Mar 28 14:26:37 2015 +0100

    debian/patches: Add 0005_fix-desktop-item-launching.patch. In libslab: do not reap child when launching desktop items. (Closes: #781247).
---
 .../patches/0005_fix-desktop-item-launching.patch  | 23 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/0005_fix-desktop-item-launching.patch b/debian/patches/0005_fix-desktop-item-launching.patch
new file mode 100644
index 0000000..09122ab
--- /dev/null
+++ b/debian/patches/0005_fix-desktop-item-launching.patch
@@ -0,0 +1,23 @@
+From e1ba5271d8ef3b80e81e8d3f4469fe76d46d6c68 Mon Sep 17 00:00:00 2001
+From: Monsta <monsta at inbox.ru>
+Date: Wed, 25 Mar 2015 15:25:08 +0300
+Subject: [PATCH] libslab: do not reap child when launching desktop items
+
+should be used after https://github.com/mate-desktop/mate-desktop/pull/167 is applied
+---
+ libslab/slab-mate-util.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libslab/slab-mate-util.c b/libslab/slab-mate-util.c
+index a4527dc..2acf9d0 100644
+--- a/libslab/slab-mate-util.c
++++ b/libslab/slab-mate-util.c
+@@ -127,7 +127,7 @@ open_desktop_item_exec (MateDesktopItem * desktop_item)
+ 	if (!desktop_item)
+ 		return FALSE;
+ 
+-	mate_desktop_item_launch (desktop_item, NULL, MATE_DESKTOP_ITEM_LAUNCH_ONLY_ONE, &error);
++	mate_desktop_item_launch (desktop_item, NULL, MATE_DESKTOP_ITEM_LAUNCH_ONLY_ONE | MATE_DESKTOP_ITEM_LAUNCH_DO_NOT_REAP_CHILD, &error);
+ 
+ 	if (error)
+ 	{
diff --git a/debian/patches/series b/debian/patches/series
index 595afc2..c1ee874 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,5 +2,6 @@
 0002_initialize-mouse-focus-checkbox.patch
 0003_fix-i18n-category-names.patch
 0004_fix-set-preferred-apps-in-some-locales.patch
+0005_fix-desktop-item-launching.patch
 1005_rename-libslab-to-libmate-slab0.patch
 2001_omit-gfdl-licensed-help-files.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-control-center.git



More information about the pkg-mate-commits mailing list