[Sugar-devel] Butia 2.0 - Telepresence

2012-04-26 Thread Alan Jhonn Aguiar Schwyn
Hi, I wanted to share with you some videos of what we are doingwith Butiá 2.0.In the videos you see a XO 1.75, using the accelerometer that it brings,we use it to control the robot. The XO (1.0) which is above therobot receives messages sent to you by the other (connected by the network

Re: [Sugar-devel] Installing sugar-jhbuild in F17

2012-04-26 Thread Peter Robinson
On Wed, Apr 25, 2012 at 7:47 PM, Gonzalo Odiard gonz...@laptop.org wrote: I have installed sugar-jhbuild in a new pristine F17. Here my findings, works, but with little problems: $ git clone git://git.sugarlabs.org/sugar-jhbuild/mainline.git sugar-jhbuild $ cd sugar-jhbuild $ ./sugar-jhbuild

[Sugar-devel] Allowing only one sugar activity to run at a time

2012-04-26 Thread Roshan Karki
I was wondering if any one has worked on allowing only one sugar activity to run at a time. Here at Nepal, we have received complains from teachers that the xo freezes as child tries to open one too many activities. We'd like to experiment with allowing only one activity to run and when child

Re: [Sugar-devel] [PATCH Help v3] Migrated to Gtk3 and WebKit.WebView SL #3466

2012-04-26 Thread Martin Langhoff
2012/4/25 Manuel Kaufmann humi...@gmail.com: Yes, I think this discussion IS important. Some things have technical reasons, and some are just style :-) Journalists write in the style of the newspaper or magazine they are writing for -- I try my best to follow style on any codebase I work on

Re: [Sugar-devel] Allowing only one sugar activity to run at a time

2012-04-26 Thread Walter Bender
On Thu, Apr 26, 2012 at 4:57 AM, Roshan Karki ros...@olenepal.org wrote: I was wondering if any one has worked on allowing only one sugar activity to run at a time. Here at Nepal, we have received complains from teachers that the xo freezes as child tries to open one too many activities. We'd

Re: [Sugar-devel] [PATCH Help v3] Migrated to Gtk3 and WebKit.WebView SL #3466

2012-04-26 Thread Manuel Kaufmann
On Wed, Apr 25, 2012 at 22:19, Gonzalo Odiard gonz...@laptop.org wrote: We need a way to keep the code consistent. OK. I got many reasonable answers. I will make a new version of this patch and I will send it as [v4] Thanks all! -- Kaufmann Manuel Blog: http://humitos.wordpress.com/

[Sugar-devel] [PATCH] Add the DescriptionItem if available

2012-04-26 Thread godiard
From: Gonzalo Odiard godi...@gmail.com Signed-off-by: Gonzalo Odiard gonz...@laptop.org --- activity.py |8 1 file changed, 8 insertions(+) diff --git a/activity.py b/activity.py index a7f8730..ffc9241 100644 --- a/activity.py +++ b/activity.py @@ -50,6 +50,14 @@ class

Re: [Sugar-devel] [PATCH] Add the DescriptionItem if available

2012-04-26 Thread Manuel Kaufmann
On Thu, Apr 26, 2012 at 09:06, godi...@sugarlabs.org wrote: +        except: +            pass + I think you should avoid except: catching all the exception possible there. Instead of this you should use except ImportError: in this case. -- Kaufmann Manuel Blog:

[Sugar-devel] [PATCH] Add description item to the toolbar if available - SL# 3525

2012-04-26 Thread godiard
From: Gonzalo Odiard godi...@gmail.com The activity have a custom toolbar, then need add the DescriptionItem to implement the feature Write to Journal Anytime http://wiki.sugarlabs.org/go/Features/Write_to_journal_anytime Signed-off-by: Gonzalo Odiard gonz...@laptop.org --- activity.py |8

Re: [Sugar-devel] [PATCH] Add the DescriptionItem if available

