/[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 816 by jonathan, Mon May 5 15:05:16 2003 UTC revision 964 by jonathan, Wed May 21 17:24:09 2003 UTC
# Line 313  class ProjFrame(NonModalDialog): Line 313  class ProjFrame(NonModalDialog):
313              self.button_import.Enable(True)              self.button_import.Enable(True)
314              self.button_export.Enable(False)              self.button_export.Enable(False)
315              self.button_remove.Enable(False)              self.button_remove.Enable(False)
316                self.button_save.Enable(False)
317    
318          elif len(sel) == 1:          elif len(sel) == 1:
319    
# Line 548  class ProjFrame(NonModalDialog): Line 549  class ProjFrame(NonModalDialog):
549          sizer_13.Add(self.label_2, 0, wxALL|wxALIGN_CENTER_VERTICAL, 4)          sizer_13.Add(self.label_2, 0, wxALL|wxALIGN_CENTER_VERTICAL, 4)
550          sizer_13.Add(self.projname, 1, wxALL, 4)          sizer_13.Add(self.projname, 1, wxALL, 4)
551          self.sizer_projctrls.Add(sizer_13, 0, wxEXPAND, 0)          self.sizer_projctrls.Add(sizer_13, 0, wxEXPAND, 0)
552          sizer_14.Add(self.label_3, 0, wxALL|wxALIGN_CENTER_VERTICAL, 4)          sizer_14.Add(self.label_3, 0, wxALL, 4)
553          sizer_14.Add(self.projchoice, 1, wxALL|wxEXPAND|wxADJUST_MINSIZE, 4)          sizer_14.Add(self.projchoice, 1, wxALL|wxEXPAND|wxADJUST_MINSIZE, 4)
554          self.sizer_projctrls.Add(sizer_14, 0, wxEXPAND, 0)          self.sizer_projctrls.Add(sizer_14, 0, wxEXPAND, 0)
555          self.sizer_edit.Add(self.sizer_projctrls, 1, wxEXPAND, 0)          self.sizer_edit.Add(self.sizer_projctrls, 1, wxEXPAND, 0)
# Line 887  class GeoPanel(ProjPanel): Line 888  class GeoPanel(ProjPanel):
888      def __init__(self, parent, receiver):      def __init__(self, parent, receiver):
889          ProjPanel.__init__(self, parent)          ProjPanel.__init__(self, parent)
890    
891          self.__choices = [(_("Radians"), "1"),          self.__choices = [(_("Degrees"), "0.017453"),
892                            (_("Degrees"), "0.017453")]                            (_("Radians"), "1")]
893    
894          self.__scale = wxChoice(self, -1)          self.__scale = wxChoice(self, -1)
895          for choice, value in self.__choices:          for choice, value in self.__choices:

Legend:
Removed from v.816  
changed lines
  Added in v.964

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26