[Sugar-devel] [PATCH toolkit-gtk3] IconEntry, set_icon_from_name: handle case when icon can not be found cleanly

2012-09-17 Thread Simon Schampijer
From: Simon Schampijer si...@laptop.org Sugar crashes if the sugar theme has not been set (in sugar-session) in the set_icon_from_name method since some if the requested icons can not be found. Handle that case cleanly. Signed-off-by: Simon Schampijer si...@laptop.org ---

Re: [Sugar-devel] [Sugar-desarrollo] Update images of Switch desktop - Actualizar Imagenes de Cambiar Escritorio

2012-09-17 Thread Gonzalo Odiard
Should be good show in the Gnome preview image, one application open, may be the web browser. Can you prepare both images? *Spanish* Seria bueno que la imagen de Gnome tenga alguna aplicacion abierta, por ejemplo el navegador. Podes preparar las imagenes? Gonzalo On Sun, Sep 16, 2012 at

[Sugar-devel] [PATCH Browse] Cancel a download if space is very tight SL #394

2012-09-17 Thread Manuel Kaufmann
It checks if there will be more than MIN_DISKFREE_AFTER_DOWNLOAD (20Mb) after downloading the file. If not, Browse will cancel the download process before starting it and an Alert will be shown to the user to inform this situation. Signed-off-by: Manuel Kaufmann humi...@gmail.com ---

Re: [Sugar-devel] [PATCH] MEMORIZE patch for saving game state after exit and restoring last game state when the game is opened.

2012-09-17 Thread Gonzalo Odiard
Hi Ariel, This patch mix many changes, not only what the title say. Please prepare a patch only with the code needed to implement this, and I will review it. If you want propose other changes, send it in different patches. Thanks Gonzalo On Fri, Sep 14, 2012 at 12:31 PM, Ariel Calzada

Re: [Sugar-devel] [PATCH toolkit-gtk3] IconEntry, set_icon_from_name: handle case when icon can not be found cleanly

2012-09-17 Thread Manuel Quiñones
2012/9/17 Simon Schampijer si...@schampijer.de: From: Simon Schampijer si...@laptop.org Sugar crashes if the sugar theme has not been set (in sugar-session) in the set_icon_from_name method since some if the requested icons can not be found. Handle that case cleanly. Good catch Simon, yes

Re: [Sugar-devel] [PATCH toolkit-gtk3] IconEntry, set_icon_from_name: handle case when icon can not be found cleanly

2012-09-17 Thread Simon Schampijer
On 09/17/2012 03:42 PM, Manuel Quiñones wrote: 2012/9/17 Simon Schampijer si...@schampijer.de: From: Simon Schampijer si...@laptop.org Sugar crashes if the sugar theme has not been set (in sugar-session) in the set_icon_from_name method since some if the requested icons can not be found.

Re: [Sugar-devel] [FEATURE] [DESIGN] Display Device

2012-09-17 Thread Manuel Quiñones
2012/9/14 Gary Martin garycmar...@googlemail.com: Hi Simon, Just going through my sketches and raising a few older threads: On 21 Aug 2012, at 13:44, Simon Schampijer si...@schampijer.de wrote: Hi Gary, thanks for having a look! On 08/21/2012 02:34 PM, Gary Martin wrote: Hi Simon, On

[Sugar-devel] [PATCH sugar 1/2] ModalAlert ported to Gtk3

2012-09-17 Thread Manuel Kaufmann
Gtk.VBox.pack_start() and Gtk.Alignment.new() fixed to run over Gtk3 Signed-off-by: Manuel Kaufmann humi...@gmail.com --- src/jarabe/journal/modalalert.py | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/jarabe/journal/modalalert.py

Re: [Sugar-devel] [PATCH sugar 1/2] ModalAlert ported to Gtk3

2012-09-17 Thread Simon Schampijer
Thanks, pushed as: 8c661997e6c54139cf98dc7149749388c91d757f There was as well the window.window - window.get_window() missing, found with my little test: from gi.repository import Gtk from jarabe.journal.modalalert import ModalAlert def _destroy_cb(widget, data=None): Gtk.main_quit()

[Sugar-devel] [ASLO] Release Graph Plotter-7

2012-09-17 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4591 Sugar Platform: 0.86 - 0.98 Download Now: http://activities.sugarlabs.org/downloads/file/28219/graph_plotter-7.xo Release notes: * Solved bug SL#3867. * Added Command entry. * Updated Sweetener (Now it's compatible with Sugar 0.86;

