protected bool PulseGTK()
{
if(needUpdateChronopicWin || ! thread.IsAlive) {
LogB.ThreadEnding();
fakeConnectionButton.Click();
pulseEnd();
LogB.ThreadEnded();
return false;
}
//need to do this, if not it crashes because chronopicConnectionWin gets died by thread ending
//chronopicConnectionWin = ChronopicConnection.Show();
//chronopicConnectionWin.Pulse();
progressbar.Pulse();
Thread.Sleep (50);
LogB.Debug(thread.ThreadState.ToString());
return true;
}