[Sugar-devel] Problems with GTK3 activity developpement
Hi to all, I gave up coding a web activity for my LearningChess program, coding it in GTK3 instead. (As I am more comfortable with languages like Python, it is more efficient, and pictures seems to render better : it is more true with svg images, which I can resize easily nearly without blur effect). I managed to get something (inspirated by the sugarchess project), until the last commit code. Where I have got a strange behaviour : - the stop button is not drawn - my right component is not shown - but the logger activity did not notice any error ! I bet this is because I've tried to rely on the C API reference for GTK3, which has the advantage to be complete, but which has different naming standards than Python ones. My bet is that it is the InteractionView class which is wrong. But I can't find what's wrong. Here my repository : https://git.sugarlabs.org/learnchess/learnchess_1/trees/master. Regards ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Problems with GTK3 activity developpement
Try to add: self.show_all() ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Arch Linux XO image and Sugar packages
Hello, Nice! I'm maintaining a couple of packages in AUR using the version of the packages shipped in the latest stable release (currently the 13.2.0). Please, let me know if these package do not work for you and if they need to be fixed ;-) Cheers, Christophe On 6 October 2013 01:59, Daniel Narvaez wrote: > Hello, > > I recently switched to Arch Linux and I put together a couple of things > that others might find useful. > > * A trivial script to build minimal images for the XO. It builds a kernel > from the OLPC git repository and put it together with prebuilt packages > from the Arch Linux ARM project. It's enough to setup a wifi connection and > install more stuff with pacman. It's XO 1.75 specific at the moment, but it > should be easy to make it work on other versions. > > https://github.com/dnarvaez/archxo > > I will post a prebuilt image later. > > * AUR -git packages for the Sugar core and the browse activity. They > makes it pretty easy to install the very latest sugar. (I tested them on my > laptop, not on the XO yet). > > All of these are very much a work in progress. I'm posting them mostly > because they might be of interest for Arch Linux users. Patches and bug > reports both appreciated! > > -- > Daniel Narvaez > -- Onderzoeker +31(0)6 14576494 christophe.gue...@dans.knaw.nl *Data Archiving and Networked Services (DANS)* DANS bevordert duurzame toegang tot digitale onderzoeksgegevens. Kijk op www.dans.knaw.nl voor meer informatie en contactgegevens. DANS is een instituut van KNAW en NWO. *Let's build a World Wide Semantic Web!* http://worldwidesemanticweb.org/ *e-Humanities Group (KNAW)* http://ehumanities.nl/ <>___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [ASLO] Release Abecedarium-4 (Sugar Labs Activities)
Nice to see that my Abecedarium activity is now available in Spanish (the most important Sugar community !). Hope that everyone will enjoy it. Just a word to thanks: - Joaquim Ribier, a new OLPC France volunteer that realized this version, - Gonzalo to motivate us to do this new version and for checking content, - Art4apps to allow us to distribute freely this database. Merci. Lionel. 2013/10/14 > Date: Sun, 13 Oct 2013 17:50:31 -0400 > From: Sugar Labs Activities > To: sugar-devel@lists.sugarlabs.org > Subject: [Sugar-devel] [ASLO] Release Abecedarium-4 > Message-ID: > <3ad5c677a263aa179acd0fa467950...@activities.sugarlabs.org> > Content-Type: text/plain; charset="UTF-8" > > Activity Homepage: > http://activities.sugarlabs.org/addon/4659 > > Sugar Platform: > 0.96 - 0.100 > > Download Now: > http://activities.sugarlabs.org/downloads/file/28781/abecedarium-4.xo > > Release notes: > - Spanish version > - Use of a true cursive font > > > Sugar Labs Activities > http://activities.sugarlabs.org > > > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [ASLO] Release Abecedarium-4 (Sugar Labs Activities)
Is it set up on Pootle? On Mon, Oct 14, 2013 at 8:37 AM, Lionel Laské wrote: > > Nice to see that my Abecedarium activity is now available in Spanish (the > most important Sugar community !). Hope that everyone will enjoy it. > > Just a word to thanks: > - Joaquim Ribier, a new OLPC France volunteer that realized this version, > - Gonzalo to motivate us to do this new version and for checking content, > - Art4apps to allow us to distribute freely this database. > > Merci. > >Lionel. > > > > 2013/10/14 >> >> Date: Sun, 13 Oct 2013 17:50:31 -0400 >> From: Sugar Labs Activities >> To: sugar-devel@lists.sugarlabs.org >> Subject: [Sugar-devel] [ASLO] Release Abecedarium-4 >> Message-ID: >> <3ad5c677a263aa179acd0fa467950...@activities.sugarlabs.org> >> Content-Type: text/plain; charset="UTF-8" >> >> Activity Homepage: >> http://activities.sugarlabs.org/addon/4659 >> >> Sugar Platform: >> 0.96 - 0.100 >> >> Download Now: >> http://activities.sugarlabs.org/downloads/file/28781/abecedarium-4.xo >> >> Release notes: >> - Spanish version >> - Use of a true cursive font >> >> >> 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 mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [ASLO] Release Abecedarium-4 (Sugar Labs Activities)
Hi Chris, I have created a pootle file with all the words in the Art4Apps collection, and link to the images as a reference for the translator. [1] I am not sure what is the best way to put this in pootle yet, but may be we can package all as a resource available to be used in more activities. Can you tell me if this pootle file is ok? Gonzalo [1] http://dev.laptop.org/~gonzalo/Art4Apps.pot On Mon, Oct 14, 2013 at 9:42 AM, Chris Leonard wrote: > Is it set up on Pootle? > > On Mon, Oct 14, 2013 at 8:37 AM, Lionel Laské > wrote: > > > > Nice to see that my Abecedarium activity is now available in Spanish (the > > most important Sugar community !). Hope that everyone will enjoy it. > > > > Just a word to thanks: > > - Joaquim Ribier, a new OLPC France volunteer that realized this version, > > - Gonzalo to motivate us to do this new version and for checking content, > > - Art4apps to allow us to distribute freely this database. > > > > Merci. > > > >Lionel. > > > > > > > > 2013/10/14 > >> > >> Date: Sun, 13 Oct 2013 17:50:31 -0400 > >> From: Sugar Labs Activities > >> To: sugar-devel@lists.sugarlabs.org > >> Subject: [Sugar-devel] [ASLO] Release Abecedarium-4 > >> Message-ID: > >> <3ad5c677a263aa179acd0fa467950...@activities.sugarlabs.org> > >> Content-Type: text/plain; charset="UTF-8" > >> > >> Activity Homepage: > >> http://activities.sugarlabs.org/addon/4659 > >> > >> Sugar Platform: > >> 0.96 - 0.100 > >> > >> Download Now: > >> http://activities.sugarlabs.org/downloads/file/28781/abecedarium-4.xo > >> > >> Release notes: > >> - Spanish version > >> - Use of a true cursive font > >> > >> > >> 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 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] [ASLO] Release Abecedarium-4 (Sugar Labs Activities)
Main issue here is that all contents (about 500 to 1000 words depending of language) comes from the database. The main issue is not only to have the text translation but also to have the vocal version (.OGG audio file) of each translation. Do you think it could be handle by Pootle ? Lionel. 2013/10/14 Gonzalo Odiard > Hi Chris, > I have created a pootle file with all the words in the Art4Apps collection, > and link to the images as a reference for the translator. [1] > I am not sure what is the best way to put this in pootle yet, > but may be we can package all as a resource available to be used in more > activities. > Can you tell me if this pootle file is ok? > > Gonzalo > > [1] http://dev.laptop.org/~gonzalo/Art4Apps.pot > > > On Mon, Oct 14, 2013 at 9:42 AM, Chris Leonard > wrote: > >> Is it set up on Pootle? >> >> On Mon, Oct 14, 2013 at 8:37 AM, Lionel Laské >> wrote: >> > >> > Nice to see that my Abecedarium activity is now available in Spanish >> (the >> > most important Sugar community !). Hope that everyone will enjoy it. >> > >> > Just a word to thanks: >> > - Joaquim Ribier, a new OLPC France volunteer that realized this >> version, >> > - Gonzalo to motivate us to do this new version and for checking >> content, >> > - Art4apps to allow us to distribute freely this database. >> > >> > Merci. >> > >> >Lionel. >> > >> > >> > >> > 2013/10/14 >> >> >> >> Date: Sun, 13 Oct 2013 17:50:31 -0400 >> >> From: Sugar Labs Activities >> >> To: sugar-devel@lists.sugarlabs.org >> >> Subject: [Sugar-devel] [ASLO] Release Abecedarium-4 >> >> Message-ID: >> >> <3ad5c677a263aa179acd0fa467950...@activities.sugarlabs.org> >> >> Content-Type: text/plain; charset="UTF-8" >> >> >> >> Activity Homepage: >> >> http://activities.sugarlabs.org/addon/4659 >> >> >> >> Sugar Platform: >> >> 0.96 - 0.100 >> >> >> >> Download Now: >> >> http://activities.sugarlabs.org/downloads/file/28781/abecedarium-4.xo >> >> >> >> Release notes: >> >> - Spanish version >> >> - Use of a true cursive font >> >> >> >> >> >> 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 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] Problems with GTK3 activity developpement
I've already called show_all() for all the components tree : in line 44 of game.py (to the _main_zone component, the one that is defined as Sugar Canvas, and where I put both BoardView and InteractionView instances). Regards 2013/10/14 Ignacio Rodríguez > Try to add: > > self.show_all() > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Problems with GTK3 activity developpement
I found for one aspect of the stange behaviour : in activity.py => I should have used a Gtk.HBox() instead of a Gtk.VBox() as the activity canvas. (Commited) But there still is no stop button. Regards 2013/10/14 laurent bernabe > I've already called show_all() for all the components tree : > in line 44 of game.py (to the _main_zone component, the one that is > defined as Sugar Canvas, and where I put both BoardView and InteractionView > instances). > > Regards > > > 2013/10/14 Ignacio Rodríguez > >> Try to add: >> >> self.show_all() >> > > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [ASLO] Release Abecedarium-4 (Sugar Labs Activities)
The POT file looks okay, but I don't know what to do about the ogg file collection. maybe write up a specia lwiki page for how to localize this avtivity explaining the whole process. cjl On Mon, Oct 14, 2013 at 8:49 AM, Gonzalo Odiard wrote: > Hi Chris, > I have created a pootle file with all the words in the Art4Apps collection, > and link to the images as a reference for the translator. [1] > I am not sure what is the best way to put this in pootle yet, > but may be we can package all as a resource available to be used in more > activities. > Can you tell me if this pootle file is ok? > > Gonzalo > > [1] http://dev.laptop.org/~gonzalo/Art4Apps.pot > > > On Mon, Oct 14, 2013 at 9:42 AM, Chris Leonard > wrote: >> >> Is it set up on Pootle? >> >> On Mon, Oct 14, 2013 at 8:37 AM, Lionel Laské >> wrote: >> > >> > Nice to see that my Abecedarium activity is now available in Spanish >> > (the >> > most important Sugar community !). Hope that everyone will enjoy it. >> > >> > Just a word to thanks: >> > - Joaquim Ribier, a new OLPC France volunteer that realized this >> > version, >> > - Gonzalo to motivate us to do this new version and for checking >> > content, >> > - Art4apps to allow us to distribute freely this database. >> > >> > Merci. >> > >> >Lionel. >> > >> > >> > >> > 2013/10/14 >> >> >> >> Date: Sun, 13 Oct 2013 17:50:31 -0400 >> >> From: Sugar Labs Activities >> >> To: sugar-devel@lists.sugarlabs.org >> >> Subject: [Sugar-devel] [ASLO] Release Abecedarium-4 >> >> Message-ID: >> >> <3ad5c677a263aa179acd0fa467950...@activities.sugarlabs.org> >> >> Content-Type: text/plain; charset="UTF-8" >> >> >> >> Activity Homepage: >> >> http://activities.sugarlabs.org/addon/4659 >> >> >> >> Sugar Platform: >> >> 0.96 - 0.100 >> >> >> >> Download Now: >> >> http://activities.sugarlabs.org/downloads/file/28781/abecedarium-4.xo >> >> >> >> Release notes: >> >> - Spanish version >> >> - Use of a true cursive font >> >> >> >> >> >> 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 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] Problems with GTK3 activity developpement
Solved ! In fact, there were some problems with my Horizontal Boxes and my Vertical ones. Regards 2013/10/14 laurent bernabe > I found for one aspect of the stange behaviour : > in activity.py => I should have used a Gtk.HBox() instead of a Gtk.VBox() > as the activity canvas. > (Commited) > > But there still is no stop button. > > Regards > > > 2013/10/14 laurent bernabe > >> I've already called show_all() for all the components tree : >> in line 44 of game.py (to the _main_zone component, the one that is >> defined as Sugar Canvas, and where I put both BoardView and InteractionView >> instances). >> >> Regards >> >> >> 2013/10/14 Ignacio Rodríguez >> >>> Try to add: >>> >>> self.show_all() >>> >> >> > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] How to manage Pootle and a (own) git submodule ?
Hi all, As I plan to build several parts (each one into its own activity) of my new idea LearnChess, I've noticed that making a git submodule in order to develop the common part in its own repository (inside my overall LearnChess git project) can be very useful : http://stackoverflow.com/questions/7813030/how-can-i-have-linked-dependencies-in-a-git-repo However, the common parts have graphical components, and so, that needs to be translated. So, is it possible to add, not a complete activity, but just a subproject into Pootle ? So that the translation for the common part is only done once ? (I've not made my git submodule yet, I plan to do it very soon). Regards ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [ASLO] Release Abecedarium-4 (Sugar Labs Activities)
Yes. Sound is another chapter. But we can do a lot if have the words translated. Gonzalo On Mon, Oct 14, 2013 at 10:38 AM, Chris Leonard wrote: > The POT file looks okay, but I don't know what to do about the ogg > file collection. maybe write up a specia lwiki page for how to > localize this avtivity explaining the whole process. > > cjl > > On Mon, Oct 14, 2013 at 8:49 AM, Gonzalo Odiard > wrote: > > Hi Chris, > > I have created a pootle file with all the words in the Art4Apps > collection, > > and link to the images as a reference for the translator. [1] > > I am not sure what is the best way to put this in pootle yet, > > but may be we can package all as a resource available to be used in more > > activities. > > Can you tell me if this pootle file is ok? > > > > Gonzalo > > > > [1] http://dev.laptop.org/~gonzalo/Art4Apps.pot > > > > > > On Mon, Oct 14, 2013 at 9:42 AM, Chris Leonard > > > wrote: > >> > >> Is it set up on Pootle? > >> > >> On Mon, Oct 14, 2013 at 8:37 AM, Lionel Laské > >> wrote: > >> > > >> > Nice to see that my Abecedarium activity is now available in Spanish > >> > (the > >> > most important Sugar community !). Hope that everyone will enjoy it. > >> > > >> > Just a word to thanks: > >> > - Joaquim Ribier, a new OLPC France volunteer that realized this > >> > version, > >> > - Gonzalo to motivate us to do this new version and for checking > >> > content, > >> > - Art4apps to allow us to distribute freely this database. > >> > > >> > Merci. > >> > > >> >Lionel. > >> > > >> > > >> > > >> > 2013/10/14 > >> >> > >> >> Date: Sun, 13 Oct 2013 17:50:31 -0400 > >> >> From: Sugar Labs Activities > >> >> To: sugar-devel@lists.sugarlabs.org > >> >> Subject: [Sugar-devel] [ASLO] Release Abecedarium-4 > >> >> Message-ID: > >> >> <3ad5c677a263aa179acd0fa467950...@activities.sugarlabs.org> > >> >> Content-Type: text/plain; charset="UTF-8" > >> >> > >> >> Activity Homepage: > >> >> http://activities.sugarlabs.org/addon/4659 > >> >> > >> >> Sugar Platform: > >> >> 0.96 - 0.100 > >> >> > >> >> Download Now: > >> >> > http://activities.sugarlabs.org/downloads/file/28781/abecedarium-4.xo > >> >> > >> >> Release notes: > >> >> - Spanish version > >> >> - Use of a true cursive font > >> >> > >> >> > >> >> 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 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