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

2012-09-20 Thread Simon Schampijer
Hmm, was slightly outdated your patch, but was easy to adapt, pushed thanks. Simon On 09/19/2012 10:26 PM, godi...@sugarlabs.org wrote: From: Gonzalo Odiard godi...@gmail.com This change is needed by the change done in sigar-toolkit-gtk3 Signed-off-by: Gonzalo Odiard gonz...@laptop.org ---

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

2012-09-20 Thread Simon Schampijer
Thanks for the patch. I did change the method name to set_icon_name to clearly overwrite that. Otherwise you would have been still able to do button.set_icon and button.set_icon_name. Pushed with these changes, Simon On 09/19/2012 10:25 PM, godi...@sugarlabs.org wrote: From: Gonzalo

[Sugar-devel] [PATCH shell] Journal: fix editing of title in listview

2012-09-20 Thread Simon Schampijer
From: Simon Schampijer si...@laptop.org gtk_tree_view_set_cursor_on_cell expects as well the cell renderer to be passed as argument [1]. [1] http://developer.gnome.org/gtk3/3.4/GtkTreeView.html#gtk-tree-view-set-cursor-on-cell Signed-off-by: Simon Schampijer si...@laptop.org ---

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

2012-09-20 Thread Kevin Mark
--- On Wed, 9/19/12, S. Daniel Francis fran...@sugarlabs.org wrote: From: S. Daniel Francis fran...@sugarlabs.org Subject: Re: [IAEP] [Sugar-devel] Sugar Digest 2012-09-18 To: Kevin Mark kevin.m...@verizon.net Cc: James Simmons nices...@gmail.com, iaep i...@lists.sugarlabs.org, Sugar-dev

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

2012-09-20 Thread Gary Martin
Hi Simon, Here's my original mockup for the summary text spacing/layout, should give a fair idea for the column proportions and white space between: http://wiki.sugarlabs.org/go/File:Home_list_view_comment_summary_mockup.png Regards, --Gary On 20 Sep 2012, at 09:01, Simon Schampijer

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

2012-09-20 Thread Simon Schampijer
On 09/20/2012 12:03 PM, Gary Martin wrote: Hi Simon, Here's my original mockup for the summary text spacing/layout, should give a fair idea for the column proportions and white space between: http://wiki.sugarlabs.org/go/File:Home_list_view_comment_summary_mockup.png Regards, --Gary

Re: [Sugar-devel] [PATCH shell] Journal: fix editing of title in listview

2012-09-20 Thread Manuel Quiñones
Perfect. Please push. 2012/9/20 Simon Schampijer si...@schampijer.de: From: Simon Schampijer si...@laptop.org gtk_tree_view_set_cursor_on_cell expects as well the cell renderer to be passed as argument [1]. [1]

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

2012-09-20 Thread Ignacio Rodríguez
Si claro :) 2012/9/17, Gonzalo Odiard gonz...@laptop.org: 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.

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

2012-09-20 Thread Simon Schampijer
That one looks good as well, please push. Simon On 09/20/2012 07:00 AM, Manuel Quiñones wrote: 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

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

2012-09-20 Thread Ignacio Rodríguez
... How odd. Do tried adding all end? (Pack_start)? 2012/9/20, Simon Schampijer si...@schampijer.de: That one looks good as well, please push. Simon On 09/20/2012 07:00 AM, Manuel Quiñones wrote: This fixes VolumePalette that is used in the Journal, and in the volume device icon. Had to

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

2012-09-20 Thread Manuel Quiñones
2012/9/20 Simon Schampijer si...@schampijer.de: That one looks good as well, please push. Pushed fixing the typo, thanks, Simon On 09/20/2012 07:00 AM, Manuel Quiñones wrote: This fixes VolumePalette that is used in the Journal, and in the volume device icon. Had to set the content

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

2012-09-20 Thread Dr. Gerald Ardito
Daniel and others, This thread has really inspired me. I am going to work with my students to develop Sugar activities. I have James' book. Are there other resources I need? Thanks. Gerald On Thu, Sep 20, 2012 at 4:16 AM, Kevin Mark kevin.m...@verizon.net wrote: --- On Wed, 9/19/12, S.

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

2012-09-20 Thread Walter Bender
On Thu, Sep 20, 2012 at 9:05 AM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Daniel and others, This thread has really inspired me. I am going to work with my students to develop Sugar activities. I have James' book. Are there other resources I need? I'd recommend using the Duplicate

[Sugar-devel] [ASLO] Release TurtleBots-16

2012-09-20 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4434 Sugar Platform: 0.90 - 0.98 Download Now: http://activities.sugarlabs.org/downloads/file/28222/turtlebots-16.xo Release notes: -fix forward distance for negative arguments -change the getVersion system - add initial call in butiaAPI

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

