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

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

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

revision 1941 by bh, Tue Nov 11 18:27:48 2003 UTC revision 2022 by frank, Fri Dec 5 13:36:10 2003 UTC
# Line 576  class ProjFrame(NonModalNonParentDialog) Line 576  class ProjFrame(NonModalNonParentDialog)
576          with get_user_proj_file and cache it in self.__usrProjFile.          with get_user_proj_file and cache it in self.__usrProjFile.
577    
578          Show a busy cursor while loading the file.          Show a busy cursor while loading the file.
579        
580            If the file is not available, leave a note to the console.
581          """          """
582          if self.__usrProjFile is None:          if self.__usrProjFile is None:
583              ThubanBeginBusyCursor()              ThubanBeginBusyCursor()
584              try:              try:
585                  projfile, warnings = get_user_proj_file()                  projfile, warnings = get_user_proj_file()
586                  self.show_warnings(_("Warnings"), projfile.GetFilename(),                  if warnings:
587                                     warnings)                      sys.stderr.write("".join(warnings))
588                  self.__usrProjFile = projfile                  self.__usrProjFile = projfile
589              finally:              finally:
590                  ThubanEndBusyCursor()                  ThubanEndBusyCursor()

Legend:
Removed from v.1941  
changed lines
  Added in v.2022

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26