2012-04-26 Thread Gonzalo Odiard
On Thu, Apr 26, 2012 at 9:10 AM, Manuel Kaufmann humi...@gmail.com wrote: On Thu, Apr 26, 2012 at 09:06, godi...@sugarlabs.org wrote: +except: +pass + I think you should avoid except: catching all the exception possible there. Instead of this you should use except

[Sugar-devel] [PATCH Paint] Add cursor for the picker tool #3496

2012-04-26 Thread Manuel Quiñones
Signed-off-by: Manuel Quiñones ma...@laptop.org --- Area.py | 18 +- images/picker.png | Bin 0 - 977 bytes 2 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 images/picker.png diff --git a/Area.py b/Area.py index 24f02d4..aae3d78 100644 ---

Re: [Sugar-devel] [PATCH] Add the DescriptionItem if available

2012-04-26 Thread Simon Schampijer
On 04/26/2012 02:10 PM, Manuel Kaufmann wrote: On Thu, Apr 26, 2012 at 09:06,godi...@sugarlabs.org wrote: +except: +pass + I think you should avoid except: catching all the exception possible there. Instead of this you should use except ImportError: in this case. We

[Sugar-devel] [PATCH] Add description item to the toolbar if available - SL# 3525

2012-04-26 Thread godiard
From: Gonzalo Odiard godi...@gmail.com The activity have a custom toolbar, then need add the DescriptionItem to implement the feature Write to Journal Anytime http://wiki.sugarlabs.org/go/Features/Write_to_journal_anytime Signed-off-by: Gonzalo Odiard gonz...@laptop.org --- activity.py |8

Re: [Sugar-devel] [PATCH] Add the DescriptionItem if available

2012-04-26 Thread Anish Mangal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu 26 Apr 2012 06:00:39 PM IST, Gonzalo Odiard wrote: On Thu, Apr 26, 2012 at 9:10 AM, Manuel Kaufmann humi...@gmail.com mailto:humi...@gmail.com wrote: On Thu, Apr 26, 2012 at 09:06, godi...@sugarlabs.org mailto:godi...@sugarlabs.org

[Sugar-devel] [PATCH sugar] Control Panel: adjust year to 2012 for the Copyright in the about my computer section

2012-04-26 Thread Simon Schampijer
This is not a translated string, no string freeze break is taking place. Signed-off-by: Simon Schampijer si...@laptop.org --- extensions/cpsection/aboutcomputer/view.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/extensions/cpsection/aboutcomputer/view.py

Re: [Sugar-devel] [PATCH] Add the DescriptionItem if available

2012-04-26 Thread Anish Mangal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu 26 Apr 2012 06:24:16 PM IST, Anish Mangal wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu 26 Apr 2012 06:00:39 PM IST, Gonzalo Odiard wrote: On Thu, Apr 26, 2012 at 9:10 AM, Manuel Kaufmann humi...@gmail.com

Re: [Sugar-devel] [PATCH sugar] Control Panel: adjust year to 2012 for the Copyright in the about my computer section

2012-04-26 Thread Anish Mangal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu 26 Apr 2012 06:28:16 PM IST, Simon Schampijer wrote: This is not a translated string, no string freeze break is taking place. Signed-off-by: Simon Schampijer si...@laptop.org --- extensions/cpsection/aboutcomputer/view.py |2 +- 1

Re: [Sugar-devel] [PATCH sugar] Control Panel: adjust year to 2012 for the Copyright in the about my computer section

2012-04-26 Thread Gonzalo Odiard
On a related note (About My Computer) section, the contents of 'info_text' in sugar/extensions/cpsection/view.py are gettexted. Sugar is the graphical user interface that you are. Viewing this in other languages, Sugar appears in translated form as well (eg: Azucar in spanish). I

Re: [Sugar-devel] [PATCH sugar] Control Panel: adjust year to 2012 for the Copyright in the about my computer section

2012-04-26 Thread Anish Mangal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu 26 Apr 2012 06:38:10 PM IST, Gonzalo Odiard wrote: On a related note (About My Computer) section, the contents of 'info_text' in sugar/extensions/cpsection/view.py are gettexted. Sugar is the graphical user interface that you

[Sugar-devel] [ASLO] Release Hello World-6

