[Sugar-devel] [PATCH sugar-toolkit-gtk3] Key grabber: make grab_keys introspectable

2012-08-22 Thread Simon Schampijer
To the grab_keys function we pass a list of strings the key grabber should listen for. In order to make this introspectable we need to annotate the function correctly. I followed the instructions for passing arrays [1] and have chosen the type of the array data looking at [2]. A simple example on

[Sugar-devel] [PATCH sugar-base] Video Mime types

2012-08-22 Thread Manuel Kaufmann
Added more mime types that are supported by Jukebox Signed-off-by: Manuel Kaufmann humi...@gmail.com --- src/sugar/mime.py | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/sugar/mime.py b/src/sugar/mime.py index 7f3f5ff..c90a762 100644 --- a/src/sugar/mime.py +++

[Sugar-devel] [PATCH sugar-toolkit-gtk3] Video Mime types

2012-08-22 Thread Manuel Kaufmann
Added more mime types that are supported by Jukebox Signed-off-by: Manuel Kaufmann humi...@gmail.com --- src/sugar3/mime.py | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/sugar3/mime.py b/src/sugar3/mime.py index 448585e..07d085e 100644 --- a/src/sugar3/mime.py

[Sugar-devel] [PATCH sugar] Journal: add alert to confirm before erasing an entry

2012-08-22 Thread Simon Schampijer
Erasing an entry in the Journal does not ask for confirmation before doing the erase. This patch adds an alert to the ListView and the DetailView that asks for confirmation before doing the erase. This is part of the touch interaction work [1]. The wording of the alert has been finallized with

Re: [Sugar-devel] [PATCH sugar] Remove _MouseListener from the frame - SL #3820

2012-08-22 Thread Simon Schampijer
On 08/21/2012 02:50 PM, Manuel Quiñones wrote: - Move the code of mouse_enter() method to a oneliner in the client class, so a class is not needed anymore. - Fix calls to non existant mouse_leave() method from commit 238338d4 . Signed-off-by: Manuel Quiñones ma...@laptop.org Thanks Manuel

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-08-22 Thread Bert Freudenberg
On 2012-08-22, at 04:27, Martin Abente wrote: Hello everyone: From the meeting notes and Bert suggestion I have what could be called the version 2 of this feature, greatly simplified and complies with everyones rightful suggestions. To avoid spaming (for some time) the sugar-devel ML I

Re: [Sugar-devel] [PATCH sugar] Journal: add alert to confirm before erasing an entry

2012-08-22 Thread Manuel Quiñones
Yes, this v2 has the discussed wording. Please commit. 2012/8/22 Simon Schampijer si...@schampijer.de: Erasing an entry in the Journal does not ask for confirmation before doing the erase. This patch adds an alert to the ListView and the DetailView that asks for confirmation before doing the

Re: [Sugar-devel] [PATCH sugar] Remove _MouseListener from the frame - SL #3820

2012-08-22 Thread Manuel Quiñones
2012/8/22 Simon Schampijer si...@schampijer.de: On 08/21/2012 02:50 PM, Manuel Quiñones wrote: - Move the code of mouse_enter() method to a oneliner in the client class, so a class is not needed anymore. - Fix calls to non existant mouse_leave() method from commit 238338d4 .

Re: [Sugar-devel] [PATCH sugar-toolkit-gtk3] Key grabber: make grab_keys introspectable

2012-08-22 Thread Simon Schampijer
On 08/22/2012 01:58 PM, Manuel Quiñones wrote: Great Simon,I tested it in the shell port branch and the keystrokes for changing the zoom level and showing/hiding the frame are back. 2012/8/22 Simon Schampijer si...@schampijer.de: To the grab_keys function we pass a list of strings the key

[Sugar-devel] [PATCH sugar] Remove _MouseListener from the frame and cleanup, v2, SL #3820

2012-08-22 Thread Simon Schampijer
Move the code of mouse_enter() method into the client class, so a class is not needed anymore. Fix calls to non existent mouse_leave() method from commit 238338d4. Cleanup of unused leave methods due to the new behavior. Signed-off-by: Manuel Quiñones ma...@laptop.org Signed-off-by: Simon

Re: [Sugar-devel] [PATCH sugar] Remove _MouseListener from the frame - SL #3820

2012-08-22 Thread Simon Schampijer
On 08/22/2012 04:40 PM, Manuel Quiñones wrote: 2012/8/22 Simon Schampijer si...@schampijer.de: On 08/21/2012 02:50 PM, Manuel Quiñones wrote: - Move the code of mouse_enter() method to a oneliner in the client class, so a class is not needed anymore. - Fix calls to non existant

