Re: [Sugar-devel] Keyboard navigability of the Sugar UI

2010-05-01 Thread Bernie Innocenti
El Sat, 01-05-2010 a las 01:05 -0300, Gonzalo Odiard escribió: I would like to work with 0.84 and port to 0.90. At Paraguay Educa we've been also focusing a lot on 0.84 lately. However, I'm starting to worry the history will repeat once again: many deployments have been patching 0.82 with fixes

[Sugar-devel] [PATCH] battery frame device: replace HAL with UPower

2010-05-01 Thread Sascha Silbe
HAL is deprecated, UPower is the designated replacement w.r.t. power supplies. As a bonus the time displayed is now correct (calculated at run-time by UPower, self-adjusting to changes in power consumption). Tested on XO-1 running Debian Squeeze with stock UPower (0.9.2-1) and kernel patches that

[Sugar-devel] [RFC PATCH 1/2] Add ctime and timestamp properties to the index.

2010-05-01 Thread Andrés Ambrois
Signed-off-by: Andrés Ambrois andresambr...@gmail.com --- src/carquinyol/datastore.py | 22 -- src/carquinyol/indexstore.py | 17 + 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/src/carquinyol/datastore.py b/src/carquinyol/datastore.py

[Sugar-devel] [RFC PATCH 2/2] Add migration from DS v0 code for the new properties.

2010-05-01 Thread Andrés Ambrois
Signed-off-by: Andrés Ambrois andresambr...@gmail.com --- src/carquinyol/migration.py | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/carquinyol/migration.py b/src/carquinyol/migration.py index 95ee391..80adbae 100644 --- a/src/carquinyol/migration.py +++

[Sugar-devel] [RFC PATCH 2/2] Implement migration for the two new properties (filesize and ctime). Increment CURRENT_LAYOUT_VERSION.

2010-05-01 Thread Andrés Ambrois
Signed-off-by: Andrés Ambrois andresambr...@gmail.com --- src/carquinyol/layoutmanager.py |2 +- src/carquinyol/migration.py | 21 + 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/src/carquinyol/layoutmanager.py b/src/carquinyol/layoutmanager.py

Re: [Sugar-devel] [RFC PATCH 2/2] Implement migration for the two new properties (filesize and ctime). Increment CURRENT_LAYOUT_VERSION.

2010-05-01 Thread Andrés Ambrois
On Saturday 01 May 2010 03:52:46 pm Andrés Ambrois wrote: Signed-off-by: Andrés Ambrois andresambr...@gmail.com --- src/carquinyol/layoutmanager.py |2 +- src/carquinyol/migration.py | 21 + 2 files changed, 18 insertions(+), 5 deletions(-) Sigh. Disregard

[Sugar-devel] [RFC PATCH] Increment CURRENT_LAYOUT_VERSION to trigger an index rebuild.

2010-05-01 Thread Andrés Ambrois
This one was suppoused to be in the previous series. I will resend the whole patchset once review is complete. Signed-off-by: Andrés Ambrois andresambr...@gmail.com --- src/carquinyol/layoutmanager.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[Sugar-devel] [RFC PATCH v0 0/8] Journal sorting by file size and creation time.

2010-05-01 Thread Andrés Ambrois
This patchset implements sorting in the Journal UI as described in [0]. This feature was requested in [1] and sponsored by Activity Central [2]. Sorting by filesize is vital in the field where users need to free up disk space. Currently, the only way to find candidates for deletion is to access

[Sugar-devel] [RFC PATCH 1/8] Journal: Retrieve ctime and filesize from the datastore.

2010-05-01 Thread Andrés Ambrois
Add the two new properties (ctime and filesize) to the list of properties we ask the datastore for. Signed-off-by: Andrés Ambrois andresambr...@gmail.com --- src/jarabe/journal/model.py |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jarabe/journal/model.py

[Sugar-devel] [RFC PATCH 2/8] Add ctime and filesize columns to the journal list model.

2010-05-01 Thread Andrés Ambrois
Add two columns to the ListModel. This will make it easy to display the values we are sorting by by simply associating the cell renderer with one of them. Signed-off-by: Andrés Ambrois andresambr...@gmail.com --- src/jarabe/journal/listmodel.py | 22 -- 1 files changed, 16

[Sugar-devel] [RFC PATCH 3/8] Add add_separator method for convenience.

2010-05-01 Thread Andrés Ambrois
Signed-off-by: Andrés Ambrois andresambr...@gmail.com --- src/jarabe/journal/journaltoolbox.py | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/jarabe/journal/journaltoolbox.py b/src/jarabe/journal/journaltoolbox.py index 61671bc..7466461 100644 ---

[Sugar-devel] [RFC PATCH 4/8] Add a ListViewButton to the journal search toolbar.

2010-05-01 Thread Andrés Ambrois
Add a button to display the sorting options. Create a sort-property-changed signal in the toolbar to notify the activity of changes. Use a RadioToolButton for a future implementation of multiple journal views (as described in the Journal Design Proposal). Signed-off-by: Andrés Ambrois

[Sugar-devel] [RFC PATCH 7/8] Call sort_by in the list view when sorting is selected in the toolbar.

2010-05-01 Thread Andrés Ambrois
Connect the sort-property-changed signal in the toolbar to the sort_by method the view. Signed-off-by: Andrés Ambrois andresambr...@gmail.com --- src/jarabe/journal/journalactivity.py |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git

[Sugar-devel] [RFC PATCH 6/8] Add sort_by method to the journal list view.

2010-05-01 Thread Andrés Ambrois
This method triggers the actual sorting. This is done by placing a 'order_by' value in the query, and calling the datastore to retrieve the sorted data set. The sort_column is also modified to display the property we are sorting by. Signed-off-by: Andrés Ambrois andresambr...@gmail.com ---

[Sugar-devel] [RFC PATCH 8/8] Expandedentry: Try to use the filesize property.

2010-05-01 Thread Andrés Ambrois
Instead of calling the datastore again. Signed-off-by: Andrés Ambrois andresambr...@gmail.com --- src/jarabe/journal/expandedentry.py |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jarabe/journal/expandedentry.py b/src/jarabe/journal/expandedentry.py index