[Sugar-devel] [PATCH shell 2/2] Port Volume palette that has mixed content to new API

2012-09-19 Thread Manuel Quiñones
This fixes VolumePalette that is used in the Journal, and in the volume device icon. Had to set the content box (the one passed to set_content) a property of the palette. Otherwise the "Show Contents" can't be added from the device icon. Previusly the palette.menu attribute was used for that. A

[Sugar-devel] Sugar Labs service outage: Thu, Sep 20 9:30-12:30 EDT

2012-09-19 Thread Bernie Innocenti
Tomorrow, Thursday 20 Sep 2012, between 9:30 and 12:30 eastern time, the Media Lab sysadmins will reconfigure the rack in room E15-243. During the maintenance work, the following services hosted on treehouse.sugarlabs.org may become temporarily unavailable: - git.sugarlabsa.org and all related s

Re: [Sugar-devel] [PATCH shell 2/2] Use proper constructor for Gtk.Alignment

2012-09-19 Thread Manuel Quiñones
Found a regression in the Journal: the progress bar when a volume is clicked gets the whole height of the window. 2012/9/20 Manuel Quiñones : > Is better to pass keyword arguments, like the toolkit does. See > sugar-toolkit-gtk commit 20319cb3c4b2be4e8f584703d704ffda4b1cff29 . > > Signed-off-by:

Re: [Sugar-devel] [IAEP] Sugar Digest 2012-09-18

2012-09-19 Thread S. Daniel Francis
Hi Kevin, 2012/9/19 Kevin Mark : > Hearing from the kids who are making Sugar activities and more contributions, > I'm really wanting to > know what teaching environment made this possible? Summing my case all the cases I listened about, we usually learn by our self. Thinking about why Sugar, we

[Sugar-devel] [PATCH shell 2/2] Use proper constructor for Gtk.Alignment

2012-09-19 Thread Manuel Quiñones
Is better to pass keyword arguments, like the toolkit does. See sugar-toolkit-gtk commit 20319cb3c4b2be4e8f584703d704ffda4b1cff29 . Signed-off-by: Manuel Quiñones --- extensions/cpsection/aboutme/view.py | 4 ++-- extensions/cpsection/updater/view.py | 3 +-- extensions/deviceicon/network.py

[Sugar-devel] [PATCH shell] Fix Speech device icon - SL #3931

2012-09-19 Thread Manuel Quiñones
- Port palette with mixed content to new API. - pack_start: the convert script got confused here. - Gtk.HScale API change: set adjustment with set_adjustment method, not in the constructor. - Gtk.Adjustment API change: use get_value method because value property was removed. - Gdk.Clipboard

Re: [Sugar-devel] [IAEP] Sugar Digest 2012-09-18

2012-09-19 Thread Kevin Mark
--- On Wed, 9/19/12, S. Daniel Francis wrote: > From: S. Daniel Francis > Subject: Re: [Sugar-devel] [IAEP] Sugar Digest 2012-09-18 > To: "James Simmons" > Cc: "iaep" , "Sugar-dev Devel" > , community-n...@lists.sugarlabs.org, > "Walter Bender" > Date: Wednesday, September 19, 2012, 12:42

Re: [Sugar-devel] [PATCH Browse] Error page SL #3500

2012-09-19 Thread Martin Langhoff
On Wed, Sep 19, 2012 at 6:54 AM, Manuel Kaufmann wrote: > On Tue, Sep 18, 2012 at 10:58 PM, James Cameron wrote: >> Neat. What method did you use to convert the image? > > Python... It is my best friend :) > import base64 base64.b64encode(open('browse-logo.png', 'r').read()) You have

[Sugar-devel] [ASLO] Release FollowMe Butia-7

2012-09-19 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4368 Sugar Platform: 0.90 - 0.98 Download Now: http://activities.sugarlabs.org/downloads/file/28224/followme_butia-7.xo Release notes: -Add option to set the camera brightness -New translations -Remove all binaries (uses the Pygame of the

[Sugar-devel] [IAEP] Sugar Digest 2012-09-18

