Re: [sugar] storing Activity parameters

2008-03-17 Thread Gary C Martin
I just wanted to follow up on this activity preference storage idea from a few weeks ago, with some working code, as I've finally got around to writing/testing and all appears to work well. Feedback appreciated if I'm doing something dubious here. Activity defaults are hard coded, then

Re: [sugar] icon assistance/validation

2008-03-17 Thread Eben Eliason
Sorry I'm so late to this thread. I've been meaning for some time now to provide a template and a script for easily creating sugar icons. The delay was due, in large part, to the fact that I've been working in Illustrator and my scripts were created as time-savers for myself. Unfortunately,

Re: [sugar] icon assistance/validation

2008-03-17 Thread Marco Pesenti Gritti
On Sat, Mar 15, 2008 at 6:04 PM, Paul Fox [EMAIL PROTECTED] wrote: - gary's suggestion to preview with a browser is a good one: firefox seems to be as capable as sugar at not-displaying bad images, or inkscape format images. in addition, it will sometimes warn of syntax

Re: [sugar] Control-panel GUI design

2008-03-17 Thread Hemant Goyal
Hi, I had posted about the Speech Synthesis Control Panel as well. Can we also discuss the inclusion of speech synthesis control parameters within this control panel, while this discussion is alive? A link to my previous post - http://lists.laptop.org/pipermail/sugar/2008-March/004411.html Hi,

[sugar] OLPC News (2008-03-16)

2008-03-17 Thread Walter Bender
Pakistan: Dr. Habib Khan announced the launching of an OLPC pilot project at the Atlas Public School, located in the slums between Rawalpind and Islamabad. (Many thanks to our Afghan volunteers, Usman Mansoor Ansari and Sohaib Obaidi Ebtihaj, who discovered the school and will be mentoring

Re: [sugar] Update.1 activities download script

2008-03-17 Thread Chris Hager
Bert Freudenberg wrote: Xo-get does a lot more with its database of installed activities etc. Mine simply downloads and installs activities from the repository for supported activities. But I'd be happy if someone merged my script into xo-get, I do not intend to maintain it indefinitely.

Re: [sugar] Update.1 activities download script

2008-03-17 Thread Bert Freudenberg
On Mar 16, 2008, at 20:13 , Chris Hager wrote: Bert Freudenberg wrote: Xo-get does a lot more with its database of installed activities etc. Mine simply downloads and installs activities from the repository for supported activities. But I'd be happy if someone merged my script into

Re: [sugar] Update.1 activities download script

2008-03-17 Thread Chris Hager
Bert Freudenberg wrote: Xo-get does a lot more with its database of installed activities etc. Mine simply downloads and installs activities from the repository for supported activities. But I'd be happy if someone merged my script into xo-get, I do not intend to maintain it indefinitely.

Re: [sugar] Icon(gtk.Image) - icon size

2008-03-17 Thread Tomeu Vizoso
On Mon, Mar 17, 2008 at 10:58 AM, Simon Schampijer [EMAIL PROTECTED] wrote: Hi, I found out what one of my problems was. For the SugarIcon I tried to set a pixel_size. http://www.pygtk.org/pygtk2reference/class-gtkimage.html#method-gtkimage--set-pixel-size Giving a pixel_size works

[sugar] palettes on non-fullscreen windows

2008-03-17 Thread Simon Schampijer
Hi, on non-fullscreen windows palettes does have problems since the code seem to rely on gtk.gdk.screen_width() and gtk.gdk.screen_height(). For example in dialog windows like the control-panel the palette can be drawn outside the window (see attached screenshot). I played a bit with

Re: [sugar] palettes on non-fullscreen windows

2008-03-17 Thread Marco Pesenti Gritti
On Mon, Mar 17, 2008 at 3:39 PM, Simon Schampijer [EMAIL PROTECTED] wrote: Hi, on non-fullscreen windows palettes does have problems since the code seem to rely on gtk.gdk.screen_width() and gtk.gdk.screen_height(). What depends on those exactly? I thought it was only to keep palettes

Re: [sugar] Update.1 activities download script

2008-03-17 Thread Chris Hager
I've implemented the upgrade script now -- on the next xo-get update it will ask to update to version 1.2.5 and then it's capable of xo-get upgrade. When called, it will re-download the upgrade script from http://dev.laptop.org/~bert/update-activities.py all 48 hours, save it in

Re: [sugar] Update.1 activities download script

2008-03-17 Thread Bert Freudenberg
On Mar 17, 2008, at 15:52 , Chris Hager wrote: I've implemented the upgrade script now -- on the next xo-get update it will ask to update to version 1.2.5 and then it's capable of xo-get upgrade. When called, it will re-download the upgrade script from

Re: [sugar] Update.1 activities download script

2008-03-17 Thread Bert Freudenberg
On Mar 17, 2008, at 14:48 , Chris Hager wrote: Bert Freudenberg wrote: ... To save download time, do something like this first: cp -a /usr/share/activities/*.activity /home/olpc/Activities Maybe only make symlinks? ln -s /usr/share/activities/*.activity /home/olpc/Activities/ Err, the

Re: [sugar] icon assistance/validation

2008-03-17 Thread Eben Eliason
I'm attaching a new version of the script. Tomorrow I'll have a chance to dive into the wiki, post it there, and add some examples and guidelines. Please give me any feedback you have on your experiences using it. The key changes in this new version are: - gracefully handles running the script

Re: [sugar] palettes on non-fullscreen windows

2008-03-17 Thread Simon Schampijer
Eben Eliason wrote: On Mon, Mar 17, 2008 at 10:39 AM, Simon Schampijer [EMAIL PROTECTED] wrote: Hi, on non-fullscreen windows palettes does have problems since the code seem to rely on gtk.gdk.screen_width() and gtk.gdk.screen_height(). For example in dialog windows like the control-panel

Re: [sugar] icon assistance/validation

2008-03-17 Thread Gary C Martin
Hi Eben, While you at the wiki, could you make a distinction between activity icons (dual colour + transparency), and activity toolbar icons (1 colour plus transparency) – or maybe I'm wrong on the toolbar interpretation. I kinda get a little narky when I see toolbar icons with white fill