summaryrefslogtreecommitdiff
path: root/src/progress.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/progress.c')
-rw-r--r--src/progress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progress.c b/src/progress.c
index 4f1f55e..29814d9 100644
--- a/src/progress.c
+++ b/src/progress.c
@@ -183,7 +183,7 @@ zenity_progress_handle_stdin (GIOChannel *channel,
g_string_free (string, TRUE);
}
- if (condition != G_IO_IN) {
+ if ((condition != G_IO_IN) && (condition != G_IO_IN + G_IO_HUP)) {
/* We assume that we are done, so stop the pulsating and de-sensitize the buttons */
GtkWidget *button;