Make raw X windows work again.

This commit is contained in:
Marco Pesenti Gritti 2007-07-29 00:17:45 +02:00
parent 5b73d0dfce
commit 13a91a26e1

View File

@ -184,9 +184,15 @@ class HomeActivity(gobject.GObject):
return self._launching
def _get_service_name(self):
return _SERVICE_NAME + self._activity_id
if self._activity_id:
return _SERVICE_NAME + self._activity_id
else:
return None
def _retrieve_service(self):
if not self._activity_id:
return
try:
bus = dbus.SessionBus()
proxy = bus.get_object(self._get_service_name(),