Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sc_ui.py
diff options
context:
space:
mode:
Diffstat (limited to 'sc_ui.py')
-rw-r--r--sc_ui.py36
1 files changed, 15 insertions, 21 deletions
diff --git a/sc_ui.py b/sc_ui.py
index a9d2489..33923af 100644
--- a/sc_ui.py
+++ b/sc_ui.py
@@ -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()