#7197 HIGH 9.1.0: Journal needs support for filtering by filetype: xo, xol, any-bundle, 'other'

Zarro Boogs per Child bugtracker at laptop.org
Wed Jun 25 14:18:42 EDT 2008


#7197: Journal needs support for filtering by filetype: xo, xol, any-bundle,
'other'
-------------------------------+--------------------------------------------
  Reporter:  sj                |       Owner:  tomeu   
      Type:  defect            |      Status:  new     
  Priority:  high              |   Milestone:  9.1.0   
 Component:  journal-activity  |     Version:  Update.1
Resolution:                    |    Keywords:  9.1.0:? 
  Verified:  0                 |    Blocking:          
 Blockedby:                    |  
-------------------------------+--------------------------------------------
Changes (by tomeu):

  * keywords:  8.2.0:? => 9.1.0:?
  * milestone:  8.2.0 (was Update.2) => 9.1.0


Comment:

 This would add a Bundle kind to the combo box, but unfortunately would add
 a translatable string and we are past string freeze.

 {{{
 diff --git a/src/sugar/mime.py b/src/sugar/mime.py
 index 4ad1a01..a1693cc 100644
 --- a/src/sugar/mime.py
 +++ b/src/sugar/mime.py
 @@ -55,6 +55,12 @@ _generic_types = [
    'name'  : _('Link'),
    'icon'  : 'text-uri-list',
    'types' : ['text/x-moz-url', 'text/uri-list']
 +},
 +{ 'id'    : 'Bundle',
 +  'name'  : _('Bundle'),
 +  'icon'  : 'text-uri-list',
 +  'types' : ['application/vnd.olpc-sugar',
 'application/vnd.olpc-x-sugar',
 +             'application/vnd.olpc-content']
  }]

  class ObjectType(object):
 }}}

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


More information about the Bugs mailing list