[Sugar-devel] [RELEASE] [Sucrose 0.85] Imageviewer 10

Aleksey Lim alsroot at member.fsf.org
Thu May 7 22:39:41 EDT 2009


On Fri, May 08, 2009 at 12:37:00AM +0000, Aleksey Lim wrote:
> On Fri, May 08, 2009 at 01:50:44AM +0530, Sayamindu Dasgupta wrote:
> > Hello all,
> > I have released ImageViewer activity version 10.
> > This release has support for sharing file sharing.
> > 
> > This is a major new functionality (feature freeze break) so I'm
> > releasing it as a part of 0.85. However, this works fine with  0.82
> > and above.
> it doesn't work with XO-767(sugar-0.82 can't use mime types in object
> chooser), so I marked it "only 0.84" on ASLO
> 
> you can wrap object chooser code into try..except
> and make it runnable on 0.82(and upload new version to ASLO)

Just an option - you can use sugar-port[1] API for object chooser instead of
native from sugar.

In that case you should create "port" directory and place there chooser.py
file from sugar-port project and use it according to [2].
On 0.84 it will open ObjectChooser with preselected mime type, on 0.82
just open ObjectChooser w/o errors.

[1] http://wiki.sugarlabs.org/go/Development_Team/sugar-port
[2] http://people.sugarlabs.org/~alsroot/sugar-port/port.chooser-module.html

-- 
Aleksey


More information about the Sugar-devel mailing list