[sugar] Image Viewer Activity

Sayamindu Dasgupta sayamindu
Mon Sep 29 14:46:14 EDT 2008


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 :-).

Cheers,
Sayamindu



-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]



More information about the Sugar-devel mailing list