[Sugar-devel] Comments in code [ Gonzalo Odiard ]

2014-04-02 Thread Kamal Kaur
Hello I have found that the functions that show content and objects in the develop activity are in sugar-build/activities/develop-activity/develop_app.py and sugar-build/activities/develop-activity/sourceview_editor.py files In def save_source_jobject function in develop_app.py, there is a

Re: [Sugar-devel] DebXO on XO-1

2014-04-02 Thread Basanta Shrestha
Sorry for late reply. It is sugar 0.82.1. On Thu, Mar 27, 2014 at 5:13 PM, Gonzalo Odiard godi...@sugarlabs.orgwrote: I don't know about DebXO, but can you tell us what sugar version are you using, and if possible what image? The problem is with any video or with some formats? Gonzalo

Re: [Sugar-devel] Sugar Digest 2014-04-01

2014-04-02 Thread Sai Vineet
The background contest doesn't specify the deadline for submitting a background, what's the deadline? On Apr 2, 2014 3:36 AM, Walter Bender walter.ben...@gmail.com wrote: ==Sugar Digest== 1. Daniel Narvaez just released Sugar 0.101.6 (unstable). See [1] for detailed notes on changes since

Re: [Sugar-devel] DebXO on XO-1

2014-04-02 Thread Gonzalo Odiard
On Wed, Apr 2, 2014 at 5:13 AM, Basanta Shrestha basanta.shres...@olenepal.org wrote: Sorry for late reply. It is sugar 0.82.1. You have software released 4 or 5 years ago. Would be good if you can try newer versions. As you have xo-1 devices, performance can be not very good, but I am sure

Re: [Sugar-devel] [IAEP] Sugar Digest 2014-04-01

2014-04-02 Thread Gonzalo Odiard
The page will be updated soon. The deadline is May 31th Gonzalo On Wed, Apr 2, 2014 at 7:55 AM, Sai Vineet saivinee...@gmail.com wrote: The background contest doesn't specify the deadline for submitting a background, what's the deadline? On Apr 2, 2014 3:36 AM, Walter Bender

Re: [Sugar-devel] [support-gang] How to create a keyboard shortcut?

2014-04-02 Thread Gonzalo Odiard
I don't think that has changed, try /usr/share/sugar/extensions/globalkey Gonzalo On Wed, Apr 2, 2014 at 12:40 AM, Martin Dluhos mar...@gnu.org wrote: On 1.4.2014 20:18, Gonzalo Odiard wrote: Look in sugar/extensions/globalkey directory. You can drop a file there, a simple example is

Re: [Sugar-devel] Comments in code [ Gonzalo Odiard ]

2014-04-02 Thread Gonzalo Odiard
On Wed, Apr 2, 2014 at 4:41 AM, Kamal Kaur kamal.kaur...@gmail.com wrote: Hello I have found that the functions that show content and objects in the develop activity are in sugar-build/activities/develop-activity/develop_app.py and

Re: [Sugar-devel] Comments in code [ Gonzalo Odiard ]

2014-04-02 Thread Kamal Kaur
On Wed, Apr 2, 2014 at 5:41 PM, Gonzalo Odiard godi...@sugarlabs.org wrote: The comment is old, very old, (you can learn to use git blame to get the changes in context. I assume the programmer wanted a method to update a dict based in the content of another. Yes, I have heard of git blame,

Re: [Sugar-devel] Comments in code [ Gonzalo Odiard ]

2014-04-02 Thread Gonzalo Odiard
snip True, not much documentation in the code. We don't use comments in every function or method, and the code should be easy to read, May be I'm wrong but with comments and descriptions, I think, it becomes easy to understand the working for newbies. Assuming that the person reading

Re: [Sugar-devel] Sugar 0.101.4 (unstable)

2014-04-02 Thread Manuel QuiƱones
2014-04-01 21:46 GMT-03:00 Daniel Narvaez dwnarv...@gmail.com: Hello, this is to announce the release of 0.101.4. We made some terrific progress, have a look to the extensive release notes (credits to Walter Bender) http://wiki.sugarlabs.org/go/0.102/Notes Excellent! Thanks for the release!

[Sugar-devel] Fwd: Comments in code [ Gonzalo Odiard ]

2014-04-02 Thread Kamal Kaur
On Wed, Apr 2, 2014 at 9:10 PM, Gonzalo Odiard godi...@sugarlabs.org wrote: Develop need a lot of love to make it easier to understand. Of course, newbie is a relative category :) You will understand more and more with time and dedication. Strongly agree. Is ok, keep the communication

Re: [Sugar-devel] Comments in code [ Gonzalo Odiard ]

2014-04-02 Thread Sai Vineet
I believe well written code *is* documentation. Expressive verbose code, with function named following conventions like _ for private methods, a cb at the end of the function name to convey it's a callback, etc makes the code a hundred times more readable and intuitive than normal code IMHO.

[Sugar-devel] Sugarlabs invite to participate in Wallpapers Contest

2014-04-02 Thread Gonzalo Odiard
SugarLabs invite to participate in the contest to create wallpapers. Now that Sugar can change the wallpaper, would be great to go with a collection of the best art made by our users. We believe it is a way to stimulate artistic skills ant to engage children in the project creatively. You can