/[thuban]/trunk/thuban/Extensions/gns2shp/gns2shp.py
ViewVC logotype

Diff of /trunk/thuban/Extensions/gns2shp/gns2shp.py

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

revision 2721 by dpinte, Sat Jan 13 15:11:42 2007 UTC revision 2817 by bernhard, Sun Jan 27 00:01:32 2008 UTC
# Line 27  import os, sys Line 27  import os, sys
27  if __name__ != '__main__':  if __name__ != '__main__':
28      import wx      import wx
29    
30        from Thuban.UI import internal_from_wxstring
31      from Thuban.UI.command import registry, Command      from Thuban.UI.command import registry, Command
32      from Thuban.UI.mainwindow import main_menu      from Thuban.UI.mainwindow import main_menu
33      from Thuban import _      from Thuban import _
# Line 129  def gns2shp_dialog(context): Line 130  def gns2shp_dialog(context):
130                         _('All Files (*.*)|*.*'),                         _('All Files (*.*)|*.*'),
131                         wx.OPEN|wx.OVERWRITE_PROMPT)                         wx.OPEN|wx.OVERWRITE_PROMPT)
132      if dlg.ShowModal() == wx.ID_OK:      if dlg.ShowModal() == wx.ID_OK:
133          gns_filename = dlg.GetPath()          gns_filename = internal_from_wxstring(dlg.GetPath())
134          dlg.Destroy()          dlg.Destroy()
135      else:      else:
136          return          return

Legend:
Removed from v.2721  
changed lines
  Added in v.2817

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26