Unverified Commit 046134cf authored by Victor Ananjevsky's avatar Victor Ananjevsky Committed by GitHub

Merge pull request #210 from step-/patch-2

fix UI not updated when sync command runs
parents a1fa7b4e c8e9ef20
......@@ -686,7 +686,10 @@ run_command_sync (gchar *cmd, gchar **out)
g_thread_new ("run_sync", (GThreadFunc) run_thread, d);
while (run_lock != FALSE)
gtk_main_iteration ();
{
gtk_main_iteration_do (FALSE);
usleep (10000);
}
g_free (d->cmd);
g_free (d);
......
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