diff options
author | Rafael Ortiz <rafael@activitycentral.com> | 2011-09-05 19:33:45 (GMT) |
---|---|---|
committer | Rafael Ortiz <rafael@activitycentral.com> | 2011-09-05 19:33:45 (GMT) |
commit | ec1856238b27ee1c3f7337fe4c2d733714390cf2 (patch) | |
tree | e15030c6178d9e494f4bcb6838e10524f6169269 | |
parent | 53599b708c788bef381a8c796730ba8b3997fb6e (diff) |
-rw-r--r-- | calendario.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/calendario.py b/calendario.py index 7318f5f..a6bfb3e 100644 --- a/calendario.py +++ b/calendario.py @@ -33,8 +33,9 @@ class CalendarioActivity(activity.Activity): '''The sugar class''' def __init__(self, handle, create_jobject=True): - ''' Init class''' - activity.Activity.__init__(self, handle, False) + ''' Init class''' + super(CalendarioActivity, self).__init__(handle) + self.set_title(_('Calendario')) self.max_participants = 1 # No sharing options yet @@ -264,6 +265,9 @@ class CalendarioActivity(activity.Activity): self.contenedor_h.show_all() self.archivo.show_all() + + + ############################# Callbacks and methods########################### def _check_cb(self, widget, data=None): '''return 1 if the checkbutton is now enable, else |