[Commits] (john) - Fixed a bug where the repository view didn't
persist it's opened state
commits at osafoundation.org
commits at osafoundation.org
Mon Sep 13 17:33:57 PDT 2004
Commit by: john
Modified files:
chandler/parcels/osaf/framework/blocks/ControlBlocks.py 1.115 1.116
chandler/parcels/osaf/framework/blocks/parcel.xml 1.111 1.112
Log message:
- Fixed a bug where the repository view didn't persist it's opened state
- Removed some deadwood that is no longer necessary because of fixed repository and/or parcel loading bugs
ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/blocks/ControlBlocks.py.diff?r1=text&tr1=1.115&r2=text&tr2=1.116
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/blocks/parcel.xml.diff?r1=text&tr1=1.111&r2=text&tr2=1.112
Index: chandler/parcels/osaf/framework/blocks/ControlBlocks.py
diff -u chandler/parcels/osaf/framework/blocks/ControlBlocks.py:1.115 chandler/parcels/osaf/framework/blocks/ControlBlocks.py:1.116
--- chandler/parcels/osaf/framework/blocks/ControlBlocks.py:1.115 Mon Sep 13 16:40:26 2004
+++ chandler/parcels/osaf/framework/blocks/ControlBlocks.py Mon Sep 13 17:33:56 2004
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.115 $"
-__date__ = "$Date: 2004/09/13 23:40:26 $"
+__version__ = "$Revision: 1.116 $"
+__date__ = "$Date: 2004/09/14 00:33:56 $"
__copyright__ = "Copyright (c) 2003-2004 Open Source Applications Foundation"
__license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
@@ -912,8 +912,7 @@
else:
self.LoadChildren(id)
- if self.IsVisible (id):
- self.Expand(id)
+ self.Expand(id)
child, cookie = self.GetFirstChild (id)
while child.IsOk():
@@ -995,22 +994,14 @@
class wxTree(wxTreeAndList, wx.TreeCtrl):
- def __init__(self, *arguments, **keywords):
- super (wxTree, self).__init__ (*arguments, **keywords)
+ pass
class wxTreeList(wxTreeAndList, wx.gizmos.TreeListCtrl):
- def __init__(self, *arguments, **keywords):
- super (wxTreeList, self).__init__ (*arguments, **keywords)
-
+ pass
-class Tree(RectangularChild):
- def __init__(self, *arguments, **keywords):
- super (Tree, self).__init__ (*arguments, **keywords)
- self.openedContainers = {}
- self.rootPath = None
- self.selection = None
+class Tree(RectangularChild):
def instantiateWidget(self):
try:
self.columnWidths
Index: chandler/parcels/osaf/framework/blocks/parcel.xml
diff -u chandler/parcels/osaf/framework/blocks/parcel.xml:1.111 chandler/parcels/osaf/framework/blocks/parcel.xml:1.112
--- chandler/parcels/osaf/framework/blocks/parcel.xml:1.111 Fri Sep 10 16:36:16 2004
+++ chandler/parcels/osaf/framework/blocks/parcel.xml Mon Sep 13 17:33:56 2004
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.111 $ -->
-<!-- $Date: 2004/09/10 23:36:16 $ -->
+<!-- $Revision: 1.112 $ -->
+<!-- $Date: 2004/09/14 00:33:56 $ -->
<!-- Copyright (c) 2003 Open Source Applications Foundation -->
<!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
@@ -845,10 +845,12 @@
<Attribute itsName="openedContainers">
<type itemref="Boolean"/>
<cardinality>dict</cardinality>
+ <initialValue />
</Attribute>
<Attribute itsName="rootPath">
<type itemref="Item"/>
+ <initialValue itemref="None"/>
</Attribute>
<attributes itemref="docSchema:columnHeadings"/>
More information about the Commits
mailing list