[Bugs] #2580 UNSP: SynthLab's info box isn't updated correctly if a new object is selected.

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Feb 6 23:12:26 EST 2011


#2580: SynthLab's info box isn't updated correctly if a new object is selected.
------------------------------------------+---------------------------------
    Reporter:  tom                        |          Owner:  alsroot                    
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  TamTam                     |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:  sugar-love                 
Status_field:  New                        |   Distribution:  Unspecified                
   Seeta_dev:                             |  
------------------------------------------+---------------------------------

Comment(by RafaelOrtiz):

 code not working:


 {{{
 def updateViewer(self):

         selectedType =
 SynthLabConstants.CHOOSE_TYPE[self.objectType][self.choosenType]

         infoType = SynthLabConstants.SYNTHPARA[selectedType][4]
         infoPara =
 SynthLabConstants.SYNTHPARA[selectedType][4+self.curSlider]
         self.infoText = infoType + '\n\n' +
 SynthLabConstants.SYNTHPARA[selectedType][self.curSlider-1] + ': ' +
 infoPara
         self.textBuf.set_text(self.infoText)
 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2580#comment:3>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list