Re: [Sugar-devel] [ASLO] Release Image Viewer-50

2012-10-01 Thread Peter Robinson
On Tue, Oct 2, 2012 at 6:51 AM, Alan Jhonn Aguiar Schwyn wrote: >> Date: Tue, 2 Oct 2012 06:46:37 +0100 >> Subject: Re: [Sugar-devel] [ASLO] Release Image Viewer-50 >> From: pbrobin...@gmail.com >> To: alan...@hotmail.com >> CC: sugar-devel@lists.sugarlabs.org > >> >> On Tue, Oct 2, 2012 at 6:41 A

Re: [Sugar-devel] [ASLO] Release Image Viewer-50

2012-10-01 Thread Alan Jhonn Aguiar Schwyn
> Date: Tue, 2 Oct 2012 06:46:37 +0100 > Subject: Re: [Sugar-devel] [ASLO] Release Image Viewer-50 > From: pbrobin...@gmail.com > To: alan...@hotmail.com > CC: sugar-devel@lists.sugarlabs.org > > On Tue, Oct 2, 2012 at 6:41 AM, Alan Jhonn Aguiar Schwyn > wrote: > >> Date: Tue, 2 Oct 2012 06:17:47

Re: [Sugar-devel] [ASLO] Release Image Viewer-50

2012-10-01 Thread Peter Robinson
On Tue, Oct 2, 2012 at 6:41 AM, Alan Jhonn Aguiar Schwyn wrote: >> Date: Tue, 2 Oct 2012 06:17:47 +0100 >> From: pbrobin...@gmail.com >> To: sugar-devel@lists.sugarlabs.org >> Subject: Re: [Sugar-devel] [ASLO] Release Image Viewer-50 > >> >> On Tue, Oct 2, 2012 at 6:02 AM, Sugar Labs Activities >>

Re: [Sugar-devel] [ASLO] Release Image Viewer-50

2012-10-01 Thread Alan Jhonn Aguiar Schwyn
> Date: Tue, 2 Oct 2012 06:17:47 +0100 > From: pbrobin...@gmail.com > To: sugar-devel@lists.sugarlabs.org > Subject: Re: [Sugar-devel] [ASLO] Release Image Viewer-50 > > On Tue, Oct 2, 2012 at 6:02 AM, Sugar Labs Activities > wrote: > > Activity Homepage: > > http://activities.sugarlabs.org/addon

Re: [Sugar-devel] [ASLO] Release Image Viewer-50

2012-10-01 Thread Peter Robinson
On Tue, Oct 2, 2012 at 6:02 AM, Sugar Labs Activities wrote: > Activity Homepage: > http://activities.sugarlabs.org/addon/4032 > > Sugar Platform: > 0.98 - 0.98 > > Download Now: > http://activities.sugarlabs.org/downloads/file/28253/image_viewer-50.xo > > Release notes: > Activity ported to gtk3.

[Sugar-devel] [ASLO] Release Image Viewer-50

2012-10-01 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4032 Sugar Platform: 0.98 - 0.98 Download Now: http://activities.sugarlabs.org/downloads/file/28253/image_viewer-50.xo Release notes: Activity ported to gtk3. Draw the image using cairo. Sugar Labs Activities http://activities.sugarlabs.

Re: [Sugar-devel] [PATCH Browse] Handle LoadInterruptedByPolicyChange SL #3972

2012-10-01 Thread Manuel Quiñones
Great, is working as expected. 2012/10/1 Manuel Kaufmann : > This error is raised when the mimetype policy suffers a change. When > this happens __load_error_cb is called and we were showing the error > page in any case. > > With this patch that case is properly handled in __load_error_cb and > th

[Sugar-devel] [PATCH artwork 2/2] Don't set color for GtkLabel, do it in containers instead - SL #3974

2012-10-01 Thread Manuel Quiñones
An example of why this is wrong is #3974, in which removing: SugarAlert GtkLabel { color: @white; } makes the buttons label recover the right color, as specified in the rule .buttons {...} The only exception is in the notebook tabs: setting color there doesn't paint the labels, so we have to add

Re: [Sugar-devel] New release ImageViewer gtk3

