[Sugar-devel] [PATCH] implements #1106 - Browse: No preview in Journal for downloaded image

Gonzalo Odiard godiard at sugarlabs.org
Tue Sep 14 11:15:35 EDT 2010


> > +            if self._mime_type in
> ('image/bmp','image/gif','image/jpeg','image/png','image/tiff'):
> > +                self.dl_jobject.metadata['preview'] =
> self.__get_preview_image()
> > +            else:
> > +                self.dl_jobject.metadata['preview'] = ''
>
> What about svg?
>
> You are right. I will obtain the mime_types supported from gtk.pixbuf

Gonzalo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/sugar-devel/attachments/20100914/f3feca8a/attachment.htm 


More information about the Sugar-devel mailing list