Cast to string, looks like dbus strings confuse pygtk

type checking here.
This commit is contained in:
Marco Pesenti Gritti 2007-10-16 14:40:43 +02:00
parent ff0b45f607
commit 34e2271833

View File

@ -607,7 +607,7 @@ class Activity(Window, gtk.Container):
def _realize_cb(self, window):
wm.set_bundle_id(window.window, self.get_bundle_id())
wm.set_activity_id(window.window, self._activity_id)
wm.set_activity_id(window.window, str(self._activity_id))
def __delete_event_cb(self, widget, event):
self.close()