comparison upmana/updatemana.py @ 35:0b0c553d50f5 traipse_dev

Removed a remark for the New Button to work. Code is extremely sloppy right now. Adding a panel inside a panel is not as easy as reading a book.
author sirebral
date Mon, 03 Aug 2009 11:59:45 -0500
parents 8b630fc8a343
children 683536732926
comparison
equal deleted inserted replaced
34:8b630fc8a343 35:0b0c553d50f5
309 309
310 self.Bind(wx.EVT_BUTTON, self.AddRepo, self.buttons['addrepo']) 310 self.Bind(wx.EVT_BUTTON, self.AddRepo, self.buttons['addrepo'])
311 311
312 def AddRepo(self, event): 312 def AddRepo(self, event):
313 repo = self.texts['reponame'].GetValue(); repo = repo.replace(' ', '_'); repo = 'repo-' + repo 313 repo = self.texts['reponame'].GetValue(); repo = repo.replace(' ', '_'); repo = 'repo-' + repo
314 #self.manifest.SetString('updaterepo', repo, ''); repo = repo.split(',') #Sets URL 314 self.manifest.SetString('updaterepo', repo, ''); repo = repo.split(',') #Sets URL
315 repolist = self.manifest.GetList('UpdateManifest', 'repolist', ''); repo = repolist + repo 315 repolist = self.manifest.GetList('UpdateManifest', 'repolist', ''); repo = repolist + repo
316 self.manifest.SetList('UpdateManifest', 'repolist', repo) 316 self.manifest.SetList('UpdateManifest', 'repolist', repo)
317 317
318 318
319 class Manifest(wx.Panel): 319 class Manifest(wx.Panel):