diff options
author | Emilio Pozuelo Monfort <pochu27@gmail.com> | 2010-02-27 15:32:23 +0100 |
---|---|---|
committer | Arx Cruz <arxcruz@gnome.org> | 2014-10-21 11:24:45 +0200 |
commit | fc76e0c19be22d47cf6044ca591f0e01010a1a80 (patch) | |
tree | acdfbf373004c865d58700bedbb232cf5d48bac5 | |
parent | Updated Italian translation (diff) | |
download | zenity-fc76e0c19be22d47cf6044ca591f0e01010a1a80.tar.gz zenity-fc76e0c19be22d47cf6044ca591f0e01010a1a80.tar.bz2 zenity-fc76e0c19be22d47cf6044ca591f0e01010a1a80.zip |
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
-rw-r--r-- | src/notification.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/notification.c b/src/notification.c index d5631573..06ac1dde 100644 --- a/src/notification.c +++ b/src/notification.c @@ -295,8 +295,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; } |