Commit 3f1d629a authored by Victor Ananjevsky's avatar Victor Ananjevsky

fix autoclose behavior in progress dialog when input channel is closed

parent 0ed8dfdc
......@@ -222,6 +222,10 @@ handle_stdin (GIOChannel *channel, GIOCondition condition, gpointer data)
if ((condition != G_IO_IN) && (condition != G_IO_IN + G_IO_HUP))
{
g_io_channel_shutdown (channel, TRUE, NULL);
if (options.progress_data.autoclose && options.plug == -1)
yad_exit (options.data.def_resp);
return FALSE;
}
return TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment