[Sugar-devel] [PATCH sugar] Display title in palette of shared activity OLPC #10676

Simon Schampijer simon at schampijer.de
Wed Jul 6 04:19:30 EDT 2011


On 06/07/2011 09:57 PM, Sascha Silbe wrote:
> Excerpts from Simon Schampijer's message of Mon May 30 15:57:26 +0200 2011:
>
>>> Looks nice and simple but seems to be more complicated in
>>> practice: We don't follow changes to the activity title because the
>>> palette gets created just once in ActivityView.__init__().

In the follow up patch I made the palette on demand. The patch now 
handles as well the case cleanly where we change the activity name after 
we have shared it:

- A opens activity set the name to 'X' and shares it

---> on his nb view the activity palette shows 'X' as the secondary title

- A changes the name activity name to 'Y'

---> on his nb view the activity palette shows 'Y' as the secondary title

For listening on updates for the datastore object (e.g. in the activity 
Frame palette) we are working on another path in [1], setting the window 
title accordingly [2].

Regards,
    Simon

[1] http://dev.laptop.org/ticket/10978
[2] http://dev.laptop.org/attachment/ticket/10978/set_window_title_3.patch


More information about the Sugar-devel mailing list