r25013 - in /packages/unstable/system-config-printer/debian/patches: 0006-Don-t-blindly-listen-to-any-signal.patch series

agx at users.alioth.debian.org agx at users.alioth.debian.org
Tue Aug 24 13:30:01 UTC 2010


Author: agx
Date: Tue Aug 24 13:30:00 2010
New Revision: 25013

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=25013
Log:
New patch 0006-Don-t-blindly-listen-to-any-signal.patch

Don’t blindly listen to any signal
Closes: #486674

Added:
    packages/unstable/system-config-printer/debian/patches/0006-Don-t-blindly-listen-to-any-signal.patch
Modified:
    packages/unstable/system-config-printer/debian/patches/series

Added: packages/unstable/system-config-printer/debian/patches/0006-Don-t-blindly-listen-to-any-signal.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/system-config-printer/debian/patches/0006-Don-t-blindly-listen-to-any-signal.patch?rev=25013&op=file
==============================================================================
--- packages/unstable/system-config-printer/debian/patches/0006-Don-t-blindly-listen-to-any-signal.patch (added)
+++ packages/unstable/system-config-printer/debian/patches/0006-Don-t-blindly-listen-to-any-signal.patch [utf-8] Tue Aug 24 13:30:00 2010
@@ -1,0 +1,43 @@
+From: Josselin Mouette <joss at debian.org>
+Date: Wed, 28 Jul 2010 11:59:24 +0200
+Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20blindly=20listen=20to=20any=20signal?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+that goes through the session bus. Gnome-session will know when to kill
+the applet.
+
+Closes: #486674
+Thanks:  Michal Čihař
+---
+ applet.py |   15 ---------------
+ 1 files changed, 0 insertions(+), 15 deletions(-)
+
+diff --git a/applet.py b/applet.py
+index 491ddb1..28f681a 100644
+--- a/applet.py
++++ b/applet.py
+@@ -329,21 +329,6 @@ if __name__ == '__main__':
+         except:
+             pass
+
+-    if trayicon:
+-        # Stop running when the session ends.
+-        def monitor_session (*args):
+-            pass
+-
+-        try:
+-            bus = dbus.SessionBus()
+-            bus.add_signal_receiver (monitor_session)
+-        except:
+-            try:
+-                print >> sys.stderr, ("%s: failed to connect to "
+-                                      "session D-Bus" % PROGRAM_NAME)
+-            finally:
+-                sys.exit (1)
+-
+     try:
+         bus = dbus.SystemBus()
+     except:
+--

Modified: packages/unstable/system-config-printer/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/system-config-printer/debian/patches/series?rev=25013&op=diff
==============================================================================
--- packages/unstable/system-config-printer/debian/patches/series [utf-8] (original)
+++ packages/unstable/system-config-printer/debian/patches/series [utf-8] Tue Aug 24 13:30:00 2010
@@ -2,3 +2,5 @@
 0002-Disable-firewall-checks.patch
 0003-Adjust-package-names.patch
 0004-Fix-blacklist-name.patch
+0005-Revert-to-the-correct-menu-category.patch
+0006-Don-t-blindly-listen-to-any-signal.patch




More information about the pkg-gnome-commits mailing list