2012-04-26 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4418 Sugar Platform: 0.96 - 0.96 Download Now: http://activities.sugarlabs.org/downloads/file/27992/helloworld-6.xo Release notes: Add the Description Item Sugar Labs Activities http://activities.sugarlabs.org

Re: [Sugar-devel] [PATCH] Add the DescriptionItem if available

2012-04-26 Thread Simon Schampijer
On 04/26/2012 02:51 PM, Simon Schampijer wrote: On 04/26/2012 02:10 PM, Manuel Kaufmann wrote: On Thu, Apr 26, 2012 at 09:06,godi...@sugarlabs.org wrote: + except: + pass + I think you should avoid except: catching all the exception possible there. Instead of this you should use except

Re: [Sugar-devel] [PATCH sugar] Control Panel: adjust year to 2012 for the Copyright in the about my computer section

2012-04-26 Thread Simon Schampijer
On 04/26/2012 03:10 PM, Anish Mangal wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu 26 Apr 2012 06:38:10 PM IST, Gonzalo Odiard wrote: On a related note (About My Computer) section, the contents of 'info_text' in sugar/extensions/cpsection/view.py are gettexted.

Re: [Sugar-devel] [PATCH sugar] Control Panel: adjust year to 2012 for the Copyright in the about my computer section

2012-04-26 Thread Anish Mangal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/26/2012 06:28 PM, Simon Schampijer wrote: This is not a translated string, no string freeze break is taking place. Signed-off-by: Simon Schampijer si...@laptop.org --- extensions/cpsection/aboutcomputer/view.py |2 +- 1 files changed,

Re: [Sugar-devel] [PATCH sugar] Control Panel: adjust year to 2012 for the Copyright in the about my computer section

2012-04-26 Thread Simon Schampijer
On 04/26/2012 03:10 PM, Anish Mangal wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu 26 Apr 2012 06:38:10 PM IST, Gonzalo Odiard wrote: On a related note (About My Computer) section, the contents of 'info_text' in sugar/extensions/cpsection/view.py are gettexted.

Re: [Sugar-devel] [PATCH] Add description item to the toolbar if available - SL# 3525

2012-04-26 Thread Simon Schampijer
On 04/26/2012 02:24 PM, godi...@sugarlabs.org wrote: From: Gonzalo Odiardgodi...@gmail.com The activity have a custom toolbar, then need add the DescriptionItem to implement the feature Write to Journal Anytime http://wiki.sugarlabs.org/go/Features/Write_to_journal_anytime Signed-off-by:

Re: [Sugar-devel] [PATCH] Add description item to the toolbar if available - SL# 3525

2012-04-26 Thread Gonzalo Odiard
Ok Gonzalo On Thu, Apr 26, 2012 at 10:37 AM, Simon Schampijer si...@schampijer.dewrote: On 04/26/2012 02:24 PM, godi...@sugarlabs.org wrote: From: Gonzalo Odiardgodi...@gmail.com The activity have a custom toolbar, then need add the DescriptionItem to implement the feature Write to

[Sugar-devel] [PATCH TamTamMini] Add description item to the toolbar if available - SL# 3525

2012-04-26 Thread godiard
From: Gonzalo Odiard godi...@gmail.com The activity have a custom toolbar, then need add the DescriptionItem to implement the feature Write to Journal Anytime http://wiki.sugarlabs.org/go/Features/Write_to_journal_anytime Signed-off-by: Gonzalo Odiard gonz...@laptop.org --- TamTamMini.py |

[Sugar-devel] [PATCH Words] Add description item to the toolbar if available - SL# 3525

2012-04-26 Thread godiard
From: Gonzalo Odiard godi...@gmail.com The activity have a custom toolbar, then need add the DescriptionItem to implement the feature Write to Journal Anytime http://wiki.sugarlabs.org/go/Features/Write_to_journal_anytime Signed-off-by: Gonzalo Odiard gonz...@laptop.org --- wordsactivity.py |

Re: [Sugar-devel] [PATCH sugar-artwork] Set notebook padding to 0px in the GTK3 CSS #3482

