# HG changeset patch # User sirebral # Date 1249482131 18000 # Node ID 6d18ee109e028d3d1ed88228800a0d5d91b9a64b # Parent 95db4430caed81eeb0292c6815c9d2dbc4c6b3c5 Duplicates removed, refresh button still prints. Moving to Pull command and Delete button. diff -r 95db4430caed -r 6d18ee109e02 orpg/orpg_version.py --- a/orpg/orpg_version.py Wed Aug 05 09:10:40 2009 -0500 +++ b/orpg/orpg_version.py Wed Aug 05 09:22:11 2009 -0500 @@ -4,7 +4,7 @@ #BUILD NUMBER FORMAT: "YYMMDD-##" where ## is the incremental daily build index (if needed) DISTRO = "Traipse Dev" DIS_VER = "Grumpy Goblin" -BUILD = "090805-04" +BUILD = "090805-05" # This version is for network capability. PROTOCOL_VERSION = "1.2" diff -r 95db4430caed -r 6d18ee109e02 upmana/updatemana.py --- a/upmana/updatemana.py Wed Aug 05 09:10:40 2009 -0500 +++ b/upmana/updatemana.py Wed Aug 05 09:22:11 2009 -0500 @@ -253,6 +253,11 @@ self.sizers["repolist_layout"] = wx.FlexGridSizer(rows=1, cols=1, hgap=2, vgap=5) self.manifest = manifest + self.id = 0; self.box = {}; self.main = {}; self.container = {}; self.layout = {} + self.name = {}; self.url = {}; self.pull = {}; self.uri = {}; self.delete = {} + self.defaultcheck = {}; self.default = {}; self.repotrac = {} + self.pull_list = {}; self.delete_list = {}; self.defchecklist = {} + self.BuildRepoList(None) self.sizers["repolist_layout"].AddGrowableCol(0) @@ -277,11 +282,9 @@ def BuildRepoList(self, event): self.repolist = self.manifest.GetList('UpdateManifest', 'repolist', '') + try: self.repolist = self.repo + except: pass - self.id = 0; self.box = {}; self.main = {}; self.container = {}; self.layout = {} - self.name = {}; self.url = {}; self.pull = {}; self.uri = {}; self.delete = {} - self.defaultcheck = {}; self.default = {}; self.repotrac = {} - self.pull_list = {}; self.delete_list = {}; self.defchecklist = {} #wx.Yeild() For future refrence. @@ -315,13 +318,13 @@ def AddRepo(self, event): repo = self.texts['reponame'].GetValue(); repo = repo.replace(' ', '_'); repo = 'repo-' + repo - self.manifest.SetString('updaterepo', repo, ''); repo = repo.split(',') + self.manifest.SetString('updaterepo', repo, ''); self.repo = repo.split(',') repolist = self.manifest.GetList('UpdateManifest', 'repolist', '') if repolist == '': pass else: - repo = repolist + repo - self.manifest.SetList('UpdateManifest', 'repolist', repo); print repo + repolist = repolist + self.repo + self.manifest.SetList('UpdateManifest', 'repolist', repolist) self.BuildRepoList(None) def RefreshRepo(self, event):