2012-10-01 Thread Agustin Zubiaga Sanchez
Hi Gonzalo! Can you apply the attached patches, and release a activity version,only for Sugar 0.98 to 0.98? As we need use integer version numbers, we can use a big number, may be 50 or 100, The patches are great, I already applied them [1] [2]. Yes, I will release the new version today or tomorr

[Sugar-devel] [PATCH artwork] Style prelight state of favorite activity icon - SL #3894

2012-10-01 Thread Manuel Quiñones
Set a border with the appearence as the shell code was doing before. Signed-off-by: Manuel Quiñones --- gtk3/theme/gtk-widgets.css.em | 9 + 1 file changed, 9 insertions(+) diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em index 82d692d..56c8678 100644 --- a/gtk

Re: [Sugar-devel] touch_test.py resutls

2012-10-01 Thread Agustin Zubiaga Sanchez
Hi, everybody Would be nice to have a touch example Activity. What do you think? Regards, aguz 2012/10/1 Gonzalo Odiard > Well, multitouch is supported by that example, > for gestures, I am waiting have the api a little more defined. > > Gonzalo > > > Be nice to fold in gesture and multitouch

[Sugar-devel] [PATCH shell] Favorites view: get back hover feedback in activity icons - SL #3894

2012-10-01 Thread Manuel Quiñones
Since de-hippo, our icons are implemented as Gtk.EventBox. If a frame is drawn in the do_draw method using Gtk.render_frame, it can be styled in the theme, setting border rules. Listening to the enter-notify and leave-notify events, we can set the prelight state to the eventbox. Then in the them

Re: [Sugar-devel] [PATCH sugar-artwork] Use 0px radius in GtkToolButton prelight state

2012-10-01 Thread Agustin Zubiaga Sanchez
Hi Manu, if you put the mouse over a toolbutton with the gtk2 theme, you will see a black square in the background (a toolbutton without a border-radius). And this patch implements it... Do you understand? Regards, aguz 2012/10/1 Manuel Quiñones > Hey Agus, > > What is the issue you are tryin

Re: [Sugar-devel] touch_test.py resutls

2012-10-01 Thread Gonzalo Odiard
Well, multitouch is supported by that example, for gestures, I am waiting have the api a little more defined. Gonzalo Be nice to fold in gesture and multitouch as well... > > -walter > > > > > Gonzalo > > > > > > On Fri, Sep 28, 2012 at 6:49 PM, Walter Bender > > wrote: > >> > >> I've modified G

Re: [Sugar-devel] [PATCH 3/7] metadatastore: store/change files on disk defensively #2317

2012-10-01 Thread Martin Langhoff
On Mon, Oct 1, 2012 at 12:59 PM, Martin Langhoff wrote: >> From that section I understand that we are encoding the data into >> utf-8 if value is "unicode", but if it is just a "basestring", why we >> are doing "str()"? > > That's actually not changed code.. only changes indentation. I don't > lik

Re: [Sugar-devel] touch_test.py resutls

2012-10-01 Thread Walter Bender
On Mon, Oct 1, 2012 at 4:05 PM, Gonzalo Odiard wrote: > Thanks Walter, looks like a nice approach to add touch to activities. > I will add to my repo, just to have it available online. > May be we should add a example like this to Pippy. Be nice to fold in gesture and multitouch as well... -walt

[Sugar-devel] New release ImageViewer gtk3

2012-10-01 Thread Gonzalo Odiard
Hi Agustin, Looks like your gtk branch is the more "official" place to continue the work to port to gtk3 and add touch support. Can you apply the attached patches, and release a activity version,only for Sugar 0.98 to 0.98? As we need use integer version numbers, we can use a big number, may be 50

[Sugar-devel] [PATCH Browse] Handle LoadInterruptedByPolicyChange SL #3972

2012-10-01 Thread Manuel Kaufmann
This error is raised when the mimetype policy suffers a change. When this happens __load_error_cb is called and we were showing the error page in any case. With this patch that case is properly handled in __load_error_cb and the error page is not shown on the current tab. In fact, we keep the same

Re: [Sugar-devel] touch_test.py resutls

2012-10-01 Thread Gonzalo Odiard
Thanks Walter, looks like a nice approach to add touch to activities. I will add to my repo, just to have it available online. May be we should add a example like this to Pippy. Gonzalo On Fri, Sep 28, 2012 at 6:49 PM, Walter Bender wrote: > I've modified Gonzalo's touch_test.py program [1] in o

