#4871 NORM Update.: the write save as entries of the journal come up uncolored

Zarro Boogs per Child bugtracker at laptop.org
Tue Nov 20 10:06:05 EST 2007


#4871: the write save as entries of the journal come up uncolored
-------------------------------+--------------------------------------------
  Reporter:  erikos            |       Owner:  rwh              
      Type:  defect            |      Status:  new              
  Priority:  normal            |   Milestone:  Update.1         
 Component:  journal-activity  |     Version:                   
Resolution:                    |    Keywords:  Update.1? review?
  Verified:  0                 |  
-------------------------------+--------------------------------------------
Changes (by tomeu):

 * cc: Eben (added)


Comment:

 {{{
         icon_color = sugar.profile.get_color().to_string()
         fileObject.metadata['icon-color'] = icon_color
 }}}

 Eben, ok to create the entry with the local colors?

 {{{
         fileObject.metadata['activity_id'] = act_meta['activity_id']
 }}}

 Same activity id? Eben?

 {{{
         fileObject.metadata['keep'] = act_meta['keep']
 }}}

 One more question for Eben. Should the new entry be starred if the
 original one was?

 {{{
         self._activity.take_screenshot()
         if self._activity._preview:
             preview = self._activity._get_preview()
             fileObject.metadata['preview'] = dbus.ByteArray(preview)
 }}}

 We certainly shouldn't access any private members of other classes. I
 would prefer for this entries to not have previews until we have a good
 way to do this.

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



More information about the Bugs mailing list