[Sugar-devel] [ASLO] Release Read ETexts-27

James Cameron quozl at laptop.org
Sun Jan 24 22:06:23 EST 2016


G'day James,

Line 476 of your ReadEtextsActivity.py changes the accelerator for the
stop button to '<Ctrl><Shift>Q', but the default in Sugar is
'<Ctrl>Q', and the only activities that ought not use the default are
those where ctrl-q has special meaning, such as Terminal.

References:

https://wiki.sugarlabs.org/go/Hotkeys
https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/src/sugar3/activity/widgets.py#L87

For speech, is there any reason you can't use the speech module in the
sugar-toolkit-gtk3 package?

https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/src/sugar3/speech.py

Thanks for the gitorious pointer, I wasn't aware which source control
repository you were using.  Everybody else has moved to GitHub, but nobody
has taken down Sugar Labs gitorious yet, perhaps there are others like
you still using it.

Your activity/activity.info file can have a new field for that;

repository = <URL>

On Sun, Jan 24, 2016 at 08:11:39PM -0600, James Simmons wrote:
> James,
> 
> I tested on Fedora 23 Workstation. The speech feature works OK there. I don't
> think I'm doing anything with Ctrl-q.
> 
> This is the code that I think is being complained about when it disables
> speech:
> 
> [1]http://git.sugarlabs.org/readetexts/mainline/blobs/master/speech.py
> 
> The line is:
> 
> Gst.ElementFactory.make('espeak')
> 
> I see similar lines elsewhere where a second argument is used, specifying
> source or sink.
> 
> I'll give this another try later, probably tomorrow evening. Don't release this
> version.
> 
> I could use some clarification on what ctrl-q is supposed to do. I haven't done
> Sugar coding for something like three years and this sounds new.
> 
> James Simmons
> 
> On Sun, Jan 24, 2016 at 6:18 PM, James Cameron <[2]quozl at laptop.org> wrote:
> 
>     On Sun, Jan 24, 2016 at 04:28:50PM -0500, Sugar Labs Activities wrote:
>     > [3]http://activities.sugarlabs.org/downloads/file/29159/read_etexts-27.xo
> 
>     Tested briefly on Fedora 20.
> 
>     1.  the ctrl-q short cut does not work, an older ctrl-shift-q does,
> 
>     2.  no speech feature seen,
> 
>     3.  functional test passed, downloaded Emma by Jane Austen,
> 
>     Logs: [4]http://dev.laptop.org/~quozl/z/1aNUoS.txt
>    
>     --
>     James Cameron
>     [5]http://quozl.netrek.org/
>     _______________________________________________
>     Sugar-devel mailing list
>     [6]Sugar-devel at lists.sugarlabs.org
>     [7]http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> References:
> 
> [1] http://git.sugarlabs.org/readetexts/mainline/blobs/master/speech.py
> [2] mailto:quozl at laptop.org
> [3] http://activities.sugarlabs.org/downloads/file/29159/read_etexts-27.xo
> [4] http://dev.laptop.org/~quozl/z/1aNUoS.txt
> [5] http://quozl.netrek.org/
> [6] mailto:Sugar-devel at lists.sugarlabs.org
> [7] http://lists.sugarlabs.org/listinfo/sugar-devel

-- 
James Cameron
http://quozl.netrek.org/


More information about the Sugar-devel mailing list