[Bio] / PyGUI / Catalogpanel.py Repository:
ViewVC logotype

Diff of /PyGUI/Catalogpanel.py

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

revision 1.35, Tue Jul 13 21:15:07 2004 UTC revision 1.36, Wed Jul 14 20:45:24 2004 UTC
# Line 204  Line 204 
204          else:          else:
205              versions   = catEntry.versions()              versions   = catEntry.versions()
206              if ( [] == versions ):              if ( [] == versions ):
207                  self.parent.catPathValue.SetLabel( catEntry.path()+";[None]" )                  self.parent.catPathValue.SetValue( catEntry.path()+";[None]" )
208                  theBox.SetValue( "None" )                  theBox.SetValue( "None" )
209              else:              else:
210                  maxVersion = max( versions )                  maxVersion = max( versions )
211                  for v in versions:                  for v in versions:
212                      theBox.Append( "%s" % (v ) )                      theBox.Append( "%s" % (v ) )
213                      theBox.SetValue( "%s" % (maxVersion) )                      theBox.SetValue( "%s" % (maxVersion) )
214                  self.parent.catPathValue.SetLabel(catEntry.path()+";[%s]" % (maxVersion))                  self.parent.catPathValue.SetValue(catEntry.path()+";[%s]" % (maxVersion))
215              #              #
216              self.parent.catHistoryDateValue.SetLabel( "no date info yet" )              self.parent.catHistoryDateValue.SetLabel( "no date info yet" )
217              self.parent.catHistoryUserValue.SetLabel( "no user info yet" )              self.parent.catHistoryUserValue.SetLabel( "no user info yet" )

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3