Re: [Sugar-devel] activity.info hosts

2009-07-20 Thread Samuel Klein
A good point - now's an excellent time to start using it. it can be used for a soft interaction -- a warning on installation if the activity might not be compatible. On Tue, Jul 21, 2009 at 1:32 AM, Christoph Derndorfer < christoph.derndor...@gmail.com> wrote: > Hi all, > > I was wondering wheth

[Sugar-devel] activity.info hosts

2009-07-20 Thread Christoph Derndorfer
Hi all, I was wondering whether there were any plans to make use of the "hosts" variable in the activity.info files to determine whether an activity runs on the specific Sugar installation. With 0.86 being on the horizont, 0.84 being used on SoaS, 0.82 being widely used among the G1G1 community a

[Sugar-devel] Planning for Weds - Tux Paint, Conozco Uruguay, Memorize with Speak

2009-07-20 Thread Caroline Meeks
Hi, I'm doing lesson planning for Weds, the 3rd graders. They are the ones who would test out these three activites. I want to check in on the current status I think it is: 1. Tux Paint - Waiting for it to save to the Journal before we let the kids use it 2. Conozco Uruguay - Waiting fo

[Sugar-devel] amRe: [Cs-dev] Sugar on a Stick - and OLPCsound/Csound

2009-07-20 Thread Art Hunkins
Hello, Peter et al. - Your latest Csound5.10 patch finally made it out to updates-testing today, and I was able to install it on SoaS (Sugar 84) and test it out. Unfortunately it aborts with much the same (if not exactly) as before. Log: /usr/lib/python2.6/site-packages/sugar/util.py:25: Deprec

[Sugar-devel] need a better name for starting page of karma than "MenuStage"

2009-07-20 Thread Bryan Berry
what should we call menustage? it is a horrible name. it is just not descriptive: http://www.pustakalaya.org/external-content/static/epaath/MenuStage.html I don't want to call it the "frame" because that word already has a meaning w/in sugar. i also don't want to call it anything w/ a religious

Re: [Sugar-devel] help about the get_preview function of activity.Activity class to take screenshots

2009-07-20 Thread sumit singh
Martin and Tomeu, Martin, thanx a lot for such a detailed answer. I have got what you want to say. But the problem with me right now is that I think the get_preview function is available only in the latest release of sugar 0.84 because I am on 0.82, and my xo gives an error -- " Activity module do

Re: [Sugar-devel] Localization of activity with ColorSelectionDialog

2009-07-20 Thread Aleksey Lim
On Mon, Jul 20, 2009 at 10:54:28AM +0300, Xenofon Papadopoulos wrote: > Hello, I 'm using a gtk.ColorSelectionDialog in my activity, and whenever I > run it all the text is in English, ignoring my Greek language settings. > Apart from this, localization of my application works fine. How can I > enf

Re: [Sugar-devel] Correct use of leading underscores in Python?

2009-07-20 Thread Martin Dengler
On Mon, Jul 20, 2009 at 10:59:05AM -0500, Jim Simmons wrote: > I don't want to start a religious war here, but I could use some > guidance. In writing my Activities I have often copied and pasted > bits of code from other Activities. For instance, the toolbars from > Read and Speak. As a result

[Sugar-devel] sugar-bundle-updater code review

2009-07-20 Thread David Farning
The sugar bundle updater is ready for another round of code review. For this round I am mostly interested in making sure that the code is following current Glucose standard. http://git.sugarlabs.org/projects/sugar-update-control/repos/aslo-clone Notes for this release: Separated out server specifi

[Sugar-devel] [RELEASE] Turtle Art-56

2009-07-20 Thread Sugar Labs Activities
Url: http://activities.sugarlabs.org/addon/4027 Release notes: http://activities.sugarlabs.org/addon/4027#release-notes Reviewer comments: Trusted activity Sugar Labs Activities http://activities.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@

Re: [Sugar-devel] proper use of self.set_canvas function

2009-07-20 Thread sumit singh
Hi Tomeu, First of all thanx a lot for all the help you have provided. Yes, I think Jim's idea is good. Thanx Jim again. However, right now I am going with a notebook, I tried to implement it and it seems to be working fine and the looks are just like those with a hbox. . Regards, sumit On Mon,

Re: [Sugar-devel] Correct use of leading underscores in Python?

2009-07-20 Thread Jim Simmons
Tomeu, Your answer makes sense. I'm creating another release of Read Etexts and I'll try to rename everything consistent with those principles as part of that, and eventually will do the same for my other Activities. Thanks, James Simmons On Mon, Jul 20, 2009 at 11:23 AM, Tomeu Vizoso wrote: >

[Sugar-devel] Physics activity Play/Stop

