diff options
author | Nat <Nat@localhost.localdomain> | 2007-02-27 00:40:02 (GMT) |
---|---|---|
committer | Nat <Nat@localhost.localdomain> | 2007-02-27 00:40:02 (GMT) |
commit | 63fa4523f8562a22b62c52f25d8ed7ab62b36a2b (patch) | |
tree | 5a1beaf3f68d76df9cf9975a3bee89666e78766b /TamTam.py | |
parent | 82d745ac7f828d3ba29bbbaf14b7675f0480f51d (diff) |
New API changes tentative
Diffstat (limited to 'TamTam.py')
-rwxr-xr-x | TamTam.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -15,7 +15,7 @@ from SynthLab.SynthLabWindow import SynthLabWindow try : from sugar.activity.Activity import Activity except ImportError: - from gtk import Window as Activity + from FActivity import FakeActivity as Activity if not os.path.isdir(Config.PREF_DIR): @@ -34,8 +34,8 @@ class TamTam(Activity): # - the synth lab # - edit mode - def __init__(self, mode='welcome'): - Activity.__init__(self) + def __init__(self, handle, mode='welcome'): + Activity.__init__(self, handle) color = gtk.gdk.color_parse(Config.PANEL_BCK_COLOR) self.modify_bg(gtk.STATE_NORMAL, color) @@ -122,7 +122,7 @@ class TamTam(Activity): if __name__ == "__main__": def run_non_sugar_mode(mode): - mainwin = TamTam(mode) + mainwin = TamTam(None,mode) gtk.main() if len(sys.argv) > 1 : |