Title: [chandler2] (grant)[139] Change the old "mainFrame" attribute on ChandlerApplication to be a
Revision
139
Author
grant
Date
2009-02-19 08:28:22 -0800 (Thu, 19 Feb 2009)

Log Message

Change the old "mainFrame" attribute on ChandlerApplication to be a
set of top level windows.

Modified Paths

Diff

Modified: trunk/Chandler-App/chandler/main.py (138 => 139)


--- trunk/Chandler-App/chandler/main.py	2009-02-19 16:22:07 UTC (rev 138)
+++ trunk/Chandler-App/chandler/main.py	2009-02-19 16:28:22 UTC (rev 139)
@@ -7,7 +7,9 @@
     """The Chandler Application"""
     sidebar_entries = trellis.make(trellis.Set, writable=True)
 
+    top_level = trellis.make(trellis.Set)
 
+
 class ChandlerFrame(core.Frame):
     model = trellis.make(trellis.Set, writable=True)
 
@@ -26,7 +28,8 @@
     load_domain(app)
 
     # IM-specific stuff here
-    app.mainFrame = ChandlerFrame(model=app.sidebar_entries)
+    app.top_level.add(ChandlerFrame(model=app.sidebar_entries,
+                                    label=u'Chandler2 Demo'))
 
 def _headless(app):
     banner = """
_______________________________________________
commits mailing list
commits@osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to