<div class="gmail_quote">On Mon, Feb 23, 2009 at 5:46 PM, Carol Farlow Lerche <span dir="ltr">&lt;<a href="mailto:cafl@msbit.com">cafl@msbit.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Spend a few hours in a kindergarten classroom.&nbsp; It doesn&#39;t work to prevent repeated launching of activities and ultimately a need to reboot.<div><div></div></div></blockquote><div><br>Is there anything sugar can do in this regard? <br>
<br>Would this activity starting logic work: <br>* If no activity instances are running, start it.<br>* If an instance has been &quot;started&quot; already but the process has not yet signaled on the dbus that it is &quot;running&quot;, ie drawing windows etc. for the user, switch to that instance<br>
* If an instance has been started and is running, start a new instance. (*or* send a &quot;start new instance&quot; request to the existing instance, which allows us to save the overhead of loading up another &quot;python&quot; process)<br>
* Reap all instances still in the &quot;starting&quot; state for more than X seconds that have not explictly requested this functionality to be disabled nor signaled via the dbus that they are still active<br></div></div>
<br>-- <br>Luke Faraone<br><a href="http://luke.faraone.cc">http://luke.faraone.cc</a><br>