<span style="font-family:Helvetica;white-space:nowrap"><a href="https://github.com/sugarlabs/sugar/blob/master/src/jarabe/model/shell.py#L42">https://github.com/sugarlabs/sugar/blob/master/src/jarabe/model/shell.py#L42</a></span><br>
<br>On Monday, 5 August 2013, Gonzalo Odiard wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Where is that?<div><br></div><div>Gonzalo</div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 5, 2013 at 12:50 PM, Daniel Narvaez <span dir="ltr"><<a href="javascript:_e({}, 'cvml', 'dwnarvaez@gmail.com');" target="_blank">dwnarvaez@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>On 5 August 2013 17:47, Gonzalo Odiard <span dir="ltr"><<a href="javascript:_e({}, 'cvml', 'gonzalo@laptop.org');" target="_blank">gonzalo@laptop.org</a>></span> wrote:<br>
</div></div><div class="gmail_extra"><div class="gmail_quote"><div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote"><div>On Mon, Aug 5, 2013 at 12:36 PM, Manuel Quiñones <span dir="ltr"><<a href="javascript:_e({}, 'cvml', 'manuq@laptop.org');" target="_blank">manuq@laptop.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for the hints Daniel,<br>
<br>
2013/8/3 Daniel Narvaez <<a href="javascript:_e({}, 'cvml', 'dwnarvaez@gmail.com');" target="_blank">dwnarvaez@gmail.com</a>>:<br>
<div>> On 3 August 2013 02:26, Manuel Quiñones <<a href="javascript:_e({}, 'cvml', 'manuq@laptop.org');" target="_blank">manuq@laptop.org</a>> wrote:<br>
>><br>
>><br>
>> The problem is: how could the activity process wait for the datastore<br>
>> write to finish? If the WnckWindow close is called [1], the activity<br>
>> process ends. Unless you connect a callback to 'delete-event' [2] and<br>
>> handle the destroy() yourself [3] . Which is what GTK activities do<br>
>> to store before closing.<br>
><br>
><br>
> The shell currently does<br>
><br>
> activity.get_window().close()<br>
><br>
> We could<br>
><br>
> 1 Add a close method to Activity directly. That would emit a close signal<br>
> and call get_window().close() only if the signal didn't return True.<br>
<br></div></blockquote><div><br></div></div><div>Activity class already have a close method, and deal with saving.</div><div><br></div><div>Or are you talking about the web activity?</div></div></div></div></blockquote><div>
<br></div></div></div><div>Talking about Activity class in the shell.<br></div></div></div></div>
</blockquote></div><br></div>
</blockquote><br><br>-- <br>Daniel Narvaez<br><br>