2012-04-26 Thread Simon Schampijer
On 04/24/2012 06:40 PM, Manuel Quiñones wrote: This removes the 2 pixel padding that was around all the notebook page, preventing a confortable use of the scroll bar with the mouse pointer, as #3482 describes. Signed-off-by: Manuel Quiñonesma...@laptop.org --- gtk3/theme/gtk-widgets.css.em |

[Sugar-devel] [PATCH Paint] Avoid numpy version 1.6.1

2012-04-26 Thread Manuel Kaufmann
Invert colors function doesn't work well with numpy version 1.6.1, so this PATCH is to avoid using this version and use the string module version (slower) of invert colors instead. Signed-off-by: Manuel Kaufmann humi...@gmail.com --- Area.py | 11 ++- 1 file changed, 10 insertions(+),

Re: [Sugar-devel] [PATCH sugar-artwork] Set notebook padding to 0px in the GTK3 CSS #3482

2012-04-26 Thread Manuel Quiñones
El día 26 de abril de 2012 11:25, Simon Schampijer si...@schampijer.de escribió: On 04/24/2012 06:40 PM, Manuel Quiñones wrote: This removes the 2 pixel padding that was around all the notebook page, preventing a confortable use of the scroll bar with the mouse pointer, as #3482 describes.

Re: [Sugar-devel] [PATCH Paint] Avoid numpy version 1.6.1

2012-04-26 Thread Gonzalo Odiard
Thanks. Can we confirm this is really a bug in numpy 1.6.1? If is a bug, please report it upstream, and add a link with the info to our ticket. Gonzalo On Thu, Apr 26, 2012 at 11:31 AM, Manuel Kaufmann humi...@gmail.com wrote: Invert colors function doesn't work well with numpy version 1.6.1,

Re: [Sugar-devel] [PATCH Paint] Avoid numpy version 1.6.1

2012-04-26 Thread Manuel Kaufmann
On Thu, Apr 26, 2012 at 11:36, Gonzalo Odiard gonz...@laptop.org wrote: Can we confirm this is really a bug in numpy 1.6.1? I don't know how to confirm this but I can say that after the upgrade from 1.5.1 to 1.6.1 the invert colors function does not work anymore. If is a bug, please report it

[Sugar-devel] [PATCH Help v4] Migrated to Gtk3 and WebKit.WebView SL #3466

2012-04-26 Thread Manuel Kaufmann
- All the code was migrated to Gtk3 following this guide[1] - Toolbar View's icon was changed from camera to the right one: toolbar-view - Back and Forward buttons are working properly - WebKit.WebView inside a Gtk.ScrolledWindow to be able to scroll the page. [1]

Re: [Sugar-devel] [PATCH Paint] Add cursor for the picker tool #3496

2012-04-26 Thread Manuel Kaufmann
On Thu, Apr 26, 2012 at 09:41, Manuel Quiñones ma...@laptop.org wrote: Area.py           |   18 +- It works and looks great! The patch passed my review and my test :P -- Kaufmann Manuel Blog: http://humitos.wordpress.com/ Porfolio: http://fotos.mkaufmann.com.ar/ PyAr:

Re: [Sugar-devel] [PATCH Help v4] Migrated to Gtk3 and WebKit.WebView SL #3466

2012-04-26 Thread Manuel Quiñones
El día 26 de abril de 2012 12:04, Manuel Kaufmann humi...@gmail.com escribió:  - All the code was migrated to Gtk3 following this guide[1]  - Toolbar View's icon was changed from camera to the right one:  toolbar-view  - Back and Forward buttons are working properly  - WebKit.WebView inside a

[Sugar-devel] Example gtk app that invert colors

2012-04-26 Thread Manuel Kaufmann
Hello, I'm working on this ticket * http://bugs.sugarlabs.org/ticket/3509 And I found a problem with numpy 1.6.1. I wrote an example[1] that uses the code from Paint.activity/Area.py and I ran it with numpy 1.6.1 and it worked. So, I'm confused about what's exactly the problem here. Can