2012-09-19 Thread Edward Mokurai Cherlin
I would go further. Can we invite the children to give us their stories? They should be wikified, blogged, made the subject of articles in the geek and education press, and spread even more widely than that. Better still, can we invite the schools where this children are learning and sharing to cel

Re: [Sugar-devel] Debugging sugar-datastore (and similar dbus-connected services)

2012-09-19 Thread Gonzalo Odiard
I don't know if will be useful for you, but I have used SystemTap. You can see at least a trace of the functions called. Info: http://fedoraproject.org/wiki/Features/SystemtapStaticProbes http://sourceware.org/systemtap/wiki/PythonMarkers With stap /usr/share/doc/python-libs-2.7.3/systemtap-exampl

Re: [Sugar-devel] Debugging sugar-datastore (and similar dbus-connected services)

2012-09-19 Thread Martin Langhoff
On Wed, Sep 19, 2012 at 4:54 PM, Gonzalo Odiard wrote: > You already have the line > export SUGAR_LOGGER_LEVEL=debug > uncommented in .sugar/debug, right? Yes. And with that, datastore.log is very chatty, which is good. But when the datastore code hits an unhandled exception, the exception does

[Sugar-devel] [sugar] Show summary information in the activities list view

2012-09-19 Thread godiard
From: Gonzalo Odiard Signed-off-by: Gonzalo Odiard --- src/jarabe/desktop/activitieslist.py | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/src/jarabe/desktop/activitieslist.py b/src/jarabe/desktop/activitieslist.py index fc05594..58e285c 10064

Re: [Sugar-devel] Debugging sugar-datastore (and similar dbus-connected services)

2012-09-19 Thread Gonzalo Odiard
You already have the line export SUGAR_LOGGER_LEVEL=debug uncommented in .sugar/debug, right? Gonzalo On Wed, Sep 19, 2012 at 5:41 PM, Martin Langhoff wrote: > On Wed, Sep 19, 2012 at 4:15 PM, Martin Langhoff > wrote: > > I'm debugging odd situations w Sugar datastore, and I wonder whether > >

Re: [Sugar-devel] Debugging sugar-datastore (and similar dbus-connected services)

2012-09-19 Thread Martin Langhoff
On Wed, Sep 19, 2012 at 4:15 PM, Martin Langhoff wrote: > I'm debugging odd situations w Sugar datastore, and I wonder whether > there is any tricks to debugging python programs that are run under > dbus. > > I can see the sugar-datastore PID growing steadily while I test, which > means that it's

[Sugar-devel] [sugar] Replace named_icon by icon_name in ToolButton and similar

2012-09-19 Thread godiard
From: Gonzalo Odiard This change is needed by the change done in sigar-toolkit-gtk3 Signed-off-by: Gonzalo Odiard --- src/jarabe/desktop/homebox.py| 4 ++-- src/jarabe/frame/zoomtoolbar.py | 2 +- src/jarabe/journal/volumestoolbar.py | 6 +++--- 3 files changed, 6 insertions(+), 6

[Sugar-devel] [sugar-toolkit-gtk3] Make icon_name api consistent between the different toolbuttons

