#2458 HIGH First D: icons for supported mime-types should be taken from bundle

Zarro Boogs per Child bugtracker at laptop.org
Tue Sep 25 09:27:38 EDT 2007


#2458: icons for supported mime-types should be taken from bundle
---------------------+------------------------------------------------------
  Reporter:  bert    |       Owner:  danw                  
      Type:  defect  |      Status:  new                   
  Priority:  high    |   Milestone:  First Deployment, V1.0
 Component:  sugar   |     Version:                        
Resolution:          |    Keywords:  review?               
  Verified:  0       |  
---------------------+------------------------------------------------------
Changes (by danw):

 * cc: marco (added)
  * keywords:  => review?


Comment:

 As with #2457, my first draft of this accidentally already got committed,
 but it's not quite right as is, so I'll attach an updated patch.

 The idea here is that for every MIME type listed in activity.info, you can
 also provide an appropriately-named icon (eg, application-x-turtle-
 art.svg), and that will be copied into $XDG_DATA_HOME as part of the sugar
 icon theme.

 We also need changes to the ObjectTypeRegistry service though, because the
 journal uses that rather than calling gnomevfs directly to get MIME type
 icons. So the patch makes ObjectTypeRegistry watch the BundleRegistry to
 learn about activity-supported MIME types, and checks if there are icons
 for them.

-- 
Ticket URL: <https://dev.laptop.org/ticket/2458#comment:6>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list