Re: [Sugar-devel] [PATCH artwork] Add border-redius to SugarTimeoutIcon - SL #3907

2012-10-01 Thread Simon Schampijer
Looks much better now! Please push. While testing this I have seen that if you click the 'Ok' button in the Alert the button is all white. Same for the 'Show in Journal one'. Fied as http://bugs.sugarlabs.org/ticket/3974 Regards, Simon On 10/01/2012 05:28 PM, Manuel Quiñones wrote: This

Re: [Sugar-devel] [PATCH toolkit-gtk3] Alert: use GtkStyleContext instead of deprecated GtkStyle - SL #3907

2012-10-01 Thread Simon Schampijer
Thanks, patch looks good. On 10/01/2012 05:32 PM, Manuel Quiñones wrote: Using the deprecated GtkStyle is giving an error [1] in the sugar alert. [1] http://bugs.sugarlabs.org/ticket/3907#comment:3 Signed-off-by: Manuel Quiñones --- src/sugar3/graphics/alert.py | 4 ++-- 1 file changed, 2

Re: [Sugar-devel] [PATCH shell] Journal: defocus the search entry by default

2012-10-01 Thread Simon Schampijer
Thanks Manuel, looks good and works as expected. Please push. Simon On 10/01/2012 02:36 PM, Manuel Quiñones wrote: Do the same behavior as in the shell views, explained in detail in commit 1570f774 . - add signals to ListView to inform the JournalActivity when a title edit starts and finish

[Sugar-devel] [PATCH Browse] Remove temporary downloaded (cancelled) files SL #3973

2012-10-01 Thread Manuel Kaufmann
When a download is cancelled for any reason WebKit leaves a temporary file called ".goutputstream-*" in the "instance" directory. This is because of a bug in GLib: * https://bugzilla.gnome.org/show_bug.cgi?id=629301 This patch is a workaround to that behaviour. Every time that Browse is started

Re: [Sugar-devel] ImageViewer gtk3 branch maintainership

2012-10-01 Thread Rafael Ortiz
On Fri, Sep 28, 2012 at 6:38 AM, Gonzalo Odiard wrote: > > > On Thu, Sep 27, 2012 at 6:03 PM, Aleksey Lim wrote: > >> On Wed, Sep 26, 2012 at 05:09:34PM -0300, Gonzalo Odiard wrote: >> > Hi Aleksey, >> > As the OLPC team approach the release of 13.1.0, >> > we are improving and testing the suppor

Re: [Sugar-devel] Hulahop Support

2012-10-01 Thread Daniel Drake
On Mon, Oct 1, 2012 at 10:17 AM, Daniel Castelo wrote: > Hi. In Uruguay we use the program JClic, one of the componentes of this > program required hulahop. > > Do you know if the library has support now? I know that the new Sugar > Browser is based on Webkit. Unfortunately its unsupported - a de

Re: [Sugar-devel] [PATCH 3/7] metadatastore: store/change files on disk defensively #2317

2012-10-01 Thread Martin Langhoff
On Mon, Oct 1, 2012 at 12:46 PM, Manuel Kaufmann wrote: > Sorry for the Top-Posting, maybe you didn't see the section that I > included in my last email. Ah, yeah, didn't catch that. > From that section I understand that we are encoding the data into > utf-8 if value is "unicode", but if it is j

Re: [Sugar-devel] [PATCH 3/7] metadatastore: store/change files on disk defensively #2317

2012-10-01 Thread Manuel Kaufmann
On Sun, Sep 30, 2012 at 3:10 PM, Manuel Kaufmann wrote: > The only thing that I do not understand well is this comment / > section. Can you explain to me this a bit more? Thanks > > > On Fri, Sep 21, 2012 at 12:55 AM, Martin Langhoff wrote: >> +# FIXME: this codepath handles raw image dat

Re: [Sugar-devel] [PATCH 3/7] metadatastore: store/change files on disk defensively #2317

2012-10-01 Thread Martin Langhoff
On Sun, Sep 30, 2012 at 2:10 PM, Manuel Kaufmann wrote: > The only thing that I do not understand well is this comment / > section. Can you explain to me this a bit more? Thanks What is unclear? The only thing I could add is a pre-amble: Previous code deleted all metadata entries for a given DS

