/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/join.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/join.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1000 by frank, Thu May 22 19:40:06 2003 UTC revision 1005 by bh, Thu May 22 20:01:50 2003 UTC
# Line 55  class JoinDialog(wxDialog): Line 55  class JoinDialog(wxDialog):
55          self.choice_right_table.Append('Select ...', None)          self.choice_right_table.Append('Select ...', None)
56                    
57          for t in session.Tables():          for t in session.Tables():
58              self.choice_left_table.Append(t.transient_table().tablename, t)              self.choice_left_table.Append(t.transient_table().Title(), t)
59              self.choice_right_table.Append(t.transient_table().tablename, t)              self.choice_right_table.Append(t.transient_table().Title(), t)
60    
61          EVT_CHOICE(self, ID_LEFT_TABLE, self.OnLeftTable)          EVT_CHOICE(self, ID_LEFT_TABLE, self.OnLeftTable)
62          EVT_CHOICE(self, ID_RIGHT_TABLE, self.OnRightTable)          EVT_CHOICE(self, ID_RIGHT_TABLE, self.OnRightTable)
# Line 126  class JoinDialog(wxDialog): Line 126  class JoinDialog(wxDialog):
126              dlg = wxMessageDialog(None, 'Join failed:\n  %s' % exc_value,              dlg = wxMessageDialog(None, 'Join failed:\n  %s' % exc_value,
127                                          'Info',wxOK|wxICON_ERROR)                                          'Info',wxOK|wxICON_ERROR)
128              dlg.ShowModal()              dlg.ShowModal()
129              dlg.Destroy              dlg.Destroy()
130              result = False              result = False
131                    
132          if result:          if result:

Legend:
Removed from v.1000  
changed lines
  Added in v.1005

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26