Fix tab focus stuff

This commit is contained in:
Marco Pesenti Gritti 2006-05-22 16:45:50 -04:00
parent 112f067c01
commit a6b1307eb4

View File

@ -250,7 +250,8 @@ class ActivityContainer(dbus.service.Object):
if self.has_activity(self.current_activity):
self.current_activity.peer_service.lost_focus(reply_handler = self.__focus_reply_cb, error_handler = self.__focus_error_cb)
self.current_activity = new_activity
if self.has_activity(new_activity):
self.current_activity = new_activity
if self.current_activity != None:
if self.has_activity(self.current_activity):