[Sugar-devel] [RELEASE] Image Viewer-15
== Source == http://download.sugarlabs.org/sources/sucrose/fructose/Image Viewer/ImageViewer-15.tar.bz2 == News == * Release 15 (Tomeu Vizoso) * Commit from Sugar Labs: Translation System by user mschlager.: 11 of 11 messages translated (0 fuzzy). (Pootle daemon) * Commit from Sugar Labs: Translation System by user thangam.ar...@gmail.com.: 11 of 11 messages translated (0 fuzzy). (Pootle daemon) * Commit from Sugar Labs: Translation System by user Myckel.: 11 of 11 messages translated (0 fuzzy). (Pootle daemon) * Commit from Sugar Labs: Translation System by user anderson861.: 11 of 12 messages translated (0 fuzzy). (Pootle daemon) * Commit from Sugar Labs: Translation System by user mschlager.: 11 of 11 messages translated (0 fuzzy). (Pootle daemon) * Commit from Sugar Labs: Translation System by user mschlager.: 11 of 11 messages translated (0 fuzzy). (Pootle daemon) * Commit from Sugar Labs: Translation System by user carlo.: 11 of 11 messages translated (0 fuzzy). (Pootle daemon) * Commit from Sugar Labs: Translation System by user cjl.: 11 of 11 messages translated (0 fuzzy). (Pootle daemon) * Commit from Sugar Labs: Translation System by user carlo.: 11 of 11 messages translated (0 fuzzy). (Pootle daemon) * Commit from Sugar Labs: Translation System by user sayamindu.: 11 of 11 messages translated (0 fuzzy). (Pootle daemon) * Commit from Sugar Labs: Translation System by user YuanChao.: 11 of 11 messages translated (0 fuzzy). (Pootle daemon) * Commit from Sugar Labs: Translation System by user korakurider.: 11 of 11 messages translated (0 fuzzy). (Pootle daemon) * Commit from Sugar Labs: Translation System by user sayamindu.: 11 of 11 messages translated (0 fuzzy). (Pootle daemon) * Adding language tvl via Pootle (Pootle daemon) * Adding language fil via Pootle (Pootle daemon) ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [RELEASE] Log-24
== Source == http://download.sugarlabs.org/sources/sucrose/fructose/Log/Log-24.tar.bz2 ==News== * new translations ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] New branch sucrose-0.90 created for Jukebox
Hi, New branch sucrose-0.90 branched out for Jukebox. Kushal -- http://fedoraproject.org http://kushaldas.in ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Jukebox v20 released
Hi, I released v20 of Jukebox activity [1]. This release contains translation (l10n) updates. [1] http://download.sugarlabs.org/sources/sucrose/fructose/Jukebox/Jukebox-20.tar.bz2 Kushal -- http://fedoraproject.org http://kushaldas.in ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [RELEASE] sugar-0.90.1
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar/sugar-0.90.1.tar.bz2 == News == * Update the Sucrose version to 0.90.0 (Simon Schampijer) == Packager Note == We did forget to update the Sucrose version. This affects the Version that is shown in the Control Panel Section: About my Computer. Just to let you know that this is the only change. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Replacing Illegal character ':' in username (SL #2152)
On 09/30/10 01:13, Martin Langhoff wrote: On Wed, Sep 29, 2010 at 1:32 PM, Dipankar Patro dipan...@seeta.in wrote: With reference to bug : http://bugs.sugarlabs.org/ticket/2152 The diagnosis of the bug is incorrect. We never use the user-selected 'nickname' as a username in the XS. We do provide it as in the GECOS info, and there may be a bug in that. The diagnosis of the bug is vague: the Sugar username becomes the UNIX *gecos* on the XS. -- // Bernie Innocenti - http://codewiz.org/ \X/ Sugar Labs - http://sugarlabs.org/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Bug No. #398
Shan, I think we should get back to the original format and try to implement the search with the existing functions. For the first target, since the hilite word function is nowhere to be found so far for gtk2viewer, try to implement a system in which you can hilite the line of the search text, like I said that day. Try your best. About git diff, do as Tomeu instructed. run git diff inside jhbuild. Sorry about that day, on which I hurriedly explained you how to create a gut diff file in a source dir itself. Regards, Dipankar On Thu, Sep 30, 2010 at 3:08 PM, Tomeu Vizoso to...@sugarlabs.org wrote: On Wed, Sep 29, 2010 at 17:49, Shanjit Singh Jajmann shan...@dev.seeta.in wrote: Hi, I have changed a few things in viewsource.py, and i am posting the diff file, You should be making changes in sugar-jhbuild/source/sugar and use git diff to generate the diff. Ask your colleagues in Seeta if you have doubts. the issue still remains the same although i have changed view type from gtksourceview2 to gtk.textview. I have no idea why you think changing that may have helped with whatever problems you have found. Regards, Tomeu --- git diff file. diff --git a/install/lib/python2.6/site-packages/jarabe/view/viewsource.py b/install/lib/python2.6/site-packages/jarabe/view/viewsource.py index 524db9e..24e361c 100644 --- a/install/lib/python2.6/site-packages/jarabe/view/viewsource.py +++ b/install/lib/python2.6/site-packages/jarabe/view/viewsource.py @@ -321,18 +321,18 @@ class Toolbar(gtk.Toolbar): search_item.show() search_entry.show() -_search_prev = ToolButton('go-previous-paired') -_search_prev.set_tooltip(_('Previous')) -#self._search_prev.connect('clicked', self._search_prev_cb) -self.insert(_search_prev, -1) -_search_prev.show() +self._search_prev = ToolButton('go-previous-paired') +self._search_prev.set_tooltip(_('Previous')) +self._search_prev.connect('clicked', self._search_prev_cb) +self.insert(self._search_prev, -1) +self._search_prev.show() -_search_next = ToolButton('go-next-paired') -_search_next.set_tooltip(_('Next')) -#self._search_next.connect('clicked', self._search_next_cb) -self.insert(_search_next, -1) -_search_next.show() -#self._update_search_buttons() +self._search_next = ToolButton('go-next-paired') +self._search_next.set_tooltip(_('Next')) +self._search_next.connect('clicked', self._search_next_cb) +self.insert(self._search_next, -1) +self._search_next.show() +self._update_search_buttons() stop = ToolButton(icon_name='dialog-cancel') @@ -343,10 +343,30 @@ class Toolbar(gtk.Toolbar): def _search_entry_activate_cb(self, entry): self.viewer.set_search_text(entry.props.text) +self._update_search_buttons() def _search_entry_changed_cb(self, entry): self.viewer.set_search_text(entry.props.text) - +self._update_search_buttons() + +def _search_prev_cb(self, button): +self.viewer.search_next('backward') +self._update_search_buttons() + +def _search_next_cb(self, button): +self.viewer.search_next('forward') +self._update_search_buttons() + +def _update_search_buttons(self,): +if len(self.viewer.search_text) == 0: +self._search_prev.props.sensitive = False +self._search_next.props.sensitive = False +else: +prev = self.viewer.get_next_result('backward') +next = self.viewer.get_next_result('forward') +self._search_prev.props.sensitive = prev != None +self._search_next.props.sensitive = next != None + def _add_separator(self, expand=False): separator = gtk.SeparatorToolItem() separator.props.draw = False @@ -452,22 +472,88 @@ class SourceDisplay(gtk.ScrolledWindow): self._buffer = gtksourceview2.Buffer() self._buffer.set_highlight_syntax(True) -self._source_view = gtksourceview2.View(self._buffer) -self._source_view.set_editable(False) -self._source_view.set_cursor_visible(True) -self._source_view.set_show_line_numbers(True) -self._source_view.set_show_right_margin(True) -self._source_view.set_right_margin_position(80) +self.search_text = ' ' + +#self._source_view = gtksourceview2.View(self._buffer) +#self._source_view.set_editable(False) +#self._source_view.set_cursor_visible(True) +#self._source_view.set_show_line_numbers(True) +#self._source_view.set_show_right_margin(True) +#self._source_view.set_right_margin_position(80)
Re: [Sugar-devel] Setup local network on the olpc with python
Thank you very much for this links. I think i got it now. But now i have another noob question, i didn't find an answer for. In this explanations there are several things imported for the network. dbus, telepathy and sugar.presence / sugar.presence.tubeconn. I work with Eclipse and the pydev module, where this libraries are not included. With dbus lib i hadn't any problems. But for telepathy and the sugar thins it seems i didn't find the right files. for Telepathy i got http://telepathy.freedesktop.org/releases/telepathy-python/, and for the sugar things i found http://dev.laptop.org/git/ (sugar, sugar-base and sugar-toolkit) and installed just like the dbus package. I downloaded the .tar.gz-file, unpacked it and added the folder in Eclipse under preferences - PyDev - Interpreter - Python - Libraries - New Folder. What am i doing wrong? Thanks for your help and sorry for this stupid question. :) Tobi Am 29.09.2010 16:27, schrieb Daniel Castelo: Maybe you could find some info here: * http://en.flossmanuals.net/ActivitiesGuideSugar/SugarCollaboration * http://wiki.laptop.org/go/Activity_sharing * http://wiki.sugarlabs.org/go/Development_Team/Almanac/Sugar.presence Regards, Daniel On Wed, Sep 29, 2010 at 7:37 AM, Tobi Neuner t...@greven-9er.de mailto:t...@greven-9er.de wrote: Hi guys, for my bachelor thesis i need to program a short demonstration for the game i worked out to show the main functionality. It's some kind of a multiplayer learning game with some rpg-ideas for motivation keeping. For the multiplayer approach i need so setup a local mesh network to send data from one XO to all other. The data, that is send, is always an integer or a string value. So what i read till now, the dbus tubes would fit perfectly for my approach. But at the moment i fail at this point. I don't understand how i have to implement it. So i'm on search for some good tutorial, some code snippets, where this is shown, or someone, who could explain it to me. Thanks very much for your help! grevenilvec ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org mailto:Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- Ing. Daniel Castelo Plan Ceibal - Área Técnica Avda. Italia 6201 Montevideo - Uruguay. Tel.: 2 601 57 73 Interno 2228 E-mail : dcast...@plan.ceibal.edu.uy mailto:dcast...@plan.ceibal.edu.uy ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Replacing Illegal character ':' in username (SL #2152)
Martin, Thanks for your suggestions. I did searched something on GECOS, and I was directed again to /etc/passwd file which maintains user info in an OS. Could you elaborate the test process a bit please? I didn't get you clearly. The only point I could get is that server registration doesn't depend on nick / username. If it does in code then I should remove the dependency? Bernie, I have some questions, * you asked me about setting up a XS. I have a XO, a laptop and a router. I have this link too : http://wiki.laptop.org/go/XS_Installing_Software :P. Am I on right direction for setting up a XS? * After setting up the XS, what should I check? 'cause you mentioned in the comment: 1. refusing the : character in the name input field of the first boot and About Me control panel. 2. converting each : to _ when sending the registration to the schoolserver. 3. in idmgr, convert : to _ as well. I think I have found the code for 1st one. 2nd I think I know where to look into (schoolserver.py). 3rd one, I have no clue :P Wish you could help me with above. Regards, Dipankar On Thu, Sep 30, 2010 at 7:55 PM, Bernie Innocenti ber...@codewiz.orgwrote: On 09/30/10 01:13, Martin Langhoff wrote: On Wed, Sep 29, 2010 at 1:32 PM, Dipankar Patro dipan...@seeta.in wrote: With reference to bug : http://bugs.sugarlabs.org/ticket/2152 The diagnosis of the bug is incorrect. We never use the user-selected 'nickname' as a username in the XS. We do provide it as in the GECOS info, and there may be a bug in that. The diagnosis of the bug is vague: the Sugar username becomes the UNIX *gecos* on the XS. -- // Bernie Innocenti - http://codewiz.org/ \X/ Sugar Labs - http://sugarlabs.org/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Replacing Illegal character ':' in username (SL #2152)
Hi Dipankar, the XS will use the serial number provided by Sugar as the 'username'. The nickname is used to set the GECOS information. Background info -- what's the GECOS? It's where you normally wrte your full name. So on my laptop, my username is 'martin', my GECOS is Martin Langhoff. $ grep martin /etc/passwd martin:x:1000:1000:Martin Langhoff,,,:/home/martin:/bin/bash For the test process, I am asking that you - run the failing test case - monitor the XMLRPC traffic -- is the XMLRPC msg sent valid? - monitor the idmgr daemon for errors -- is idmgr complaining about anything? cheers, martin -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Replacing Illegal character ':' in username (SL #2152)
On 09/30/10 17:14, Dipankar Patro wrote: Martin, Thanks for your suggestions. I did searched something on GECOS, and I was directed again to /etc/passwd file which maintains user info in an OS. Could you elaborate the test process a bit please? I didn't get you clearly. The only point I could get is that server registration doesn't depend on nick / username. If it does in code then I should remove the dependency? In the absense of a real test schoolserver, perhaps you could install the rpm package idmgr. It's not in Fedora, I think the rpm binary can be found somewhere on http://xs-dev.laptop.org/ When you have idmgr running on your computer, you'd have to convince your laptop to go query your machine. You can do this in two ways: 1) by hijacking the dns to make schoolserver point at your IP; or 2) by changing the schoolserver hostname in Sugar's code (I think it's in schoolserver.py) Note that the editable field for the collaboration server in the CP does not affect schoolserver registration on the XO. This is another bug in my opinion, feel free to submit a separate path providing a unified behavior for the XO and normal laptop cases. * you asked me about setting up a XS. I have a XO, a laptop and a router. I have this link too http://wiki.laptop.org/go/XS_Installing_Software :P. Am I on right direction for setting up a XS? I think so, but Martin probably knows better. * After setting up the XS, what should I check? 'cause you mentioned in the comment: 1. refusing the : character in the name input field of the first boot and About Me control panel. 2. converting each : to _ when sending the registration to the schoolserver. 3. in idmgr, convert : to _ as well. I think I have found the code for 1st one. 2nd I think I know where to look into (schoolserver.py). Yes, your fix would work, but: 1) you missed the other name selection box in the firstboot screen; and 2) perhaps you can find a way to filter the input of the gtk Entry widget instead of silently changing the input after the fact. 3) if option (2) fails, rather than a full-blown regex you could use str.replace(), which is simpler and cheaper. 3rd one, I have no clue :P Wish you could help me with above. This is server-side, in package idmgr :-) -- // Bernie Innocenti - http://codewiz.org/ \X/ Sugar Labs - http://sugarlabs.org/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [ASLO] Release Calculate-34
Activity Homepage: http://activities.sugarlabs.org/addon/4076 Sugar Platform: 0.82 - 0.90 Download Now: http://activities.sugarlabs.org/downloads/file/27051/calculate-34.xo Release notes: - Includes latest .de translations - Locale correctly included in bundle for language support Sugar Labs Activities http://activities.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [RELEASE] Calculate-34
== Source == http://download.sugarlabs.org/sources/sucrose/fructose/Calculate/Calculate-34.tar.bz2 == News == - Includes latest .de translations - Locale correctly included in bundle for language support ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [PATCH] Changed symbols on the calculate activity button. (Ticket #2161)
New symbols defined for the calculator activity in order to give a calculator look to activity. --- layout.py |2 +- mathlib.py |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layout.py b/layout.py index d439a3a..df7a7c0 100644 --- a/layout.py +++ b/layout.py @@ -74,7 +74,7 @@ class CalcLayout: [4, 2, 1, div_sym, self.col_gray3, lambda w: self._parent.add_text(div_sym)], [5, 2, 1, ')', self.col_gray3, lambda w: self._parent.add_text(')')], -[3, 3, 3, _('Enter'), self.col_gray1, lambda w: self._parent.process()], +[3, 3, 3, ('='), self.col_gray1, lambda w: self._parent.process()], ] def create_dialog(self): diff --git a/mathlib.py b/mathlib.py index b9bce1e..d6f903d 100644 --- a/mathlib.py +++ b/mathlib.py @@ -81,12 +81,12 @@ class MathLib: # TRANS: multiplication symbol (default: '*') self.mul_sym = _('mul_sym') if len(self.mul_sym) == 0 or len(self.mul_sym) 3: -self.mul_sym = '*' +self.mul_sym = 'x' # TRANS: division symbol (default: '/') self.div_sym = _('div_sym') if len(self.div_sym) == 0 or len(self.div_sym) 3: -self.div_sym = '/' +self.div_sym = '÷' def set_format_type(self, fmt, digit_limit=9): self.format_type = fmt -- 1.7.0.4 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [PATCH] Changed symbols on the calculate activity button. (Ticket #2161)
The problem with this idea is, the activity will look like a calculator, but the children will be confused about the keys they must press. Gonzalo ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Dextrose 1 report from Paraguay
Since early this year, the technology team from Paraguay Educa with the guide of Bernie Innocenti started the development process of a customized build, known as the py (Paraguay) build. Originally started as a spin of OLPC's build but then it migrated to Sugar 0.88. A few months later, members of the Sugar community, Plan Ceibal and Activity Central joined our efforts into what today we know as Dextrose. Since a few months we have been doing some tests at one Caacupe school. Recently, we provided Dextrose 1 (os376py) to the all the kids and teachers from the 5th and 6th grades (around 60 testers). What we aimed at was to have a stable build with all the customizations, bug fixes and enhancements we developed based on deployments urgent needs, Fore more information about Dextrose customizations please visit [1]. The os376py has a few differences with os373pyg (Standard Dextrose 1) that is available at [1]: * No Gnome, only Sugar. * Only 21 Activities selected by our education team. These activities are protected (can not be erased using the user interface). The last friday (Sep 24) we officially finished the last testing process. Our test consisted in simply letting the kids and teachers use this build for 15 days. Previous tests (using the same simplistic method) showed us that is an decent testing method, since teachers and kids know they can complain all they want (and they do). Here is the list of the most important findings: 1. Annoying bugs are not longer noticeable, for example: * Empty neighborhood view. * Random Sugar freezes. * Random Sugar restarts. 2. In the practice, use only Sugar. (This could require a separate discussion). 3. Huge success of customizations. * Kids find extremely useful the new methods to control the cursor. This includes the stylus mode and the game pad control. * Kids can easily relate the meaning of each expression at the resources stats icon with the system load status. In many cases it helps them to prevent system overloads. * Kids are now aware of the backup facilities. Now they can backup and restore the journal whenever they want. * Teachers have noticed that kids can not delete the educational activities. Now they are aware about the protection feature and they want to discuss about the activities list with the education team. 4. Decent stability state, this contributed on how teachers perceive Sugar as a Education tool. * One teacher was simply glad that she would use it without being worry about earlier technical problems. * The other teacher mentioned us that she was extremely confident about usage of Dextrose in the classroom, to the point that shes planning a full learning period using exclusively Sugar. She said Now I can try and see how far my students can go. This is a huge step forward in what we try to achieve. As a personal message to the people who got involved in this project. Definitely, our efforts were worthwhile. [1] http://wiki.sugarlabs.org/go/Dextrose ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [ANNOUNCE] 0.90 tarballs available
Dear Packagers, we are proud to let you know that the 0.90 Sucrose tarballs are available. We are currently still working on the release notes [1] but for those of you who want to start packaging already here are the sources [2]. In behalf of the sugar community, Your Release Team [1] http://wiki.sugarlabs.org/go/0.90/Notes [2] http://wiki.sugarlabs.org/go/0.90/Notes#Getting_the_sources === Glucose modules === * http://download.sugarlabs.org/sources/sucrose/glucose/sugar/sugar-0.90.1.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/glucose/sugar-datastore/sugar-datastore-0.90.0.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/glucose/sugar-toolkit/sugar-toolkit-0.90.0.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/glucose/sugar-base/sugar-base-0.90.1.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/glucose/sugar-presence-service/sugar-presence-service-0.90.1.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/glucose/sugar-artwork/sugar-artwork-0.90.0.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/glucose/etoys/etoys-4.1.2388.tar.gz * http://download.sugarlabs.org/sources/sucrose/glucose/hulahop/hulahop-0.7.1.tar.bz2 === Fructose modules === * http://download.sugarlabs.org/sources/sucrose/fructose/Pippy/Pippy-37.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/fructose/Browse/Browse-118.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/fructose/Calculate/Calculate-34.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/fructose/Etoys/Etoys-116.tar.gz * http://download.sugarlabs.org/sources/sucrose/fructose/Chat/Chat-68.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/fructose/TurtleArt/TurtleArt-98.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/fructose/Jukebox/Jukebox-20.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/fructose/Log/Log-24.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/fructose/ImageViewer/ImageViewer-15.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/fructose/Write/Write-71.tar.bz2 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [ANNOUNCE] 0.90 tarballs available
Great stuff! Congratulations to all involved! m On Thu, Sep 30, 2010 at 12:21 PM, Simon Schampijer si...@schampijer.de wrote: Dear Packagers, we are proud to let you know that the 0.90 Sucrose tarballs are available. We are currently still working on the release notes [1] but for those of you who want to start packaging already here are the sources [2]. In behalf of the sugar community, Your Release Team [1] http://wiki.sugarlabs.org/go/0.90/Notes [2] http://wiki.sugarlabs.org/go/0.90/Notes#Getting_the_sources === Glucose modules === * http://download.sugarlabs.org/sources/sucrose/glucose/sugar/sugar-0.90.1.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/glucose/sugar-datastore/sugar-datastore-0.90.0.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/glucose/sugar-toolkit/sugar-toolkit-0.90.0.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/glucose/sugar-base/sugar-base-0.90.1.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/glucose/sugar-presence-service/sugar-presence-service-0.90.1.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/glucose/sugar-artwork/sugar-artwork-0.90.0.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/glucose/etoys/etoys-4.1.2388.tar.gz * http://download.sugarlabs.org/sources/sucrose/glucose/hulahop/hulahop-0.7.1.tar.bz2 === Fructose modules === * http://download.sugarlabs.org/sources/sucrose/fructose/Pippy/Pippy-37.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/fructose/Browse/Browse-118.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/fructose/Calculate/Calculate-34.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/fructose/Etoys/Etoys-116.tar.gz * http://download.sugarlabs.org/sources/sucrose/fructose/Chat/Chat-68.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/fructose/TurtleArt/TurtleArt-98.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/fructose/Jukebox/Jukebox-20.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/fructose/Log/Log-24.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/fructose/ImageViewer/ImageViewer-15.tar.bz2 * http://download.sugarlabs.org/sources/sucrose/fructose/Write/Write-71.tar.bz2 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] #2389 resolution set to notsugar, fixed upstream
Hi, is that the first sign [1] that Killing the PS was the right choice? :) Regards, Simon [1] http://bugs.sugarlabs.org/ticket/2389#comment:2 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Setup local network on the olpc with python
Tobi, With Sugar Activities you need to test them under the Sugar environment. You can use Eclipse to write the code if you like (I use Eric myself) but you won't be able to test from within the IDE. You already have the link to the FLOSS Manual Make Your Own Sugar Activities!, so I'd recommend skimming through the first few chapters where testing under sugar-emulator is covered. There is a Git repository containing all the code examples and you could run a few of them to try things out. It sounds to me like you may have Sugar installed but are not running your tests under it. Many Linux distributions have Sugar included, and if you install their packages you should have something workable. James Simmons Date: Thu, 30 Sep 2010 16:34:00 +0200 From: Tobi Neuner t...@greven-9er.de Subject: Re: [Sugar-devel] Setup local network on the olpc with python Cc: sugar-devel@lists.sugarlabs.org Message-ID: 4ca49fd8.4090...@greven-9er.de Content-Type: text/plain; charset=iso-8859-1 Thank you very much for this links. I think i got it now. But now i have another noob question, i didn't find an answer for. In this explanations there are several things imported for the network. dbus, telepathy and sugar.presence / sugar.presence.tubeconn. I work with Eclipse and the pydev module, where this libraries are not included. With dbus lib i hadn't any problems. But for telepathy and the sugar thins it seems i didn't find the right files. for Telepathy i got http://telepathy.freedesktop.org/releases/telepathy-python/, and for the sugar things i found http://dev.laptop.org/git/ (sugar, sugar-base and sugar-toolkit) and installed just like the dbus package. I downloaded the .tar.gz-file, unpacked it and added the folder in Eclipse under preferences - PyDev - Interpreter - Python - Libraries - New Folder. What am i doing wrong? Thanks for your help and sorry for this stupid question. :) Tobi Am 29.09.2010 16:27, schrieb Daniel Castelo: Maybe you could find some info here: * http://en.flossmanuals.net/ActivitiesGuideSugar/SugarCollaboration * http://wiki.laptop.org/go/Activity_sharing * http://wiki.sugarlabs.org/go/Development_Team/Almanac/Sugar.presence Regards, Daniel On Wed, Sep 29, 2010 at 7:37 AM, Tobi Neuner t...@greven-9er.de mailto:t...@greven-9er.de wrote: Hi guys, for my bachelor thesis i need to program a short demonstration for the game i worked out to show the main functionality. It's some kind of a multiplayer learning game with some rpg-ideas for motivation keeping. For the multiplayer approach i need so setup a local mesh network to send data from one XO to all other. The data, that is send, is always an integer or a string value. So what i read till now, the dbus tubes would fit perfectly for my approach. But at the moment i fail at this point. I don't understand how i have to implement it. So i'm on search for some good tutorial, some code snippets, where this is shown, or someone, who could explain it to me. Thanks very much for your help! grevenilvec ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [PATCH] Changed symbols on the calculate activity button. (Ticket #2161)
Excerpts from Ishan Bansal's message of Thu Sep 30 18:03:21 +0200 2010: +[3, 3, 3, ('='), self.col_gray1, lambda w: self._parent.process()], You dropped the underscore (shortcut name of gettext.gettext), but I'm wondering whether we need to translate it at all (if not, the parentheses should be left out). Is there any language that uses arabic numerals, but not = for equality? -self.mul_sym = '*' +self.mul_sym = 'x' I guess this should read '×' (MULTIPLICATION SIGN, Unicode 00D7) instead? Please mention in the summary which symbols were changed as Calculate has lots of them. Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: PGP signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [DESIGN] Home button in Browse
OK, here's two more variants as discussed on IRC based on the previous go-home-9. Slightly narrower door, and versions with and without a chimney: Thanks! I'm still not clear on the toolbar positioning for adding yet another button, unless we can move the reload/stop button inside the far right of the address bar (like we do with the Sugar search fields and the clear field widget). Yes. It is a good idea, but a little more difficult to implement. I am trying to pull the previous changes in Browse before start with new things. Regards Gonzalo ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Replacing Illegal character ':' in username (SL #2152)
Excerpts from Bernie Innocenti's message of Thu Sep 30 17:42:17 +0200 2010: In the absense of a real test schoolserver, [...] It would be nice if somebody could prepare a VM image containing an XS installation. Note that the editable field for the collaboration server in the CP does not affect schoolserver registration on the XO. This is another bug in my opinion, feel free to submit a separate path providing a unified behavior for the XO and normal laptop cases. For reference: That's #1976 [1]. Tim already provided a patch several months ago, but it needs some minor polishing. [2] Sascha [1] https://bugs.sugarlabs.org/ticket/1976 [2] http://lists.sugarlabs.org/archive/sugar-devel/2010-July/thread.html#25265 -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: PGP signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Dextrose 1 report from Paraguay
Hi Martín, team, great -- your efforts are definitely worthwhile. Some questions below... On Thu, Sep 30, 2010 at 12:25 PM, Martin Abente mabe...@paraguayeduca.org wrote: * Only 21 Activities selected by our education team. These activities are protected (can not be erased using the user interface). How are you achieving that? (Link to ticket or code welcome :-) ) * Kids are now aware of the backup facilities. Now they can backup and restore the journal whenever they want. How do they deal with the posibility of losing newer local files? Or is that issue resolved? 4. Decent stability state, this contributed on how teachers perceive Sugar as a Education tool. Bravo! :-) cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [DESIGN] Home button in Browse
I'm still not clear on the toolbar positioning for adding yet another button, unless we can move the reload/stop button inside the far right of the address bar (like we do with the Sugar search fields and the clear field widget). Regards, --Gary I like version 11 a lot. I would go with that one. Thanks a lot Gary for providing us with so much dog (not related to kennel) food, Simon ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Dextrose 1 report from Paraguay
Hi Martin, On 30 Sep 2010, at 17:25, Martin Abente wrote: Since early this year, the technology team from Paraguay Educa with the guide of Bernie Innocenti started the development process of a customized build, known as the py (Paraguay) build. Originally started as a spin of OLPC's build but then it migrated to Sugar 0.88. A few months later, members of the Sugar community, Plan Ceibal and Activity Central joined our efforts into what today we know as Dextrose. Since a few months we have been doing some tests at one Caacupe school. Recently, we provided Dextrose 1 (os376py) to the all the kids and teachers from the 5th and 6th grades (around 60 testers). Many thanks for passing on this feedback! I always read such reports from the field with great interest as it helps ongoing design decisions. What we aimed at was to have a stable build with all the customizations, bug fixes and enhancements we developed based on deployments urgent needs, Fore more information about Dextrose customizations please visit [1]. The os376py has a few differences with os373pyg (Standard Dextrose 1) that is available at [1]: Is os376py available? I had been testing os373pyg for a while (the latest py build I can find). I didn't realise there was a newer version being tested. Regards, --Gary * No Gnome, only Sugar. * Only 21 Activities selected by our education team. These activities are protected (can not be erased using the user interface). The last friday (Sep 24) we officially finished the last testing process. Our test consisted in simply letting the kids and teachers use this build for 15 days. Previous tests (using the same simplistic method) showed us that is an decent testing method, since teachers and kids know they can complain all they want (and they do). Here is the list of the most important findings: 1. Annoying bugs are not longer noticeable, for example: * Empty neighborhood view. * Random Sugar freezes. * Random Sugar restarts. 2. In the practice, use only Sugar. (This could require a separate discussion). 3. Huge success of customizations. * Kids find extremely useful the new methods to control the cursor. This includes the stylus mode and the game pad control. * Kids can easily relate the meaning of each expression at the resources stats icon with the system load status. In many cases it helps them to prevent system overloads. * Kids are now aware of the backup facilities. Now they can backup and restore the journal whenever they want. * Teachers have noticed that kids can not delete the educational activities. Now they are aware about the protection feature and they want to discuss about the activities list with the education team. 4. Decent stability state, this contributed on how teachers perceive Sugar as a Education tool. * One teacher was simply glad that she would use it without being worry about earlier technical problems. * The other teacher mentioned us that she was extremely confident about usage of Dextrose in the classroom, to the point that shes planning a full learning period using exclusively Sugar. She said Now I can try and see how far my students can go. This is a huge step forward in what we try to achieve. As a personal message to the people who got involved in this project. Definitely, our efforts were worthwhile. [1] http://wiki.sugarlabs.org/go/Dextrose ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] favorite_activities bug or feature?
When I update a activity present in the favorite_activities file, in the file appears a new line with the activity and the new version number. I have tested it in 0.84 and sugar-jhbuild. I think it is a bug, but there any reason for this? Thanks Gonzalo ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [PATCH] Changed symbols on the calculate activity button. (Ticket #2161)
Sacha I have changed the sign being used for * to × . Also i have not been able to found any language which translate = to a different symbol. If anyone do find a language which does so then please notify so that the '_' symbol could be added for localization. Regards ishan On Thu, Sep 30, 2010 at 10:03 PM, Sascha Silbe sascha-ml-reply-to-201...@silbe.org wrote: Excerpts from Ishan Bansal's message of Thu Sep 30 18:03:21 +0200 2010: +[3, 3, 3, ('='), self.col_gray1, lambda w: self._parent.process()], You dropped the underscore (shortcut name of gettext.gettext), but I'm wondering whether we need to translate it at all (if not, the parentheses should be left out). Is there any language that uses arabic numerals, but not = for equality? -self.mul_sym = '*' +self.mul_sym = 'x' I guess this should read '×' (MULTIPLICATION SIGN, Unicode 00D7) instead? Please mention in the summary which symbols were changed as Calculate has lots of them. Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [PATCH] Changed symbols on the calculate activity button. (Ticket #2161)
Sasha, Ishan: This change does not complicate the use for children? Gonzalo ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [Dextrose] Dextrose 1 report from Paraguay
On 09/30/10 19:10, Gary Martin wrote: Is os376py available? I had been testing os373pyg for a while (the latest py build I can find). I didn't realise there was a newer version being tested. Tincho, you should already have upload access here: sunjammer:/upload/dextrose/testing/dxo1/xo1/py/ Once you've rsynced the files, they will show up here: http://download.sugarlabs.org/dextrose/testing/dxo1/xo1/py/ Any new binary and source rpms go in the rpms/ dir two levels up. If there are changes to the dextrose repo, we should create a branch. You can easily do it like so: git branch dxo1 git checkout dxo1 git commit blah1... git commit blah2... git push origin dxo1 -- // Bernie Innocenti - http://codewiz.org/ \X/ Sugar Labs - http://sugarlabs.org/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [DESIGN] Home button in Browse
On 30 Sep 2010, at 17:58, Simon Schampijer wrote: I'm still not clear on the toolbar positioning for adding yet another button, unless we can move the reload/stop button inside the far right of the address bar (like we do with the Sugar search fields and the clear field widget). Regards, --Gary I like version 11 a lot. I would go with that one. Thanks a lot Gary for providing us with so much dog (not related to kennel) food, No problem – but thank goodness you didn't need an icon for a bike shed ;) Regards, --Gary Simon ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Dextrose 1 report from Paraguay
On Thu, 30 Sep 2010 12:53:39 -0400, Martin Langhoff martin.langh...@gmail.com wrote: Hi Martín, team, great -- your efforts are definitely worthwhile. Some questions below... On Thu, Sep 30, 2010 at 12:25 PM, Martin Abente mabe...@paraguayeduca.org wrote: * Only 21 Activities selected by our education team. These activities are protected (can not be erased using the user interface). How are you achieving that? (Link to ticket or code welcome :-) ) http://bugs.sugarlabs.org/ticket/2087 Please read the comments at the ticket, there were a lot of considerations (and goals). I had to solve a few corner cases (other patches apparently not related) to get this patch in. * Kids are now aware of the backup facilities. Now they can backup and restore the journal whenever they want. How do they deal with the posibility of losing newer local files? Or is that issue resolved? Well, for the XS backup I guess there will no problem. For the external storage device backup there could be data loss (we still use that simple save point concept, but I think it could be improved for Dextrose 2), anyways, the interface warns about that scenario. And (again in the practice) we explain the kids how it works, to encourage them to use often (which is a sane practice). 4. Decent stability state, this contributed on how teachers perceive Sugar as a Education tool. Bravo! :-) :) cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [PATCH] Changed symbols on the calculate activity button. (Ticket #2161)
On Thu, Sep 30, 2010 at 1:31 PM, Gonzalo Odiard gonz...@laptop.org wrote: Sasha, Ishan: This change does not complicate the use for children? Gonzalo I am on the fence re these proposed changes, however, does the key associated with the decimal point reflect the value in locale.localeconv()['decimal_point']? It doesn't seem to in my tests. That would seemingly be an uncontroversial change. regards. -walter ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [PATCH v2 Calculate] Changed symbols on the calculate activity button. (Ticket #2161)
Excerpts from Ishan Bansal's message of Thu Sep 30 18:58:06 +0200 2010: New symbols ×, ÷ and = (instead of *,/ and Enter respectively) defined for the calculator activity in order to give a calculator look to activity. No need to mention the calculator activity as there's nothing else in this repository. Please adjust the summary as well. v1 was Reviewed-By Sascha Silbe sascha-ml-reply-to-201...@silbe.org Not really. I reviewed it, but since there were things I wanted to be changed, I did not grant my Reviewed-By: tag. The meaning of that tag is that I reviewed the patch _and_ believe it to be fit for inclusion, standing with my reputation behind that judgement (see [1], section 14). v1-v2: Symbol for x changed to ×and bug description changed. Thanks! [layout.py] -[3, 3, 3, _('Enter'), self.col_gray1, lambda w: self._parent.process()], +[3, 3, 3, ('='), self.col_gray1, lambda w: self._parent.process()], I just noticed (see below) that we translate the other symbols, so we should do the same for =. Since I don't know whether there's a reason for using names (mul_sym / div_sym) instead of the symbols (previously * and /) for translation, we should use a name for '=' just to be on the safe side. So please translate '=' the same way the multiplication and division symbols are translated. [mathlib.py] # TRANS: multiplication symbol (default: '*') self.mul_sym = _('mul_sym') [...] # TRANS: division symbol (default: '/') self.div_sym = _('div_sym') Ah, it always pays to give things a second look. ;) Please adjust these comments as well. Sascha [1] http://www.kernel.org/doc/Documentation/SubmittingPatches -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: PGP signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [PATCH v3] Changed symbols on the calculate activity button. (Ticket #2161)
New symbols ×, ÷ and = (instead of *,/ and Enter respectively) variable equ_sym added to translate '=') defined for the in order to give a calculator look to activity. --- calculate.py |1 + layout.py|3 ++- mathlib.py | 13 + 3 files changed, 12 insertions(+), 5 deletions(-) v1-v2 : Symbol for x changed to ×and bug description changed. v2-v3 : Code added to translate '=' as being done for other symbols. diff --git a/calculate.py b/calculate.py index bda756c..d49f1f6 100644 --- a/calculate.py +++ b/calculate.py @@ -317,6 +317,7 @@ class Calculate(ShareableActivity): self.KEYMAP['multiply'] = self.ml.mul_sym self.KEYMAP['divide'] = self.ml.div_sym +self.KEYMAP['equal'] = self.ml.equ_sym self.clipboard = gtk.Clipboard() self.select_reason = self.SELECT_SELECT diff --git a/layout.py b/layout.py index d439a3a..b53efc1 100644 --- a/layout.py +++ b/layout.py @@ -47,6 +47,7 @@ class CalcLayout: mul_sym = self._parent.ml.mul_sym div_sym = self._parent.ml.div_sym +equ_sym = self._parent.ml.equ_sym self.button_data = [ # [x, y, width, label, bgcol, cb] @@ -74,7 +75,7 @@ class CalcLayout: [4, 2, 1, div_sym, self.col_gray3, lambda w: self._parent.add_text(div_sym)], [5, 2, 1, ')', self.col_gray3, lambda w: self._parent.add_text(')')], -[3, 3, 3, _('Enter'), self.col_gray1, lambda w: self._parent.process()], +[3, 3, 3, equ_sym, self.col_gray1, lambda w: self._parent.process()], ] def create_dialog(self): diff --git a/mathlib.py b/mathlib.py index b9bce1e..d0fabc8 100644 --- a/mathlib.py +++ b/mathlib.py @@ -78,15 +78,20 @@ class MathLib: if self.fraction_sep == or self.fraction_sep == None: self.fraction_sep = . -# TRANS: multiplication symbol (default: '*') +# TRANS: multiplication symbol (default: '×') self.mul_sym = _('mul_sym') if len(self.mul_sym) == 0 or len(self.mul_sym) 3: -self.mul_sym = '*' +self.mul_sym = '×' -# TRANS: division symbol (default: '/') +# TRANS: division symbol (default: '÷') self.div_sym = _('div_sym') if len(self.div_sym) == 0 or len(self.div_sym) 3: -self.div_sym = '/' +self.div_sym = '÷' + +# TRANS: equal symbol (default: '=') +self.equ_sym = _('equ_sym') +if len(self.equ_sym) == 0 or len(self.equ_sym) 3: +self.equ_sym = '=' def set_format_type(self, fmt, digit_limit=9): self.format_type = fmt -- 1.7.0.4 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [PATCH v3] Changed symbols on the calculate activity button. (Ticket #2161)
This unnecessarily breaks existing translations. Better change those symbols in the English translation files. Also, keeping the source code in ASCII is a Good Idea. Not all bug fixes need code changes ;) - Bert - On 30.09.2010, at 21:35, Ishan Bansal wrote: New symbols ×, ÷ and = (instead of *,/ and Enter respectively) variable equ_sym added to translate '=') defined for the in order to give a calculator look to activity. --- calculate.py |1 + layout.py|3 ++- mathlib.py | 13 + 3 files changed, 12 insertions(+), 5 deletions(-) v1-v2 : Symbol for x changed to ×and bug description changed. v2-v3 : Code added to translate '=' as being done for other symbols. diff --git a/calculate.py b/calculate.py index bda756c..d49f1f6 100644 --- a/calculate.py +++ b/calculate.py @@ -317,6 +317,7 @@ class Calculate(ShareableActivity): self.KEYMAP['multiply'] = self.ml.mul_sym self.KEYMAP['divide'] = self.ml.div_sym +self.KEYMAP['equal'] = self.ml.equ_sym self.clipboard = gtk.Clipboard() self.select_reason = self.SELECT_SELECT diff --git a/layout.py b/layout.py index d439a3a..b53efc1 100644 --- a/layout.py +++ b/layout.py @@ -47,6 +47,7 @@ class CalcLayout: mul_sym = self._parent.ml.mul_sym div_sym = self._parent.ml.div_sym +equ_sym = self._parent.ml.equ_sym self.button_data = [ # [x, y, width, label, bgcol, cb] @@ -74,7 +75,7 @@ class CalcLayout: [4, 2, 1, div_sym, self.col_gray3, lambda w: self._parent.add_text(div_sym)], [5, 2, 1, ')', self.col_gray3, lambda w: self._parent.add_text(')')], -[3, 3, 3, _('Enter'), self.col_gray1, lambda w: self._parent.process()], +[3, 3, 3, equ_sym, self.col_gray1, lambda w: self._parent.process()], ] def create_dialog(self): diff --git a/mathlib.py b/mathlib.py index b9bce1e..d0fabc8 100644 --- a/mathlib.py +++ b/mathlib.py @@ -78,15 +78,20 @@ class MathLib: if self.fraction_sep == or self.fraction_sep == None: self.fraction_sep = . -# TRANS: multiplication symbol (default: '*') +# TRANS: multiplication symbol (default: '×') self.mul_sym = _('mul_sym') if len(self.mul_sym) == 0 or len(self.mul_sym) 3: -self.mul_sym = '*' +self.mul_sym = '×' -# TRANS: division symbol (default: '/') +# TRANS: division symbol (default: '÷') self.div_sym = _('div_sym') if len(self.div_sym) == 0 or len(self.div_sym) 3: -self.div_sym = '/' +self.div_sym = '÷' + +# TRANS: equal symbol (default: '=') +self.equ_sym = _('equ_sym') +if len(self.equ_sym) == 0 or len(self.equ_sym) 3: +self.equ_sym = '=' def set_format_type(self, fmt, digit_limit=9): self.format_type = fmt -- 1.7.0.4 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Joining the QA Teams
Hello; I'm Samuel Greenfeld, and I started work in September as a Lead QA Engineer for the OLPC Association. I am based out of the Miami, Florida OLPC office, where Martin Langhoff also works. I am currently the primary (and only) QA tester hired by the OLPC Association. James Cameron will continue to be the System Test Coordinator for the OLPC Foundation. For now, everything will be business as usual, as I am still learning the product lines. While I am amongst those who would like to see Sugar, Fedora, and OLPC QA synchronize procedures and avoid duplicated effort, it is probably going to be at least a few months before I would feel comfortable making any significant recommendations (although feel free to tell me your thoughts). Part of my duties include supporting upstream (Fedora, Sugar, etc.) QA efforts, so if you need help please feel free to ask. But in the event that OLPC and upstream time constraints collide, I may have to defer to doing OLPC work. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Advice request: XO sound recording
My new activity, FileMix, encourages children to create their own nature recordings to mix and process in FileMix (i.e., create soundscapes). Files can be mono or stereo, any sample rate and duration, and most file formats. The files also need to be renamed and placed in the FileMix.activity folder. The Record activity is a natural for recording audio, and I had thought it would be the appropriate vehicle. I've recently discovered that it only produces Ogg Speex files, not the higher-quality Ogg Vorbis variety. Unfortunately, Csound and libsndfile handle only Ogg Vorbis - not Speex. (It would be very nice if Record *could* output Ogg Vorbis.) So I turned to eToys. I find it somewhat iffy to record in eToys (on an XO-1.5); sometimes it works, sometimes not. The main obstacle I face is that recordings seem embedded in projects, and I don't find where/how to access the recording by itself. (The sound editor, and variety of output resolutions [including WAV and VORBIS] are excellent.) The documentation (floss) isn't helpful here either. I am able to record and save, but to where I don't know -not, it seems, to the Sound Library. The Library location is not given. It seems you can take something out of it, but not put something in? (Confusing.) I very much need a simpler procedure to save and transfer/relocate individual recordings. So, my question: can someone please explain how to get eToys sound files isolated and copied to other folders, and/or which other activities might meet my needs at least as well as (or better than) eToys and Record? Art Hunkins ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Joining the QA Teams
On 1 October 2010 10:44, Samuel Greenfeld greenf...@laptop.org wrote: Hello; I'm Samuel Greenfeld, and I started work in September as a Lead QA Engineer for the OLPC Association. I am based out of the Miami, Florida OLPC office, where Martin Langhoff also works. I am currently the primary (and only) QA tester hired by the OLPC Association. James Cameron will continue to be the System Test Coordinator for the OLPC Foundation. Nice to meet you Samuel and congratulations. I am a volunteer in New Zealand and we have a community of volunteer testers here in Auckland and in Wellington who you might get to know in the coming months. We can test for olpc (XO-1.0s, XO-1.5s) or Sugar (Macs and a variety of netbooks), and can test with School Server (though limited wifi hardware testing capability). Please feel free to ask us for support and testing. Looking forward to getting to know you. Kind regards Tabitha Roder NZ based volunteer ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel