equal
deleted
inserted
replaced
25 flag=wx.BOTTOM | wx.ALIGN_CENTER_HORIZONTAL) |
25 flag=wx.BOTTOM | wx.ALIGN_CENTER_HORIZONTAL) |
26 self.SetSizer(self.mainSizer) |
26 self.SetSizer(self.mainSizer) |
27 self.Layout() |
27 self.Layout() |
28 self.Fit() |
28 self.Fit() |
29 |
29 |
30 def __init__(self, parent, uri=''): |
30 def __init__(self, parent, ctr, uri=''): |
|
31 self.ctr = ctr |
31 wx.Dialog.__init__(self, |
32 wx.Dialog.__init__(self, |
32 name='UriEditor', parent=parent, |
33 name='UriEditor', parent=parent, |
33 title=_('URI Editor')) |
34 title=_('URI Editor')) |
34 self.choices = [_("- Search local network -")] + ConnectorSchemes() |
35 self.choices = [_("- Search local network -")] + ConnectorSchemes() |
35 self._init_ctrls(parent) |
36 self._init_ctrls(parent) |