2012-09-19 Thread godiard
From: Gonzalo Odiard As discused in the mailing list [1] the api to set the icon in sugar ToolButton, RadioToolButton and ToggleToolButton is inconsistent, and with the port to gtk3 differences are visible as a wrong size (SL #3849) Signed-off-by: Gonzalo Odiard [1] http://lists.sugarlabs.org/

[Sugar-devel] Debugging sugar-datastore (and similar dbus-connected services)

2012-09-19 Thread Martin Langhoff
I'm debugging odd situations w Sugar datastore, and I wonder whether there is any tricks to debugging python programs that are run under dbus. I can see the sugar-datastore PID growing steadily while I test, which means that it's dying and respawning plenty, likely from unhandled exceptions... th

Re: [Sugar-devel] [sugar-toolkit-gtk3] Set getter an setter in icon_name property - SL #3849

2012-09-19 Thread Simon Schampijer
Hi Gonzalo, thanks for this great writeup! On 09/19/2012 09:13 PM, Gonzalo Odiard wrote: > Today we explored with Simon different alternatives: > > - override the icon-name property and fallback to what we do in > set_named_icon > - override the icon-name property and print a warning to use 'nam

[Sugar-devel] [sugar-toolkit-gtk3] Add management of summary property to the activity.info file

2012-09-19 Thread godiard
From: Gonzalo Odiard This summary is translatable aas the name and will be displayed in the activivity list in the home view. Signed-off-by: Gonzalo Odiard --- src/sugar3/activity/bundlebuilder.py | 9 + src/sugar3/bundle/activitybundle.py | 15 +++ 2 files changed, 24 in

Re: [Sugar-devel] [IAEP] Sugar Digest 2012-09-18

2012-09-19 Thread James Simmons
There is a write up explaining how to do 18n in Sugar Activities: http://en.flossmanuals.net/como-hacer-una-actividad-sugar/internacionalizarse-con-pootle-god-100/ Above is the Spanish version. I understand there is an English version too. James Simmons On Wed, Sep 19, 2012 at 2:11 PM, Chris

Re: [Sugar-devel] [sugar-toolkit-gtk3] Set getter an setter in icon_name property - SL #3849

2012-09-19 Thread Gonzalo Odiard
Today we explored with Simon different alternatives: - override the icon-name property and fallback to what we do in set_named_icon - override the icon-name property and print a warning to use 'named_icon' - override the icon-name property, do what we do in set_named_icon and remove the named_icon

Re: [Sugar-devel] [IAEP] Sugar Digest 2012-09-18

2012-09-19 Thread Chris Leonard
On Wed, Sep 19, 2012 at 3:04 PM, James Simmons wrote: > Daniel, > > I'm going to try these out when I get home. It looks like you guys have > done some really good work. You may know that Sugar Commander was one of > mine. I'm looking forward to seeing what you did with it. The other stuff > l

Re: [Sugar-devel] [IAEP] Sugar Digest 2012-09-18

2012-09-19 Thread James Simmons
Daniel, I'm going to try these out when I get home. It looks like you guys have done some really good work. You may know that Sugar Commander was one of mine. I'm looking forward to seeing what you did with it. The other stuff looks impressive too. I agree with Walter that having young people

[Sugar-devel] [ASLO] Release Conozco Sri Lanka-1

2012-09-19 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4600 Sugar Platform: 0.82 - 0.98 Download Now: http://activities.sugarlabs.org/downloads/file/28223/i_know_sri_lanka-1.xo Release notes: First version Sugar Labs Activities http://activities.sugarlabs.org ___

Re: [Sugar-devel] [IAEP] Sugar Digest 2012-09-18

2012-09-19 Thread S. Daniel Francis
2012/9/19 Walter Bender : > There are some from outside of .UY as well... Walter, Can you tell us about the activities outside of .UY, please? I never hear about them and would be of interest for some people in these mailing lists, including myself. ___ S

Re: [Sugar-devel] [IAEP] Sugar Digest 2012-09-18

2012-09-19 Thread Walter Bender
On Wed, Sep 19, 2012 at 12:52 PM, Alan Jhonn Aguiar Schwyn wrote: >> From: fran...@sugarlabs.org >> Date: Wed, 19 Sep 2012 13:42:37 -0300 >> To: nices...@gmail.com >> CC: i...@lists.sugarlabs.org; sugar-devel@lists.sugarlabs.org; >> community-n...@lists.sugarlabs.org; walter.ben...@gmail.com >> Su

Re: [Sugar-devel] [IAEP] Sugar Digest 2012-09-18

2012-09-19 Thread Alan Jhonn Aguiar Schwyn
> From: fran...@sugarlabs.org > Date: Wed, 19 Sep 2012 13:42:37 -0300 > To: nices...@gmail.com > CC: i...@lists.sugarlabs.org; sugar-devel@lists.sugarlabs.org; > community-n...@lists.sugarlabs.org; walter.ben...@gmail.com > Subject: Re: [Sugar-devel] [IAEP] Sugar Digest 2012-09-18 > > 2012/9/19 J

Re: [Sugar-devel] [IAEP] Sugar Digest 2012-09-18

2012-09-19 Thread S. Daniel Francis
2012/9/19 James Simmons : > Walter, > > First, congrats on the grandchild. > > Second, I am intrigued by the statement that 10% of Sugar Activities were > written by children who grew up with Sugar. That is an incredible > accomplishment, and it makes me wish that the ASLO website had a Collection

Re: [Sugar-devel] Adventures in the land of ENOSPC

2012-09-19 Thread Martin Langhoff
On Sat, Sep 15, 2012 at 8:03 AM, Sascha Silbe wrote: > Martin Langhoff writes: > >> Manuel Kaufmann has been looking at SL#394, and looking at the bug >> report, it struck me that it was reported backwards. I would have >> written: "I filled up my disk and it knocked the system out, Sugar >> woul

Re: [Sugar-devel] [IAEP] Sugar Digest 2012-09-18

2012-09-19 Thread James Simmons
Walter, First, congrats on the grandchild. Second, I am intrigued by the statement that 10% of Sugar Activities were written by children who grew up with Sugar. That is an incredible accomplishment, and it makes me wish that the ASLO website had a Collection of those Activities. If something li

Re: [Sugar-devel] [PATCH shell] ControlPanel: fix packaging in the keyboard section

2012-09-19 Thread Manuel Quiñones
Thanks Simon, great this patches finish the pack_start API change, and consider the comboboxes pack_start which is different. Great. So we have #3925 to follow up that issue. You can push all three patches. 2012/9/19 Simon Schampijer : > From: Simon Schampijer > > - pack_start: we have to pass

Re: [Sugar-devel] [PATCH Browse] Error page SL #3500

2012-09-19 Thread Manuel Kaufmann
On Wed, Sep 19, 2012 at 8:38 AM, Manuel Kaufmann wrote: > Added an "Error page" with Sugar style that informs the users about > the the page could not be loaded for any reason. I had to add "--no-validate" to the "git send-email" command because this patch has a line longer than 998 chars and it'

[Sugar-devel] [PATCH Browse] Error page SL #3500

2012-09-19 Thread Manuel Kaufmann
Added an "Error page" with Sugar style that informs the users about the the page could not be loaded for any reason. This patch contains a HTML template (error_page.tmpl) that is used to generate the error page with the correct language. Signed-off-by: Manuel Kaufmann --- browser.py |

Re: [Sugar-devel] [PATCH Browse] Error page SL #3500

2012-09-19 Thread James Cameron
On Wed, Sep 19, 2012 at 07:54:01AM -0300, Manuel Kaufmann wrote: > On Tue, Sep 18, 2012 at 10:58 PM, James Cameron wrote: > > Neat. What method did you use to convert the image? > > Python... It is my best friend :) > > >>> import base64 > >>> base64.b64encode(open('browse-logo.png', 'r').read(

Re: [Sugar-devel] [PATCH Browse] Error page SL #3500

2012-09-19 Thread Manuel Kaufmann
On Tue, Sep 18, 2012 at 10:58 PM, James Cameron wrote: > Neat. What method did you use to convert the image? Python... It is my best friend :) >>> import base64 >>> base64.b64encode(open('browse-logo.png', 'r').read()) See you, -- Kaufmann Manuel Blog: http://humitos.wordpress.com/ Porfolio:

Re: [Sugar-devel] Hidden Browse feature (from webkit I think)

2012-09-19 Thread Chris Leonard
You might also want to mention that WebKitGTK+ has not generated a valid POT file for two years and so chances are you will be seeing some English strings. http://l10n.gnome.org/module/webkit/ Bugs have been on file at webkit for a while as well as one pointing upstream to intltool, but no action

[Sugar-devel] [PATCH shell] ControlPanel: fix packaging in the keyboard section

2012-09-19 Thread Simon Schampijer
From: Simon Schampijer - pack_start: we have to pass all arguments now with the dynamic bindings - Gtk.ComboBox pack_start only allows for 2 arguments [1] A follow up is to make displaying the section not crash Sugar anymore SL #3926. [1] http://python-gtk-3-tutorial.readthedocs.org/en/latest/c