equal
deleted
inserted
replaced
1097 locations_infos["root"]["left"] = treectrl |
1097 locations_infos["root"]["left"] = treectrl |
1098 locations_infos["root"]["right"] = rightwindow |
1098 locations_infos["root"]["right"] = rightwindow |
1099 for location in plugin_locations: |
1099 for location in plugin_locations: |
1100 locations_infos["root"]["children"].append("root.%s" % location["name"]) |
1100 locations_infos["root"]["children"].append("root.%s" % location["name"]) |
1101 self.GenerateLocationTreeBranch(treectrl, treectrl.GetRootItem(), locations_infos, "root", location) |
1101 self.GenerateLocationTreeBranch(treectrl, treectrl.GetRootItem(), locations_infos, "root", location) |
1102 treectrl.Expand(treectrl.GetRootItem()) |
|
1103 if locations_infos["root"]["expanded"]: |
1102 if locations_infos["root"]["expanded"]: |
1104 self.PluginTreeSizer.Layout() |
1103 self.PluginTreeSizer.Layout() |
1105 self.ExpandLocation(locations_infos, "root") |
1104 self.ExpandLocation(locations_infos, "root") |
1106 else: |
1105 else: |
1107 self.RefreshTreeCtrlSize(treectrl) |
1106 self.RefreshTreeCtrlSize(treectrl) |