2012-09-20 Thread Dr. Gerald Ardito
Walter, Sounds good. Thanks. Gerald P.S. And congratulations on the pending new arrival. On Thu, Sep 20, 2012 at 9:12 AM, Walter Bender walter.ben...@gmail.com wrote: On Thu, Sep 20, 2012 at 9:05 AM, Dr. Gerald Ardito gerald.ard...@gmail.com wrote: Daniel and others, This thread has really

[Sugar-devel] [RELEASE] sugar-artwork-0.97.3

2012-09-20 Thread Manuel Quiñones
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-artwork/sugar-artwork-0.97.3.tar.bz2 == News == * Release 0.97.3 (Manuel Quiñones) * Style cursor handles (Manuel Quiñones) * Style intro screen - SL #3904 (Manuel Quiñones) * Use the same style as Browse in all

[Sugar-devel] [RELEASE] sugar-0.97.4

2012-09-20 Thread Simon Schampijer
The let's try if we are lucky today release. == Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar/sugar-0.97.4.tar.bz2 == News == * Release 0.97.4 (Simon Schampijer) * Intro window: remove unused variable and empty line (Manuel Quiñones) * Port Volume palette that has

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

2012-09-20 Thread S. Daniel Francis
2012/9/20 Kevin Mark kevin.m...@verizon.net: While I can't speak for Sugar Labs, this sound like a very good problems to address. Scratch has a website to 'upload' its programs. I would really love to see a way to help young sugar activity hacker have a place for them to 'hack' on their

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

2012-09-20 Thread godiard
From: Gonzalo Odiard godi...@gmail.com This summary is translatable aas the name and will be displayed in the activivity list in the home view. Signed-off-by: Gonzalo Odiard gonz...@laptop.org v2: remove installation_time because is not used anymore --- src/sugar3/activity/bundlebuilder.py |

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

2012-09-20 Thread godiard
From: Gonzalo Odiard godi...@gmail.com The listview and the favoritesview are sorted by the localized activity name instead of installation time. The installation time is not used anymore and was removed. The search is done now in the title and in the summary fields. The version column is moved

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

2012-09-20 Thread Martin Langhoff
This gives us more complete coverage of cases where ENOSPC or other errors are hit when creating/updating datastore entries. Without this patch, using the Journal on ENOSPC sometimes leads to an empty Journal after restart. Datastore entries exist on disk but are not in the index (Xapian DB).

[Sugar-devel] [PATCH 2/2] Remove invalid/corrupt on-disk entries #2317

2012-09-20 Thread Martin Langhoff
When operating close to ENOSPC, we sometimes end up with incomplete or invalid on-disk entries. So we prune these during index rebuild. --- src/carquinyol/datastore.py |7 +++ 1 file changed, 7 insertions(+) diff --git a/src/carquinyol/datastore.py b/src/carquinyol/datastore.py index

[Sugar-devel] [ASLO] Release Paint-45

2012-09-20 Thread Sugar Labs Activities
Activity Homepage: http://activities.sugarlabs.org/addon/4082 Sugar Platform: 0.98 - 0.98 Download Now: http://activities.sugarlabs.org/downloads/file/28225/paint-45.xo Release notes: Show the text color while editing - SL #3929 Radio tool buttons are bigger than they should - SL #3918 Text in

[Sugar-devel] Datastore vs ENOSPC patches, progress

2012-09-20 Thread Martin Langhoff
Things I am working on - Add ds_clean flag to trigger index rebuilds - patch posted for review - Remove invalid corrupt disk entries - patch posted for review - When hitting ENOSPC, use a tmpfs for index database -- working on it... m -- martin.langh...@gmail.com mar...@laptop.org --

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

2012-09-20 Thread James Simmons
Daniel, I did remember to try out your Activities last night. In addition to my XO I have several computers running different versions of Fedora, and that was what I used because it was a bit more convenient. I ended up using two different computers because the latest Fedora won't run Sugar

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

2012-09-20 Thread Bernie Innocenti
We're back in business. Let me know if anything didn't come back online. On Thu, 2012-09-20 at 00:26 -0400, Bernie Innocenti wrote: 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

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

2012-09-20 Thread Walter Bender
On Thu, Sep 20, 2012 at 12:34 PM, Bernie Innocenti ber...@codewiz.org wrote: We're back in business. Let me know if anything didn't come back online. thx -walter On Thu, 2012-09-20 at 00:26 -0400, Bernie Innocenti wrote: Tomorrow, Thursday 20 Sep 2012, between 9:30 and 12:30 eastern time,

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

2012-09-20 Thread Simon Schampijer
Yay! Thanks Bernie and everyone involved. You are the basis of our lab - kudos to the infra team! Simon On 09/20/2012 06:37 PM, Walter Bender wrote: On Thu, Sep 20, 2012 at 12:34 PM, Bernie Innocenti ber...@codewiz.org wrote: We're back in business. Let me know if anything didn't come back

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

