[Sugar-devel] [PATCH sugar] ActivityListPalette: fix bundle_changed disconnection

Simon Schampijer simon at schampijer.de
Wed Mar 23 11:18:20 EDT 2011


On 03/03/2011 09:58 AM, Sascha Silbe wrote:
> Fixing the regressions from SL#1742 uncovered another bug: ActivityListPalette
> listens to the bundle_changed signal from the bundle registry and tries to
> disconnect it from itself instead of from the registry.
> Fixes the following warning:
>
> [...]/jarabe/desktop/activitieslist.py:428:
> Warning: /scratch/build-area/glib2.0-2.24.2/gobject/gsignal.c:2390: instance
> `0x35022b0' has no handler with id `2278'
>    self.disconnect(self._activity_changed_sid)
>
> Signed-off-by: Sascha Silbe<silbe at activitycentral.com>

Acked-by: Simon Schampijer <simon at laptop.org>

This can be easily tested by 'favorite' and 'unfavorite' an activity in 
the list view or by trying to remove an activity.

Regards,
    Simon


More information about the Sugar-devel mailing list