diff options
author | flavio <fdanesse@gmail.com> | 2012-12-05 19:23:02 (GMT) |
---|---|---|
committer | flavio <fdanesse@gmail.com> | 2012-12-05 19:23:02 (GMT) |
commit | 04acf63252c0512c52c776c5babf392df5a1455f (patch) | |
tree | 14a39edb2a0ac0dfdc8e35108c3920009637b1e2 /sc_ui.py | |
parent | 1b155ec4dc011ed325ec82d44754074e9a40f21a (diff) |
Diffstat (limited to 'sc_ui.py')
-rw-r--r-- | sc_ui.py | 36 |
1 files changed, 15 insertions, 21 deletions
@@ -35,35 +35,29 @@ from sugar.graphics.alert import NotifyAlert class ScreencastUserInterface(gobject.GObject): - # Attributes - _activity = None - - _toolbox = None - _toolbar = None - - _recordbutton = None - _stopbutton = None - _buttonsbox = None - - _box = None - _boxalign = None - - _checkbox = None - _label = None - - # Custom signals __gsignals__ = { - 'recordbutton-clicked': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, ()), - 'stopbutton-clicked': (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, ()), - } + 'recordbutton-clicked': (gobject.SIGNAL_RUN_FIRST, + gobject.TYPE_NONE, ()), + 'stopbutton-clicked': (gobject.SIGNAL_RUN_FIRST, + gobject.TYPE_NONE, ())} def __init__(self, activity): """ Constructor """ super(ScreencastUserInterface, self).__init__() + self._toolbox = None + self._toolbar = None + self._recordbutton = None + self._stopbutton = None + self._buttonsbox = None + self._box = None + self._boxalign = None + self._checkbox = None + self._label = None + self._activity = activity - + # Widgets self.buildToolbar() self.buildButtons() |