diff options
author | Glynn Foster <glynn.foster@sun.com> | 2005-02-07 11:16:23 +0000 |
---|---|---|
committer | Glynn Foster <gman@src.gnome.org> | 2005-02-07 11:16:23 +0000 |
commit | e4712c2efd0a01628ec3709499bb04de40e2b288 (patch) | |
tree | d98dda012e530f3f946d5b9fbbab4b4947d0d024 | |
parent | 6b6ebbecc1c380704532786faf08852602063563 (diff) | |
download | zenity-e4712c2efd0a01628ec3709499bb04de40e2b288.tar.gz |
Backport the progress dialog fix for auto-closing when pulsating.gnome-2-8
2005-02-08 Glynn Foster <glynn.foster@sun.com>
* src/progress.c: Backport the progress dialog
fix for auto-closing when pulsating.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/progress.c | 5 |
2 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2005-02-08 Glynn Foster <glynn.foster@sun.com> + + * src/progress.c: Backport the progress dialog + fix for auto-closing when pulsating. + 2004-12-08 Glynn Foster <glynn.foster@sun.com> * configure.in: post release bump diff --git a/src/progress.c b/src/progress.c index c055baf..a5cd9a7 100644 --- a/src/progress.c +++ b/src/progress.c @@ -152,6 +152,11 @@ zenity_progress_handle_stdin (GIOChannel *channel, if (glade_dialog) g_object_unref (glade_dialog); + if (progress_data->autoclose) { + zen_data->exit_code = zenity_util_return_exit_code (ZENITY_OK); + gtk_main_quit(); + } + g_io_channel_shutdown (channel, TRUE, NULL); return FALSE; } |