Re: [Sugar-devel] Is there a way to purposefully do synchronous GUI updates?

2012-08-22 Thread Ajay Garg
James, Benjamin, I replaced the gtk.ProgressBar with a running-progress-text. It works, provided I use the Benjamin's method of using gtk.gsk.window_process_all_updates() to have synchronous GUI updates. Thanks and Regards, Ajay On Wed, Aug 22, 2012 at 5:55 AM, James Cameron qu...@laptop.org

[Sugar-devel] [Design] On Screen Keyboard – part of the 'get Sugar touch ready' feature set

2012-08-22 Thread Gary C Martin
Hi all, I've pulled together most of the design mockups onto a wiki page [1] for the ongoing work on the Maliit based on screen keyboard (OSK). This is part of the feature set [2] to get the Sugar UI/UX touch ready, as raised by Simon on the mail-list already. Please feel free to use the wiki

Re: [Sugar-devel] [Design] On Screen Keyboard – part of the 'get Sugar touch ready' feature set

2012-08-22 Thread Manuel Quiñones
2012/8/22 Gary C Martin garycmar...@googlemail.com: Hi all, I've pulled together most of the design mockups onto a wiki page [1] for the ongoing work on the Maliit based on screen keyboard (OSK). This is part of the feature set [2] to get the Sugar UI/UX touch ready, as raised by Simon on

Re: [Sugar-devel] [Design] On Screen Keyboard – part of the 'get Sugar touch ready' feature set

2012-08-22 Thread Gary Martin
On 22 Aug 2012, at 20:58, Manuel Quiñones ma...@laptop.org wrote: 2012/8/22 Gary C Martin garycmar...@googlemail.com: Hi all, I've pulled together most of the design mockups onto a wiki page [1] for the ongoing work on the Maliit based on screen keyboard (OSK). This is part of the

Re: [Sugar-devel] [Design] On Screen Keyboard – part of the 'get Sugar touch ready' feature set

2012-08-22 Thread Manuel Quiñones
2012/8/22 Gary Martin garycmar...@googlemail.com: On 22 Aug 2012, at 20:58, Manuel Quiñones ma...@laptop.org wrote: 2012/8/22 Gary C Martin garycmar...@googlemail.com: Hi all, I've pulled together most of the design mockups onto a wiki page [1] for the ongoing work on the Maliit based on

Re: [Sugar-devel] [DESIGN] Examples objects support for activities.

2012-08-22 Thread Martin Abente
Nice! Please also give it a try :) @Gary, Gonzalo, ping ;) both patches are here: http://www.sugarlabs.org/~tch/patches/examples/ On Wed, Aug 22, 2012 at 10:24 AM, Bert Freudenberg b...@freudenbergs.dewrote: On 2012-08-22, at 04:27, Martin Abente wrote: Hello everyone: From the meeting

Re: [Sugar-devel] More tests of Write with introspection bindings

2012-08-22 Thread Manuel Quiñones
2012/8/23 Gonzalo Odiard gonz...@laptop.org: Hi Carlos, I continue doing tests, with little advance. Report here to see if you can help me. I have rebuilded all my env, using sugar-build, compiled libgsf and abiword, applied the changes ion your patch to Write activity and the activity crash

Re: [Sugar-devel] python-speaking unix-guru user interface prototype implementer(s) and design critics/contributors solicited

2012-08-22 Thread Laura Vargas
This is a timely and very interesting endeavour. Do we have a starting point of workflow formed? Or will it evolve from the wiki discussions? We have been using XO's for quite a while now. We have seen sucessful implementations of the XO-laptops and have held and hold classes with children

[Sugar-devel] [ASLO] Release Conozco India-3

2012-08-22 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4587 Sugar Platform: 0.82 - 0.98 Download Now: http://activities.sugarlabs.org/downloads/file/28197/i_know_india-3.xo Release notes: -New translations -Add basic maps of Goa state -Return posibility of select maps -Better checks in

[Sugar-devel] [ASLO] Release Conozco América-6

2012-08-22 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4464 Sugar Platform: 0.82 - 0.98 Download Now: http://activities.sugarlabs.org/downloads/file/28196/i_know_america-6.xo Release notes: -New translations -Better strings for introduction and questions -Fix to works in Gnome directly -Fix

[Sugar-devel] [ASLO] Release Panorama-6

2012-08-22 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4524 Sugar Platform: 0.92 - 0.98 Download Now: http://activities.sugarlabs.org/downloads/file/28194/panorama-6.xo Release notes: -New translations -Remove binaries of Pygame 1.9 (break back compatibility). Sugar Labs Activities

