[sugar] Image Viewer Activity

Bert Freudenberg bert
Mon Sep 29 14:49:27 EDT 2008


Am 29.09.2008 um 11:46 schrieb Sayamindu Dasgupta:

> On Mon, Sep 29, 2008 at 11:57 PM, Gary C Martin  
> <gary at garycmartin.com> wrote:
>> On 29 Sep 2008, at 17:13, Sayamindu Dasgupta wrote:
>>
>>> Hello,
>>>
>>> I was a little annoyed with having to start up Browse to view  
>>> images,
>>> and since I had done a small toy PyGTK based image viewer widget
>>> sometime back, I decided to put that in an activity over the  
>>> weekend.
>>> You can download it from
>>> http://dev.laptop.org/~sayamindu/bundles/imageviewer/ 
>>> ImageViewer-1.xo
>>> It can zoom and rotate images. However, it cannot put anything in  
>>> the
>>> journal, since a workaround for #8155 would mean eating up a lot of
>>> storage space (as I would have to create copies of the images for  
>>> each
>>> journal entry).
>>> A screenshot is at
>>> http://dev.laptop.org/~sayamindu/Captura%20de%20pantalla_1.png
>>> The code lives in Git:
>>> http://dev.laptop.org/git?p=users/sayamindu/imageviewer-activity;a=tree
>>>
>>> Comments, patches and brickbats are welcome :-).
>>> Thanks,
>>> Sayamindu
>>
>> Hey, fantastic, thanks! :-)
>>
>> --Gary
>>
>> P.S. Any hints on changing the default activity that takes charge  
>> of a mime
>> type?
>>
>
> No clue on how to set the default activity associated with a mimetype
> :-(. If anyone has any ideas, please let me know :-).


/usr/share/sugar/data/mime.defaults

- Bert -





More information about the Sugar-devel mailing list