2009-07-20 Thread Frederick Grose
On Mon, Jul 20, 2009 at 11:33 AM, Gary C Martin wrote: > Hi Asaf, > > On 20 Jul 2009, at 06:16, Asaf Paris Mandoki wrote: > ... > > > 4. Make the Play/Stop button more conspicuous, maybe change its > > color(s). > > Not so hot on this one :-) It breaks the Sugar design guidelines > (colour represe

Re: [Sugar-devel] Correct use of leading underscores in Python?

2009-07-20 Thread Tomeu Vizoso
On Mon, Jul 20, 2009 at 17:59, Jim Simmons wrote: > I don't want to start a religious war here, but I could use some > guidance.  In writing my Activities I have often copied and pasted > bits of code from other Activities.  For instance, the toolbars from > Read and Speak.  As a result of this I h

[Sugar-devel] Correct use of leading underscores in Python?

2009-07-20 Thread Jim Simmons
I don't want to start a religious war here, but I could use some guidance. In writing my Activities I have often copied and pasted bits of code from other Activities. For instance, the toolbars from Read and Speak. As a result of this I have code in which leading underscores are used in both var

Re: [Sugar-devel] running surf on the XO

2009-07-20 Thread Bryan Berry
there is actually a bit more to it sudo yum install pywebkitgtk WebKit-gtk gnome-python2-gconf from NOTES in the surf bundle On Mon, 2009-07-20 at 21:12 +0545, Bryan Berry wrote: > Christoph, > > u will have to load the packages pywebkitgtk and > webkitgtk in order to run surf > > per this em

Re: [Sugar-devel] Physics activity (Was: Release v3 tonight?)

2009-07-20 Thread Gary C Martin
Hi Asaf, On 20 Jul 2009, at 06:16, Asaf Paris Mandoki wrote: > Hi, > Thanks for the feedback. The save/load functionality is ready and I'll > be committing soon to elements. :-) > Brian: What is the status of the library handling? I'll have to update > elements after I commit to enable the new

[Sugar-devel] running surf on the XO

2009-07-20 Thread Bryan Berry
Christoph, u will have to load the packages pywebkitgtk and webkitgtk in order to run surf per this email http://lists.sugarlabs.org/archive/sugar-devel/2009-June/015402.html -- Bryan W. Berry Technology Director OLE Nepal, http://www.olenepal.org __

[Sugar-devel] Test the POSSE Education Fedora Remix today!

2009-07-20 Thread Sebastian Dziallas
=== Test the POSSE Education Fedora Remix today! === Have you ever wanted to contribute - or get others to contribute - to an open source education project, but never found the time to set up and get started? We've got a ready-to-go contributors' (not just code!) environment for you. The Fedor

Re: [Sugar-devel] proper use of self.set_canvas function

2009-07-20 Thread Tomeu Vizoso
On Mon, Jul 20, 2009 at 14:31, sumit singh wrote: > Hi Jim, > > Thanx a lot for your reply. Well, right now I am planning to do that by > using a gtk.notebook without tabs and borders, though I would be firstly > testing how it would look. > > The idea you suggests seems to be good and I had a look

Re: [Sugar-devel] help about the get_preview function of activity.Activity class to take screenshots

2009-07-20 Thread Martin Sevior
Hi Sumit, I just fixed the example code in the pyabiword module of abiword to give an example of how this works. The important line in this example is: i.props.pixbuf = abi.render_page_to_image(1) The converts page number 1 to a GdkPixbuf. Once you have a GdkPixbuf, in this case in a Gtk.Image

[Sugar-devel] help about the get_preview function of activity.Activity class to take screenshots

2009-07-20 Thread sumit singh
Hi everyone, Can anyone please guide me about the proper use of the get_preview function of the activity.Activity class of sugar. I had a look at its api, it seems to be returning a dictionary sort of thing which is called as the png image. What I want to do is to save this image somewhere in the

Re: [Sugar-devel] proper use of self.set_canvas function

2009-07-20 Thread sumit singh
Hi Jim, Thanx a lot for your reply. Well, right now I am planning to do that by using a gtk.notebook without tabs and borders, though I would be firstly testing how it would look. The idea you suggests seems to be good and I had a look at the screen shots, they really look nice. In case the noteb

Re: [Sugar-devel] Language control panel broken: Chinese + Russian displayed

2009-07-20 Thread Edward Cherlin
On Sat, Jul 18, 2009 at 2:58 AM, Tomeu Vizoso wrote: > On Sat, Jul 18, 2009 at 01:54, Edward Cherlin wrote: >> There are serious bugs in language switching in My Settings (the Sugar >> Control Panel). > > Would be better to track each of these issues in individual tickets at > dev.sugarlabs.org. I

Re: [Sugar-devel] Gnash gtk+ widget support

2009-07-20 Thread Tomeu Vizoso
On Sun, Jul 19, 2009 at 23:30, Walter Bender wrote: > On Sun, Jul 19, 2009 at 4:53 PM, Gary C Martin wrote: >> Hi Tomeu, >> >> Given that gnash, with the correct gtk+ python support, is not going >> to be here officially until F12 (November), does that make your gnash >> gtk+ work as something more

Re: [Sugar-devel] Gnash gtk+ widget support

2009-07-20 Thread Tomeu Vizoso
On Sun, Jul 19, 2009 at 22:53, Gary C Martin wrote: > Hi Tomeu, > > Given that gnash, with the correct gtk+ python support, is not going to be > here officially until F12 (November), does that make your gnash gtk+ work as > something more reasonable to push*** for in the Sugar 0.88 time-scale? Why

Re: [Sugar-devel] creating your own templates in write activity

2009-07-20 Thread Tomeu Vizoso
On Mon, Jul 20, 2009 at 08:28, Manusheel Gupta wrote: > Tomeu, > > > > On Sat, Jul 18, 2009 at 3:16 PM, Tomeu Vizoso wrote: >> >> That sounds great, how do you plan to deploy it? Are you going to >> integrate your changes into the existing Write activity or will do a >> new one based on that? > >

[Sugar-devel] Localization of activity with ColorSelectionDialog

2009-07-20 Thread Xenofon Papadopoulos
Hello, I 'm using a gtk.ColorSelectionDialog in my activity, and whenever I run it all the text is in English, ignoring my Greek language settings. Apart from this, localization of my application works fine. How can I enforce Greek text on the ColorSelectionDialog? Thanks __