r23153 - in /desktop/unstable/zenity/debian: changelog patches/02_dont_quit_zenity_when_stdin_ends.patch
pochu at users.alioth.debian.org
pochu at users.alioth.debian.org
Sat Feb 27 14:41:59 UTC 2010
Author: pochu
Date: Sat Feb 27 14:41:57 2010
New Revision: 23153
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=23153
Log:
* debian/patches/02_dont_quit_zenity_when_stdin_ends.patch:
- Don't quit zenity when listening on stdin and the stream ends.
Closes: #506425.
Added:
desktop/unstable/zenity/debian/patches/02_dont_quit_zenity_when_stdin_ends.patch
Modified:
desktop/unstable/zenity/debian/changelog
Modified: desktop/unstable/zenity/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/zenity/debian/changelog?rev=23153&op=diff
==============================================================================
--- desktop/unstable/zenity/debian/changelog [utf-8] (original)
+++ desktop/unstable/zenity/debian/changelog [utf-8] Sat Feb 27 14:41:57 2010
@@ -1,7 +1,13 @@
zenity (2.28.0-2) UNRELEASED; urgency=low
+ [ Andrea Veri ]
* debian/control.in:
- really don't B-D on scrollkeeper anymore.
+
+ [ Emilio Pozuelo Monfort ]
+ * debian/patches/02_dont_quit_zenity_when_stdin_ends.patch:
+ - Don't quit zenity when listening on stdin and the stream ends.
+ Closes: #506425.
-- Andrea Veri <andrea.veri89 at gmail.com> Fri, 06 Nov 2009 00:20:01 +0100
Added: desktop/unstable/zenity/debian/patches/02_dont_quit_zenity_when_stdin_ends.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/zenity/debian/patches/02_dont_quit_zenity_when_stdin_ends.patch?rev=23153&op=file
==============================================================================
--- desktop/unstable/zenity/debian/patches/02_dont_quit_zenity_when_stdin_ends.patch (added)
+++ desktop/unstable/zenity/debian/patches/02_dont_quit_zenity_when_stdin_ends.patch [utf-8] Sat Feb 27 14:41:57 2010
@@ -1,0 +1,30 @@
+From fc381b5938f7235401286d4821f03d2b05d4876a Mon Sep 17 00:00:00 2001
+From: Emilio Pozuelo Monfort <pochu27 at gmail.com>
+Date: Sat, 27 Feb 2010 15:32:23 +0100
+Subject: [PATCH] Don't quit zenity when the input stream is closed
+
+When using --listen for a notification, zenity quits when the stream
+ends. This makes it impossible to read commands from a pipe as in
+`echo icon:info | zenity --notification --listen'.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=525596
+---
+ src/notification.c | 2 --
+ 1 files changed, 0 insertions(+), 2 deletions(-)
+
+diff --git a/src/notification.c b/src/notification.c
+index 674eaec..ab44477 100644
+--- a/src/notification.c
++++ b/src/notification.c
+@@ -229,8 +229,6 @@ zenity_notification_handle_stdin (GIOChannel *channel,
+
+ if ((condition & G_IO_HUP) != 0) {
+ g_io_channel_shutdown (channel, TRUE, NULL);
+- zen_data->exit_code = zenity_util_return_exit_code (ZENITY_OK);
+- gtk_main_quit ();
+ return FALSE;
+ }
+
+--
+1.7.0
+
More information about the pkg-gnome-commits
mailing list