#5189 NORM Never A: changes to tags and description fields in the journal don't persist

Zarro Boogs per Child bugtracker at laptop.org
Thu Nov 29 09:24:06 EST 2007


#5189: changes to tags and description fields in the journal don't persist
------------------------------+---------------------------------------------
 Reporter:  tomeu             |       Owner:  tomeu         
     Type:  defect            |      Status:  new           
 Priority:  normal            |   Milestone:  Never Assigned
Component:  journal-activity  |     Version:                
 Keywords:  update.1?         |    Verified:  0             
------------------------------+---------------------------------------------
 This fixes a typo in the journal:

 {{{
 diff --git a/expandedentry.py b/expandedentry.py
 index efed265..9085316 100644
 --- a/expandedentry.py
 +++ b/expandedentry.py
 @@ -322,13 +322,13 @@ class ExpandedEntry(hippo.CanvasBox):
              needs_update = True

          old_tags = self._jobject.metadata.get('tags', None)
 -        new_tags = self._tags.props.widget.props.buffer.props.text
 +        new_tags = self._tags.text_view_widget.props.buffer.props.text
          if old_tags != new_tags:
              self._jobject.metadata['tags'] = new_tags
              needs_update = True

          old_description = self._jobject.metadata.get('description', None)
 -        new_description =
 self._description.props.widget.props.buffer.props.text
 +        new_description =
 self._description.text_view_widget.props.buffer.props.text
          if old_description != new_description:
              self._jobject.metadata['description'] = new_description
              needs_update = True
 }}}

 Even with this, the description fields won't persist between reboots, but
 that's because of #4662.

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



More information about the Bugs mailing list