Add unfullscreen button to Window, #4890

This commit is contained in:
Reinier Heeres
2007-11-26 13:14:53 +01:00
parent fdfeb649f5
commit 6bb1131e9d
2 changed files with 106 additions and 3 deletions
+4
View File
@@ -504,12 +504,16 @@ class Activity(Window, gtk.Container):
self.save()
elif pspec.name == 'max-participants':
self._max_participants = value
else:
Window.do_set_property(self, pspec, value)
def do_get_property(self, pspec):
if pspec.name == 'active':
return self._active
elif pspec.name == 'max-participants':
return self._max_participants
else:
return Window.do_get_property(self, pspec)
def get_id(self):
"""Returns the activity id of the current instance of your activity.