[Sugar-devel] [DESIGN] Messages to Browse when checking free space

2012-09-17 Thread Gonzalo Odiard
If Browse check before start to download the space available [1] and there are not enough space to do a safe download, what should be a good message to show to the user? May be: Can't download the file X You need NN MB, delete files in the Journal and try again Gonzalo [1]

Re: [Sugar-devel] [DESIGN] Messages to Browse when checking free space

2012-09-17 Thread Walter Bender
On Mon, Sep 17, 2012 at 4:57 PM, Gonzalo Odiard gonz...@laptop.org wrote: If Browse check before start to download the space available [1] and there are not enough space to do a safe download, what should be a good message to show to the user? May be: Can't download the file X Not

Re: [Sugar-devel] [DESIGN] Messages to Browse when checking free space

2012-09-17 Thread Gonzalo Odiard
I was thinking in a a alert with a title and a text. The first line Can't download the file X should be the title Gonzalo May be: Can't download the file X Not specific enough You need NN MB, delete files in the Journal and try again Maybe too specific? How about: Not

Re: [Sugar-devel] [DESIGN] Messages to Browse when checking free space

2012-09-17 Thread Kevin Mark
--- On Mon, 9/17/12, Walter Bender walter.ben...@gmail.com wrote: From: Walter Bender walter.ben...@gmail.com Subject: Re: [Sugar-devel] [DESIGN] Messages to Browse when checking free space To: Gonzalo Odiard gonz...@laptop.org Cc: Manuel Kaufmann humi...@gmail.com, Sugar-dev Devel

Re: [Sugar-devel] [PATCH Browse] Cancel a download if space is very tight SL #394

2012-09-17 Thread James Cameron
On Mon, Sep 17, 2012 at 08:24:18AM -0300, Manuel Kaufmann wrote: It checks if there will be more than MIN_DISKFREE_AFTER_DOWNLOAD (20Mb) after downloading the file. If not, Browse will cancel the download process before starting it and an Alert will be shown to the user to inform this

Re: [Sugar-devel] [PATCH sugar-artwork][DESIGN][PROPOSAL] Use the same style as Browse in all GtkNotebooks

2012-09-17 Thread Manuel Quiñones
Awesome Daniel, thank you very much for your patch, looks great. Comments below: 2012/9/16 Daniel Francis fran...@sugarlabs.org: BrowseNotebook is already used in Terminal and Browse, let's set it as the default GtkNotebook style. Signed-off-by: Daniel Francis fran...@sugarlabs.org ---

Re: [Sugar-devel] [DESIGN] Messages to Browse when checking free space

2012-09-17 Thread Gary Martin
On 17 Sep 2012, at 22:14, Walter Bender walter.ben...@gmail.com wrote: On Mon, Sep 17, 2012 at 4:57 PM, Gonzalo Odiard gonz...@laptop.org wrote: If Browse check before start to download the space available [1] and there are not enough space to do a safe download, what should be a good message

Re: [Sugar-devel] [PATCH sugar-artwork][DESIGN][PROPOSAL] Use the same style as Browse in all GtkNotebooks

2012-09-17 Thread S. Daniel Francis
2012/9/17 Manuel Quiñones ma...@laptop.org: I attach a patch with the modifications above. Thanks again! Thanks to you, Manu! I'm starting to understand css. What I did is only rename BrowseNotebook to .notebook or if both types exist, mix their rules without know always what are that rules

Re: [Sugar-devel] [PATCH sugar-artwork][DESIGN][PROPOSAL] Use the same style as Browse in all GtkNotebooks

2012-09-17 Thread Manuel Quiñones
2012/9/17 S. Daniel Francis fran...@sugarlabs.org: 2012/9/17 Manuel Quiñones ma...@laptop.org: I attach a patch with the modifications above. Thanks again! Thanks to you, Manu! I'm starting to understand css. What I did is only rename BrowseNotebook to .notebook or if both types exist, mix

[Sugar-devel] [PATCH sugar] Fix screenshot extension, port to cairo - SL #3906

2012-09-17 Thread Manuel Quiñones
1. API fix, Gdk.Window now has get_width() and get_height(), not get_size(). 2. Use cairo to make the screenshot: paint the window surface in a new surface and then save it as png to the path that will be provided to the datastore. 3. Use the same cairo code as in the toolkit-gtk3 to