Re: [Sugar-devel] [PATCH Paint] Add cursor for the picker tool #3496

2012-04-26 Thread Manuel Quiñones
El día 26 de abril de 2012 12:14, Manuel Kaufmann humi...@gmail.com escribió: On Thu, Apr 26, 2012 at 09:41, Manuel Quiñones ma...@laptop.org wrote: Area.py           |   18 +- It works and looks great! The patch passed my review and my test :P Thanks! Pushed. -- .. manuq

Re: [Sugar-devel] Example gtk app that invert colors

2012-04-26 Thread Manuel Kaufmann
On Thu, Apr 26, 2012 at 13:33, Manuel Kaufmann humi...@gmail.com wrote: I wrote an example[1] that uses the code from Paint.activity/Area.py and I ran it with numpy 1.6.1 and it worked. I used a .png file in this example it works. I mean, it tries to invert the colors (doesn't exploit) but the

[Sugar-devel] [ASLO] Release Distance-31

2012-04-26 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4264 Sugar Platform: 0.82 - 0.96 Download Now: http://activities.sugarlabs.org/downloads/file/27993/distance-31.xo Release notes: New translations Matching version 30 not in git. Sugar Labs Activities http://activities.sugarlabs.org

Re: [Sugar-devel] Example gtk app that invert colors

2012-04-26 Thread Gonzalo Odiard
Thanks for the testcase. I am testing in F17 in me desktop and in one xo-1.75) I think the result is wrong, but no so bad as what I saw in Paint. A screenshot is here http://dev.laptop.org/~gonzalo/images/Captura%20pantalla%20de%20_numpy.test.py_.png Is the same effect you see? Gonzalo On Thu,

Re: [Sugar-devel] [PATCH Words] Add description item to the toolbar if available - SL# 3525

2012-04-26 Thread rafael ortiz
On 26/04/12 09:14, godi...@sugarlabs.org wrote: From: Gonzalo Odiardgodi...@gmail.com The activity have a custom toolbar, then need add the DescriptionItem to implement the feature Write to Journal Anytime http://wiki.sugarlabs.org/go/Features/Write_to_journal_anytime Signed-off-by: Gonzalo

[Sugar-devel] [ASLO] Release Words-16

2012-04-26 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4315 Sugar Platform: 0.82 - 0.96 Download Now: http://activities.sugarlabs.org/downloads/file/27994/words-16.xo Release notes: New translations. Add description item to the toolbar if available - SL# 3525 (Gonzalo Odiard). Sugar Labs

Re: [Sugar-devel] [PATCH TamTamMini] Add description item to the toolbar if available - SL# 3525

2012-04-26 Thread Rafael Ortiz
On Thu, Apr 26, 2012 at 9:03 AM, godi...@sugarlabs.org wrote: From: Gonzalo Odiard godi...@gmail.com The activity have a custom toolbar, then need add the DescriptionItem to implement the feature Write to Journal Anytime http://wiki.sugarlabs.org/go/Features/Write_to_journal_anytime

[Sugar-devel] [PATCH Browse] Fix for authentication with school server f6dd764abd7c160e6188757b8e61cd01062a92c6 #3456

2012-04-26 Thread Manuel Quiñones
The cookie is now correctly set to the Jabber server URI 'xmpp://JABBER_SERVER/', being JABBER_SERVER the value of '/desktop/sugar/collaboration/jabber_server' GConf setting. In 8b7a3b5cebb8ed7ead60841d052c02753d09ac34 cjson.encode was accidentally renamed to json.loads instead of json.dumps,

[Sugar-devel] How to disable launching an activity, by clicking its icon, in listview ?

2012-04-26 Thread Ajay Garg
Hi all. How can we disable launching an activity from the listview, by merely clicking its icon? I am wanting to know the code-location, where this is being handled. Looking forward to a reply. Thanks and Regards, Ajay ___ Sugar-devel mailing list

[Sugar-devel] [DESIGN] Revisiting Read Activity default font

