#4515 HIGH Update.: Palette interaction improvements

Zarro Boogs per Child bugtracker at laptop.org
Mon Nov 26 08:58:06 EST 2007


#4515: Palette interaction improvements
---------------------+------------------------------------------------------
  Reporter:  marco   |       Owner:  rwh              
      Type:  defect  |      Status:  new              
  Priority:  high    |   Milestone:  Update.1         
 Component:  sugar   |     Version:                   
Resolution:          |    Keywords:  update.1? review+
  Verified:  0       |  
---------------------+------------------------------------------------------

Comment(by marco):

 {{{
 +                state = group.get_state()
 +                if state == self.SECONDARY:
 +                    state = self.PRIMARY
 +                self._set_state(state)
 }}}

 _set_state already check if the state is actually difference, so I think
 you can keep this simpler and do self._set_state(self.PRIMARY).

 Please push on master, so we can get this one as well.

-- 
Ticket URL: <http://dev.laptop.org/ticket/4515#comment:24>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list