diff options
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() |