2012-04-26 Thread Manuel Quiñones
Hi list, I will try to wrap an interesting discussion that has arisen today on IRC. We talked about a better default font for our e-book reader, Read activity, and the possibility to add a new feature to change that font (in the activity itself or as a system setting). Obviously not for landing

Re: [Sugar-devel] Example gtk app that invert colors

2012-04-26 Thread Manuel Kaufmann
On Thu, Apr 26, 2012 at 15:28, Gonzalo Odiard gonz...@laptop.org wrote: Is the same effect you see? Yes. It's the same effect. -- Kaufmann Manuel Blog: http://humitos.wordpress.com/ Porfolio: http://fotos.mkaufmann.com.ar/ PyAr: http://www.python.com.ar/

Re: [Sugar-devel] [PATCH Words] Add description item to the toolbar if available - SL# 3525

2012-04-26 Thread Manuel Kaufmann
On Thu, Apr 26, 2012 at 11:14, godi...@sugarlabs.org wrote: +               logging.debug('DescriptionItem button is not available,' + +                    'toolkit version 0.96') You don't need the + sign here. logging.debug('DescriptionItem button is not available,'

[Sugar-devel] Reply-To email header

2012-04-26 Thread Manuel Kaufmann
Hello, I would like to ask why the mailing list doesn't have the header Reply-To: Sugar Devel sugar-devel@lists.sugarlabs.org (or something like that)? With that header we can just click on Reply and send the email to the list instead clicking on Reply-All and send an email to each participant.

Re: [Sugar-devel] [DESIGN] Revisiting Read Activity default font

2012-04-26 Thread Eduardo H. Silva
No dia 26 de Abril de 2012 23:35, Manuel Quiñones ma...@laptop.org escreveu: Hi list, I will try to wrap an interesting discussion that has arisen today on IRC.  We talked about a better default font for our e-book reader, Read activity, and the possibility to add a new feature to change that

Re: [Sugar-devel] Reply-To email header

2012-04-26 Thread James Cameron
Because most of us prefer there be no Reply-To. There are some very good reasons, which I won't go into now. But you can find a few: http://www.google.com/search?q=reply-to+considered+harmful -- James Cameron http://quozl.linux.org.au/ ___

Re: [Sugar-devel] Reply-To email header

2012-04-26 Thread Manuel Kaufmann
On Thu, Apr 26, 2012 at 23:20, James Cameron qu...@laptop.org wrote: Because most of us prefer there be no Reply-To.  There are some very good reasons, which I won't go into now.  But you can find a few: Good answer :D -- Kaufmann Manuel Blog: http://humitos.wordpress.com/ Porfolio:

[Sugar-devel] [DESIGN] More topics font related

2012-04-26 Thread Gonzalo Odiard
Manuq already started a thread about fonts in Read, but there are more topics I want start to discuss, then start a new thread to no hijack the conversation. * Fonts included by default in the images: A OLPC ticket already exist [1] but is not closed, part of the problem was resolved (Fedora

Re: [Sugar-devel] Allowing only one sugar activity to run at a time

2012-04-26 Thread Roshan Karki
We have plan to upgrade to recent sugar release. Let me talk with my team on this and see how this solution goes. Thanks. On Thu, Apr 26, 2012 at 5:09 PM, Walter Bender walter.ben...@gmail.comwrote: On Thu, Apr 26, 2012 at 4:57 AM, Roshan Karki ros...@olenepal.org wrote: I was wondering if

Re: [Sugar-devel] [DESIGN] More topics font related

2012-04-26 Thread Chris Leonard
All, It might be of interest to review this earlier incarnation of a font thread (started by Sridhar from AU). http://lists.sugarlabs.org/archive/iaep/2012-January/014825.html One element that is critical in all of this, of course, is taking some care to investigate the range of languages that

Re: [Sugar-devel] [DESIGN] More topics font related

2012-04-26 Thread Hal Murray
cjlhomeaddr...@gmail.com said: One element that is critical in all of this, of course, is taking some care to investigate the range of languages that any given font can represent. I'm sure that much of the discussion will focus on Latin-based alphabets, which is fine as far as it goes, and