#5088 NORM Never A: changes to fields description and tags are not persisted
Zarro Boogs per Child
bugtracker at laptop.org
Thu Nov 22 14:36:17 EST 2007
#5088: changes to fields description and tags are not persisted
------------------------------+---------------------------------------------
Reporter: tomeu | Owner: tomeu
Type: defect | Status: new
Priority: normal | Milestone: Never Assigned
Component: journal-activity | Version:
Keywords: Update.1? | Verified: 0
------------------------------+---------------------------------------------
Due to two typos that this patch fixes:
{{{
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
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/5088>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list