From 8e7a72c9da2d3802e9d4ac1f2c6b6af28f21c4a7 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 23 May 2006 00:10:10 -0400 Subject: [PATCH] Fix traceback on activity disconnect --- sugar/shell/activity.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sugar/shell/activity.py b/sugar/shell/activity.py index e6872a30..7c64a3e5 100644 --- a/sugar/shell/activity.py +++ b/sugar/shell/activity.py @@ -149,21 +149,17 @@ class Activity(dbus.service.Object): self.__plug.destroy() self.__plug = None - self.__bus = None self.__activity_container_object = None self.__activity_container = None self.__activity_object = None self.__service = None self.__bus.remove_signal_receiver(self.name_owner_changed, dbus_interface = "org.freedesktop.DBus", signal_name = "NameOwnerChanged") - self.activity_on_disconnected_from_shell() - + self.__bus = None del self - - def __shutdown_error_cb(self, error): print "in __error_cb"