#7718 BLOC 8.2.0 (: Can not set title in the journal
Zarro Boogs per Child
bugtracker at laptop.org
Wed Jul 30 10:36:27 EDT 2008
#7718: Can not set title in the journal
------------------------------+---------------------------------------------
Reporter: erikos | Owner: tomeu
Type: defect | Status: new
Priority: blocker | Milestone: 8.2.0 (was Update.2)
Component: journal-activity | Version: Development build as of this date
Keywords: | Next_action: review
Verified: 0 | Blockedby:
Blocking: |
------------------------------+---------------------------------------------
I guess introduced through #7152 you can not set the title of a journal
entry unless you have revealed the palette of the entry before.
Since this is a regression i make this a blocker.
{{{
diff --git a/collapsedentry.py b/collapsedentry.py
index 3e5714f..bd3bb87 100644
--- a/collapsedentry.py
+++ b/collapsedentry.py
@@ -366,7 +366,6 @@ class CollapsedEntry(BaseCollapsedEntry):
self._cancel_title_change()
elif self.title.props.text != title:
self.title.props.text = title
- self.icon.palette.props.primary_text = title
self._jobject.metadata['title'] = title
self._jobject.metadata['title_set_by_user'] = '1'
datastore.write(self._jobject, update_mtime=False,
}}}
Since we set the title in the jobject (and this is then passed to
create_palette() of the EntryIcon we can remove the line setting the title
of the icon.palette.
--
Ticket URL: <http://dev.laptop.org/ticket/7718>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list