[Bugs] #2926 UNSP: clicking star causes newly typed description to disappear

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Jun 22 07:47:57 EDT 2011


#2926: clicking star causes newly typed description to disappear
------------------------------------------+---------------------------------
    Reporter:  walter                     |          Owner:                             
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Git as of bugdate          
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------

Comment(by walter):

 Seems that simply adding an update in _keep_icon_activated_cb() will fix
 the problem.

 --- expandedentry.py    2011-06-08 14:28:50.951068937 -0400
 +++ expandedentry.py    2011-06-22 07:41:29.219046967 -0400
 @@ -416,6 +416,7 @@ class ExpandedEntry(hippo.CanvasBox):
      def _keep_icon_activated_cb(self, keep_icon):
          if not model.is_editable(self._metadata):
              return
 +        self._update_entry()
          if self.get_keep():
              self._metadata['keep'] = 0
          else:

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


More information about the Bugs mailing list