#4781 HIGH Retriag: Video and Audio files from Record don't show up on clipboard correctly

Zarro Boogs per Child bugtracker at laptop.org
Mon Dec 17 06:44:18 EST 2007


#4781: Video and Audio files from Record don't show up on clipboard correctly
---------------------+------------------------------------------------------
  Reporter:  AlexL   |       Owner:  tomeu            
      Type:  defect  |      Status:  reopened         
  Priority:  high    |   Milestone:  Retriage, Please!
 Component:  sugar   |     Version:                   
Resolution:          |    Keywords:  update1? review? 
  Verified:  0       |  
---------------------+------------------------------------------------------
Changes (by tomeu):

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


Comment:

 At some point the mime types set by Record changed.

 {{{
 diff --git a/src/sugar/mime.py b/src/sugar/mime.py
 index e54e063..d5d07b2 100644
 --- a/src/sugar/mime.py
 +++ b/src/sugar/mime.py
 @@ -41,12 +41,12 @@ _generic_types = [
  { 'id'    : 'Audio',
    'name'  : _('Audio'),
    'icon'  : 'audio-x-generic',
 -  'types' : ['audio/ogg', 'audio/x-wav', 'audio/wav']
 +  'types' : ['audio/ogg', 'audio/x-wav', 'audio/wav',
 'audio/x-vorbis+ogg']
  },
  { 'id'    : 'Video',
    'name'  : _('Video'),
    'icon'  : 'video-x-generic',
 -  'types' : ['video/ogg', 'application/ogg']
 +  'types' : ['video/ogg', 'application/ogg', 'video/x-theora+ogg']
  },
  { 'id'    : 'Link',
    'name'  : _('Link'),
 @@ -154,8 +154,19 @@ def get_primary_extension(mime_type):
      else:
          return None
 }}}

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



More information about the Bugs mailing list