Hi all,<div><br></div><div>Have just cloned <a href="http://git.sugarlabs.org/projects/sugar/repos/mainline">http://git.sugarlabs.org/projects/sugar/repos/mainline</a> and have encountered a fixme in /sugar/src/jarabe/desktop/friendview.py:</div>
<div><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace"> def _buddy_activity_changed_cb(self, buddy, ps_activity=None):</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> if not ps_activity:</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> self._remove_activity_icon()</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> return</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace"> # FIXME: use some sort of "unknown activity" icon rather</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> # than hiding the icon?</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> name = self._get_new_icon_name(ps_activity)</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> if name:</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> self._activity_icon.props.file_name = name</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> self._activity_icon.props.xo_color = buddy.get_color()</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> if not self._activity_icon_visible:</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> self.append(self._activity_icon, hippo.PACK_EXPAND)</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> self._activity_icon_visible = True</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> else:</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> self._remove_activity_icon()</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">I am assuming something generic like a question mark would be fine. Where should that file live? Is it okay in the core sugar directory?</font></div>
<div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">Naturally, people will probably want to click on that question mark. Would we be able to have a dialogue like "Search for activity %s?" % name, which if accepted opens up Browse and searches <a href="http://activities.sugarlabs.org">http://activities.sugarlabs.org</a> to download it? This would be easiest if you can p2p file share activities... I've played around a bit, but it doesn't look especially obvious.</font></div>
<div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">Thoughts appreciated :)</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br>
</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">timClicks</font></div></div>