2012-09-20 Thread S. Daniel Francis
2012/9/20 James Simmons nices...@gmail.com: Daniel, I did remember to try out your Activities last night. In addition to my XO I have several computers running different versions of Fedora, and that was what I used because it was a bit more convenient. I ended up using two different

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

2012-09-20 Thread Gonzalo Odiard
Great reply Daniel, We are proud of have you and other young hackers working in the project! Gonzalo On Wed, Sep 19, 2012 at 1:42 PM, S. Daniel Francis fran...@sugarlabs.orgwrote: 2012/9/19 James Simmons nices...@gmail.com: Walter, First, congrats on the grandchild. Second, I am

[Sugar-devel] [PATCH] Fix radiopalette due to api change in toolbotton

2012-09-20 Thread godiard
From: Gonzalo Odiard godi...@gmail.com Signed-off-by: Gonzalo Odiard gonz...@laptop.org --- src/sugar3/graphics/radiopalette.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sugar3/graphics/radiopalette.py b/src/sugar3/graphics/radiopalette.py index c2ff4f6..29f4159

[Sugar-devel] [PATCH 0/7] datastore: handle ENOSPC gracefully

2012-09-20 Thread Martin Langhoff
In conditions of very low disk space available, or ENOSPC, the datastore misbehaves grossly: - sometimes corrupts the index, and won't rebuild it, hiding valid entries from the user - if you edit an entry metadata, it will corrupt the whole entry - attempts at deleting entries fail, so

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

2012-09-20 Thread Martin Langhoff
This gives us more complete coverage of cases where ENOSPC or other errors are hit when creating/updating datastore entries. Without this patch, using the Journal on ENOSPC sometimes leads to an empty Journal after restart. Datastore entries exist on disk but are not in the index (Xapian DB).

[Sugar-devel] [PATCH 2/7] Remove invalid/corrupt on-disk entries #2317

2012-09-20 Thread Martin Langhoff
When operating close to ENOSPC, we sometimes end up with incomplete or invalid on-disk entries. So we prune these during index rebuild. Signed-off-by: Martin Langhoff mar...@laptop.org --- src/carquinyol/datastore.py |8 1 file changed, 8 insertions(+) diff --git

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

2012-09-20 Thread Martin Langhoff
Ignore any file with a filename starting with a '.' -- metadatastore writes its tempfiles prefixed with a '.' . Signed-off-by: Martin Langhoff mar...@laptop.org --- Note: this one needs a bit of testing. --- src/carquinyol/metadatareader.c |7 ++- 1 file changed, 2 insertions(+), 5

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

2012-09-20 Thread Martin Langhoff
- only delete metadata files for keys that are being removed - only write files when the data changes - write/replace metadata files atomically, to avoid corrupting existing data in case of an error With this patch, we no longer corrupt metadata when trying to edit/update a ds entry with

[Sugar-devel] [PATCH 5/7] indexstore: exit on _flush() errors, work on tmpdir

2012-09-20 Thread Martin Langhoff
Preparations for better index management. - open_index() now can place the index on a temporary location (ie: a tmpfs when low on diskspace or at ENOSPC) - don't set index_updated flag when on a temporary location - exit the process when hitting an error in _flush(). This is

[Sugar-devel] [PATCH 6/7] datastore: make delete() more reliable, log properly

2012-09-20 Thread Martin Langhoff
- use try/except to catch and log errors in datastore.log (instead of echoing them to callers over dbus) - use rmtree() to more reliably remove the entry - get_entry_path() before we delete all the related metadata. Signed-off-by: Martin Langhoff mar...@laptop.org ---

[Sugar-devel] [PATCH 7/7] datastore: handle low-disk and ENOSPC conditions gracefully

2012-09-20 Thread Martin Langhoff
With this commit, the datastore comes up even on ENOSPC and very tight disk conditions, and allows entry deletions even when at ENOSPC. - Be conservative - ds or index flags are dirty - rebuild - less than 5MB available - rebuild - migrated or upgraded - rebuild - Only skip an index

[Sugar-devel] [PATCH shell 1/2] Fix realize callback in ViewSource

2012-09-20 Thread Manuel Quiñones
Gtk.Widget does not have window property anymore, use get_window() Signed-off-by: Manuel Quiñones ma...@laptop.org --- src/jarabe/view/viewsource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jarabe/view/viewsource.py b/src/jarabe/view/viewsource.py index

[Sugar-devel] [PATCH shell 2/2] Journal details view, fix get_text method in text buffers - SL #3920

2012-09-20 Thread Manuel Quiñones
Gtk.TextBuffer.get_text() needs new parameter include_hidden_chars, setting it to False the given text excludes undisplayed text (text marked with tags that set the invisibility attribute) [1] [1] http://developer.gnome.org/gtk/2.24/GtkTextBuffer.html#gtk-text-buffer-get-text Signed-off-by: