diff options
author | Reinier Heeres <reinier@heeres.eu> | 2007-11-26 12:14:53 (GMT) |
---|---|---|
committer | Reinier Heeres <reinier@heeres.eu> | 2007-11-26 12:14:53 (GMT) |
commit | 6bb1131e9db0cf924de221558abc6b4840ac83e1 (patch) | |
tree | 0de51d48dc95179e3b4edb7912e552ccb5f2fce8 /lib/sugar/activity/activity.py | |
parent | fdfeb649f528b53b83d7d7d0cfc30fdd3c7edb12 (diff) |
Add unfullscreen button to Window, #4890
Diffstat (limited to 'lib/sugar/activity/activity.py')
-rw-r--r-- | lib/sugar/activity/activity.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sugar/activity/activity.py b/lib/sugar/activity/activity.py index 19d67fe..2b227af 100644 --- a/lib/sugar/activity/activity.py +++ b/lib/sugar/activity/activity.py @@ -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. |