[Sugar-devel] Hulahop Support

2012-10-01 Thread Daniel Castelo
Hi. In Uruguay we use the program JClic, one of the componentes of this program required hulahop. Do you know if the library has support now? I know that the new Sugar Browser is based on Webkit. Regards, Daniel -- Ing. Daniel Castelo Plan Ceibal - Área Técnica Avda. Italia 6201 Montevideo - U

Re: [Sugar-devel] [PATCH sugar-artwork] Use 0px radius in GtkToolButton prelight state

2012-10-01 Thread Manuel Quiñones
Hey Agus, What is the issue you are trying to fix? You must tell this in the commit message. If we change the border size in the different toolbutton states, is possible that they provoke a resize in the toolbar. 2012/9/23 Agustin Zubiaga : > Signed-off-by: Agustin Zubiaga > --- > gtk3/theme/

[Sugar-devel] [PATCH toolkit-gtk3] Alert: use GtkStyleContext instead of deprecated GtkStyle - SL #3907

2012-10-01 Thread Manuel Quiñones
Using the deprecated GtkStyle is giving an error [1] in the sugar alert. [1] http://bugs.sugarlabs.org/ticket/3907#comment:3 Signed-off-by: Manuel Quiñones --- src/sugar3/graphics/alert.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sugar3/graphics/alert.py b/src

[Sugar-devel] [PATCH artwork] Add border-redius to SugarTimeoutIcon - SL #3907

2012-10-01 Thread Manuel Quiñones
This make the timeout counter in the sugar alerts round again. Signed-off-by: Manuel Quiñones --- gtk3/theme/gtk-widgets.css.em | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em index 062acbe..f59fa5b 100644 --- a/gtk3/theme/gtk-wid

[Sugar-devel] Sugar Digest 2012-10-01

2012-10-01 Thread Walter Bender
== Sugar Digest == Saw this quote by William Faulkner that I couldn't resist tampering with: "I believe that [an educated] man will not merely endure: he will prevail." 1. The ''New York Times'' ran a article [1] on the front page of its business section on Monday about a handful of Microsoft eng

Re: [Sugar-devel] [PATCH 1/7] Add ds_clean flag to trigger index rebuilds #2095, #2317

2012-10-01 Thread Martin Langhoff
On Sun, Sep 30, 2012 at 12:24 PM, Manuel Kaufmann wrote: > On Fri, Sep 21, 2012 at 12:55 AM, Martin Langhoff wrote: >> This gives us more complete coverage of cases where ENOSPC or >> other errors are hit when creating/updating datastore entries. > > I reviewed this patch and I think it's OK. I d

Re: [Sugar-devel] [PATCH 4/7] metadatareader: ignore ".hidden" files

2012-10-01 Thread Martin Langhoff
On Mon, Oct 1, 2012 at 7:06 AM, Manuel Kaufmann wrote: > Just a comment: this patch removes the possibility to have a property > named "..property", right? is this OK? I hope it is. I don't know, I'm not an experienced Sugar hacker :-) What I can tell you is that I have never seen a property, in

[Sugar-devel] [PATCH shell] Journal: defocus the search entry by default

2012-10-01 Thread Manuel Quiñones
Do the same behavior as in the shell views, explained in detail in commit 1570f774 . - add signals to ListView to inform the JournalActivity when a title edit starts and finishes, to skip the autosearch when typing - make MainToolBox search_entry a public attribute to make it visible from Jou

Re: [Sugar-devel] [PATCH 4/7] metadatareader: ignore ".hidden" files

2012-10-01 Thread Gonzalo Odiard
> > > Just a comment: this patch removes the possibility to have a property > named "..property", right? is this OK? > > Is any activity setting a property that its name starts with "."? We > should check that and change its name. > > I think is better document this issue. Gonzalo > -- > Kaufma

Re: [Sugar-devel] [PATCH 4/7] metadatareader: ignore ".hidden" files

2012-10-01 Thread Manuel Kaufmann
On Fri, Sep 21, 2012 at 12:55 AM, Martin Langhoff wrote: > Ignore any file with a filename starting with a '.' -- metadatastore > writes its tempfiles prefixed with a '.' . This patch is OK for me. Just a comment: this patch removes the possibility to have a property named "..property", right? i