Add each activity to a separate window group to get

a correct behavior with transient windows in matchbox.
Thanks to Matthew Allum for suggesting this.
This commit is contained in:
Marco Pesenti Gritti 2006-07-20 17:52:31 +02:00
parent 32bb288389
commit 48a21ef143

View File

@ -162,6 +162,10 @@ class Activity(gtk.Window):
self.present()
def __realize(self, window):
group = gtk.Window()
group.realize()
self.window.set_group(group.window)
if not self._dbus_service:
self._register_service()