[Sugar-devel] [ASLO] Release Puntillismo-6

2012-08-22 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4523 Sugar Platform: 0.92 - 0.98 Download Now: http://activities.sugarlabs.org/downloads/file/28193/pointillism-6.xo Release notes: -New translations -Remove binaries of Pygame 1.9 (break back compatibility). Sugar Labs Activities

[Sugar-devel] Dist_xo of bundlebuilder

2012-08-22 Thread Alan Jhonn Aguiar Schwyn
Hi, I have installed the sugar-emulator-0.96 and use it without problems. But now, when I try to make a .xo, it have a problem and only make the.xo with the locale folder! Why? If I copy the same folder to another place, for example: to the desktop.. I have this: alan@alan-pc:~/Escritorio/tmp$

Re: [Sugar-devel] [Design] On Screen Keyboard – part of the 'get Sugar touch ready' feature set

2012-08-22 Thread Chris Leonard
On Wed, Aug 22, 2012 at 9:09 PM, Gary Martin garycmar...@googlemail.com wrote: The key layout is a more complicated affair as it requires modification of XML files for each language layout [1], so I'd rather lock down an agreed layout before I start trying to apply them to 40+ different

Re: [Sugar-devel] Dist_xo of bundlebuilder

2012-08-22 Thread Alan Jhonn Aguiar Schwyn
I'm go to the problem.. In bundlebuilder.py I found this command that make the list of files: git_ls = subprocess.Popen(['git', 'ls-files'], stdout=subprocess.PIPE, cwd=self.config.source_dir) If I not have git installed (like in a XO) or the directory is external

[Sugar-devel] [PATCH sugar-toolkit-gtk3 2/2] Fix the drawing of ColorToolButton, RadioToolButton and ToggleToolButton

2012-08-22 Thread Manuel Quiñones
gtk_paint_box is deprecated [1] and now we can use the CSS to change the style of the button's prelight state. To test the buttons, I provide a patch for HelloWorld activity [2]. They are added in the main toolbar. Signed-off-by: Manuel Quiñones ma...@laptop.org [1]

Re: [Sugar-devel] [PATCH sugar] Remove _MouseListener from the frame and cleanup, v2, SL #3820

2012-08-22 Thread Manuel Quiñones
Yes! This complies with the behavior we agreed in the other thread. Please commit. 2012/8/22 Simon Schampijer si...@schampijer.de: Move the code of mouse_enter() method into the client class, so a class is not needed anymore. Fix calls to non existent mouse_leave() method from commit 238338d4.

Re: [Sugar-devel] Dist_xo of bundlebuilder

2012-08-22 Thread Manuel Quiñones
2012/8/23 Alan Jhonn Aguiar Schwyn alan...@hotmail.com: I'm go to the problem.. In bundlebuilder.py I found this command that make the list of files: git_ls = subprocess.Popen(['git', 'ls-files'], stdout=subprocess.PIPE, cwd=self.config.source_dir) If I

Re: [Sugar-devel] Dist_xo of bundlebuilder

2012-08-22 Thread Alan Jhonn Aguiar Schwyn
Date: Thu, 23 Aug 2012 02:26:23 -0300 From: ma...@laptop.org To: alan...@hotmail.com CC: sugar-devel@lists.sugarlabs.org Subject: Re: [Sugar-devel] Dist_xo of bundlebuilder 2012/8/23 Alan Jhonn Aguiar Schwyn alan...@hotmail.com: I'm go to the problem.. In bundlebuilder.py I found

Re: [Sugar-devel] Dist_xo of bundlebuilder

2012-08-22 Thread Chris Leonard
On Thu, Aug 23, 2012 at 1:32 AM, Alan Jhonn Aguiar Schwyn alan...@hotmail.com wrote: Yes Alan, you need to install git. If I don't want? I'm only try to make a .xo.. If I try to make it on a XO (that not have GIT) ?? I think that is part of the logic that has lead to a decision to include

Re: [Sugar-devel] Dist_xo of bundlebuilder

2012-08-22 Thread Alan Jhonn Aguiar Schwyn
From: cjlhomeaddr...@gmail.com Date: Thu, 23 Aug 2012 01:47:36 -0400 To: alan...@hotmail.com CC: sugar-devel@lists.sugarlabs.org; ma...@laptop.org Subject: Re: [Sugar-devel] Dist_xo of bundlebuilder On Thu, Aug 23, 2012 at 1:32 AM, Alan Jhonn Aguiar Schwyn alan...@hotmail.com wrote: