Re: [Sugar-devel] [IAEP] Sugar Digest 2012-09-18

2012-09-24 Thread Kevin Mark
Know English, can learn programming more quickly. If there could be a study of young programming language learners who used,.say, spanish and those who learned at a similar age but used English, I'd love to see that done and see if using Spanish first made for similar/greater/lesser ability

Re: [Sugar-devel] [IAEP] Sugar Digest 2012-09-18

2012-09-24 Thread Hal Murray
cjlhomeaddr...@gmail.com said: In my experience, programmers are typically able adept at thinking of variables in the abstract, thus the preponderance of foo and 'bar when conversationally describing programming with variables. I think that's misleading. I consider sensible names (variables

Re: [Sugar-devel] [IAEP] Sugar Digest 2012-09-18

2012-09-24 Thread Bert Freudenberg
On 2012-09-24, at 01:40, James Cameron qu...@laptop.org wrote: On Sun, Sep 23, 2012 at 07:53:35PM -0300, Gonzalo Odiard wrote: Paint activity was developed by a Brazilian team and a lot of variables had Portuguese names. Whit the time, we changed a lot, but there are a few pending. It is

Re: [Sugar-devel] [IAEP] Sugar Digest 2012-09-18

2012-09-24 Thread Walter Bender
On Mon, Sep 24, 2012 at 6:37 AM, Bert Freudenberg b...@freudenbergs.de wrote: On 2012-09-24, at 01:40, James Cameron qu...@laptop.org wrote: On Sun, Sep 23, 2012 at 07:53:35PM -0300, Gonzalo Odiard wrote: Paint activity was developed by a Brazilian team and a lot of variables had Portuguese

Re: [Sugar-devel] Programming language

2012-09-24 Thread Tony Anderson
Hi, An important concept is 'language of instruction'. For example, in Nepal the language of instruction is Nepali; however, there are many native languages other than Nepali. In Haiti, the language of instruction is French. This is different than requiring a course in French. All of the

Re: [Sugar-devel] [IAEP] Sugar Digest 2012-09-18

2012-09-24 Thread James Simmons
When I wrote the chapter on collaboration in Make Your Own Sugar Activities! I used a fairly complex example called Battalla Naval that was written using Spanish. I had to run a comment or two through Babel Fish but I was able to figure out what it did and why. I only speak English. I regret

[Sugar-devel] Port all activities from cjson to json

2012-09-24 Thread Daniel Drake
Hi, With the latest sugar-toolkit release, sugar now no longer uses cjson, which has long been unmaintained and buggy, and no longer has the speed advantages that it used to (as other libraries have caught up). Any activity that uses cjson should be ported to use the 'json' module included in

Re: [Sugar-devel] Programming language

2012-09-24 Thread Gary Martin
Hi Tony, On 24 Sep 2012, at 15:33, Tony Anderson tony_ander...@usa.net wrote: Hi, An important concept is 'language of instruction'. For example, in Nepal the language of instruction is Nepali; however, there are many native languages other than Nepali. In Haiti, the language of

[Sugar-devel] [PATCH Browse] Undo close tab SL #3534

2012-09-24 Thread Manuel Kaufmann
Browse manages a list of 10 recently closed tab to be able to re-open them (the most recently closed is opened firstly) by pressing Ctrl+Shift+T. Signed-off-by: Manuel Kaufmann humi...@gmail.com --- browser.py | 13 + webactivity.py | 11 +-- 2 files changed, 22

Re: [Sugar-devel] Gst crash in sugar-build

2012-09-24 Thread Daniel Narvaez
Hi Gonzalo, as a temporary workaround you can use alsasink instead of autoaudiosink. I will see if I can figure out why the auto sink doesnt work. On 21 September 2012 15:21, Gonzalo Odiard gonz...@laptop.org wrote: A simple test-case http://dev.laptop.org/~gonzalo/simple_tts3.py Works out of

Re: [Sugar-devel] Programming language

2012-09-24 Thread Tony Anderson
Hi, I think a comparison of the size of the Pootle files for 0.82 to 0.96 would make this clear. One obvious source is the pop-up menus which are ubiquitous. Open Browse and look at the portal - it is all text. Yours, Tony On 09/24/2012 11:55 AM, Gary Martin wrote: Hi Tony, On 24 Sep

[Sugar-devel] [PATCH Browse] Show Bookmark toolbar when a bookmark is added SL #3868

2012-09-24 Thread Manuel Kaufmann
The Bookmark toolbar is shown when the first bookmark is added by the user. Signed-off-by: Manuel Kaufmann humi...@gmail.com --- webactivity.py | 1 - 1 file changed, 1 deletion(-) diff --git a/webactivity.py b/webactivity.py index 24f3b44..f9497db 100644 --- a/webactivity.py +++

Re: [Sugar-devel] Programming language

2012-09-24 Thread Chris Leonard
On Mon, Sep 24, 2012 at 1:37 PM, Tony Anderson tony_ander...@usa.net wrote: Hi, I think a comparison of the size of the Pootle files for 0.82 to 0.96 would make this clear. One obvious source is the pop-up menus which are ubiquitous. Open Browse and look at the portal - it is all text.

Re: [Sugar-devel] Programming language

2012-09-24 Thread Walter Bender
On Mon, Sep 24, 2012 at 1:37 PM, Tony Anderson tony_ander...@usa.net wrote: Hi, I think a comparison of the size of the Pootle files for 0.82 to 0.96 would make this clear. One obvious source is the pop-up menus which are ubiquitous. Open Browse and look at the portal - it is all text. You

Re: [Sugar-devel] Programming language

2012-09-24 Thread Kevin Mark
Hi Tony, Thanks for the correction about language of instruction vs. language of initial literacy. -kev ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel

Re: [Sugar-devel] Gst crash in sugar-build

2012-09-24 Thread Gonzalo Odiard
Thanks Gonzalo On Mon, Sep 24, 2012 at 1:57 PM, Daniel Narvaez dwnarv...@gmail.com wrote: Hi Gonzalo, as a temporary workaround you can use alsasink instead of autoaudiosink. I will see if I can figure out why the auto sink doesnt work. On 21 September 2012 15:21, Gonzalo Odiard

Re: [Sugar-devel] Gst crash in sugar-build

2012-09-24 Thread Daniel Narvaez
This was a bug in gst-plugins-good which has been fixed recently. I updated gstreamer to 1.0.0 which fixes the crash for me. On 24 September 2012 18:57, Daniel Narvaez dwnarv...@gmail.com wrote: Hi Gonzalo, as a temporary workaround you can use alsasink instead of autoaudiosink. I will see if

Re: [Sugar-devel] Gst crash in sugar-build

2012-09-24 Thread Daniel Narvaez
To be clear, I updated sugar-build to use 1.0.0 On 24 September 2012 20:47, Daniel Narvaez dwnarv...@gmail.com wrote: This was a bug in gst-plugins-good which has been fixed recently. I updated gstreamer to 1.0.0 which fixes the crash for me. On 24 September 2012 18:57, Daniel Narvaez

Re: [Sugar-devel] Port all activities from cjson to json

2012-09-24 Thread Gonzalo Odiard
Memorize fixed in git, will be in the next version. Gonzalo On Mon, Sep 24, 2012 at 12:53 PM, Daniel Drake d...@laptop.org wrote: Hi, With the latest sugar-toolkit release, sugar now no longer uses cjson, which has long been unmaintained and buggy, and no longer has the speed advantages

[Sugar-devel] [PATCH Browse] Display only the URL in the URL entry SL #3553

2012-09-24 Thread Manuel Kaufmann
The Title of the current page is no longer shown in the URL entry. Now, it's only shown in the tab and the current URL is visible all the time in the URL entry. Signed-off-by: Manuel Kaufmann humi...@gmail.com --- browser.py| 13 + webtoolbar.py | 53

[Sugar-devel] D-Bus daemon problem

2012-09-24 Thread Tony Anderson
Hi, The following code: client = gconf.client_get_default() role = client.get_string('/desktop/sugar/user/role') raises an exception: class 'glib.GError', GError('No D-BUS daemon running\n' I am setting a gconf parameter: role to indicate whether a student is 'staff', or in grade 4, 5, or

[Sugar-devel] [PATCH shell 1/2] Fix layout of Language and Modem sections in the Control Panel - SL #3902

2012-09-24 Thread Manuel Quiñones
- Use hide() instead of hide_all() which doesn't exist in pygobject. - Remove the set_width_chars(100) of the explanation label. Forcing the width to this arbitrary number seemed to work in gtk2/pygtk, but now the top level window is being resized to fit that width. Removing this line

[Sugar-devel] [PATCH shell 2/2] Get back text visibility in Network section of the Control Panel

2012-09-24 Thread Manuel Quiñones
Properly doing show() after packing the 'scrolled' and 'workspace' containers in this section makes the text visible again. Signed-off-by: Manuel Quiñones ma...@laptop.org --- extensions/cpsection/network/view.py | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[Sugar-devel] [PATCH shell 3/3] Fix layout of Clear search button in Journal and Activity List - SL #3809

2012-09-24 Thread Manuel Quiñones
To do it, add the button to a ButtonBox with layout Gtk.ButtonBoxStyle.CENTER. Signed-off-by: Manuel Quiñones ma...@laptop.org --- src/jarabe/desktop/activitieslist.py | 7 ++- src/jarabe/journal/listview.py | 7 ++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git

[Sugar-devel] [PATCH sugar-artwork] Fix color and background-color for GtkWindow - SL #3917

2012-09-24 Thread Manuel Quiñones
GtkStyleContext doesn't have .window class, GtkWindow should be used. This is what a11y_base.css does in gnome-themes-standard. Signed-off-by: Manuel Quiñones ma...@laptop.org --- gtk3/theme/gtk-widgets.css.em | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [Sugar-devel] [PATCH sugar-artwork] Fix color and background-color for GtkWindow - SL #3917

2012-09-24 Thread Manuel Quiñones
There is a visible regression in the Frame background with this patch applied. 2012/9/25 Manuel Quiñones ma...@laptop.org: GtkStyleContext doesn't have .window class, GtkWindow should be used. This is what a11y_base.css does in gnome-themes-standard. Signed-off-by: Manuel Quiñones

[Sugar-devel] [PATCH v2 sugar-artwork] Fix color and background-color for GtkWindow - SL #3917

2012-09-24 Thread Manuel Quiñones
GtkStyleContext doesn't have .window class, GtkWindow should be used. This is what a11y_base.css does in gnome-themes-standard. Also in gnome-themes-standard they don't use the .background class, which affects the window background [1], and set the background-color in GtkWindow directly. This