[Sugar-devel] http://bugs.sugarlabs.org/ticket/1742

Aleksey Lim alsroot at member.fsf.org
Sun Sep 19 02:29:06 EDT 2010


On Sat, Sep 18, 2010 at 11:57:59PM +0530, Ishan Bansal wrote:
> hi
> 
> I am working on the bug http://bugs.sugarlabs.org/ticket/1742.
> 
> The check to see if the person is a friend in buddymeny.py is working fine
> for friends view but it still shows "Make Friend" when we right click in
> neighborhood view even if the person is a friend.
> 
> I have been trying to find the difference between the codes for the above
> files but havent been able to do so.
> 
> Please provide me some pointers on the above issue.

You can follow regular way like - add debug output in all critical
places.

For example, after logging from place where palette is being filled with items
'Remove friend' and 'Make friend' and opening in sugar palette before
adding new friend and after, I got that logging happens only once - in
1st case. Thus, after adding a friend palette contains outdated items.

> 
> regards
> 
> ishan

-- 
Aleksey


More information about the Sugar-devel mailing list