Changeset 7488

Show
Ignore:
Timestamp:
02/23/09 06:39:28 (6 hours ago)
Author:
williams13
Message:

Third commit of the mandatory fields changes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Esgcet/trunk/esgcet/esgcet/ui/pub_expand_dataset_gui.py

    r7487 r7488  
    508508 
    509509          # DEAN Copy the defaultGlobalValues into initcontext 
    510           defaultGlobalValues = {} 
    511           #for x in self.parent.parent.pub_buttonexpansion.dataset_widgets.dataset_fields.keys(): 
    512           #    v = self.parent.parent.pub_buttonexpansion.dataset_widgets.dataset_fields[x].get() 
    513           #    if v.find("Default Global Setting") == -1: 
    514           #       defaultGlobalValues[ x ] = v 
    515           initcontext.update( self.defaultGlobalValues ) # Update the initcontext 
     510          setdefaultGlobalValues = {} 
     511          for x in self.defaultGlobalValues.keys(): 
     512              if self.defaultGlobalValues[ x ].find("Default Global Setting") == -1: 
     513                 setdefaultGlobalValues[ x ] = self.defaultGlobalValues[ x ] 
     514          initcontext.update( setdefaultGlobalValues ) # Update the initcontext 
    516515 
    517516          properties = {} 
     
    574573                usehullsize = 1, 
    575574                horizflex = 'expand', 
    576                 #vscrollmode = "static", 
    577                 #hscrollmode = "static", 
    578575                ) 
    579576