[Sugar-devel] [PATCH sugar-toolkit-gtk3] Move the translation initialisation to an earlier stage, SL #3654

2012-06-04 Thread Simon Schampijer
Must be done early, some activities set translations globally. To not depend on gconf at this stage the shell does set an env variable when reading the GConf key. Signed-off-by: Simon Schampijer si...@laptop.org --- bin/sugar-activity |8 src/sugar3/activity/activity.py

Re: [Sugar-devel] SUGAR_LANGPACKDIR

2012-06-04 Thread Simon Schampijer
On 06/04/2012 07:04 PM, Bert Freudenberg wrote: On 04.06.2012, at 18:51, Simon Schampijer wrote: +langpackdir = client.get_string('/desktop/sugar/i18n/langpackdir') +if langpackdir is not None and langpackdir: +os.environ['SUGAR_LANGPACKDIR'] = langpackdir How should

Re: [Sugar-devel] Compiling sugar with jhbuild in Fedora 17

2012-06-04 Thread Simon Schampijer
On 06/04/2012 09:14 PM, Manuel Kaufmann wrote: On Mon, Jun 4, 2012 at 7:53 AM, Manuel Kaufmannhumi...@gmail.com wrote: I'm dealing with this problem now. I couldn't compile and run Sugar Jhbuild in my new Fedora 17 installation. Here is my shell.log: http://fpaste.org/L67g/ I had to skip two

Re: [Sugar-devel] [REMINDER] Development team meeting --- 05. June 2012 (15:00 UTC)

2012-06-04 Thread Simon Schampijer
Oups, it should have been the Tuesday the 5th! On 06/04/2012 06:08 PM, Simon Schampijer wrote: Hi, tomorrow we will have our weekly development team meeting after a few weeks of absence, the topics will be: - introducing new contributors - celebrating 0.96 release, what is left to do?, where

Re: [Sugar-devel] [PATCH Browse] Show the correct window title SL #3581

2012-06-01 Thread Simon Schampijer
On 06/01/2012 03:23 AM, Manuel Kaufmann wrote: On Thu, May 31, 2012 at 10:22 PM, Manuel Kaufmannhumi...@gmail.com wrote: Set the title every time that the page title changes. This patch works but I would like to put this line in the webactivity.py file, because that file should manage this

Re: [Sugar-devel] [PATCH Read] Show bookmark in the first page SL #3662

2012-06-01 Thread Simon Schampijer
Thanks Manuel for the patch. The patch does work for me. Gonzalo knows better the Read code to do a proper review. Tested-by: Simon Schampijer si...@laptop.org On 05/31/2012 05:08 PM, Manuel Kaufmann wrote: Show the bookmark for the first page (if any) in the sidebar when the file

Re: [Sugar-devel] [PATCH sugar-artwork] Theme GtkSpinButton buttons SL #3406

2012-06-01 Thread Simon Schampijer
Thanks Manuel for the patch! I commented about the design in: http://bugs.sugarlabs.org/ticket/3406#comment:7 Regards, Simon On 05/30/2012 08:08 PM, Manuel Quiñones wrote: This patch sets border radius to the buttons, so the layout is like (value [-][+)) . Also removes two unneeded

Re: [Sugar-devel] [PATCH sugar-toolkit-gtk3] ToolButton: add 'icon_name' as a GObject property SL #3658

2012-06-01 Thread Simon Schampijer
On 06/01/2012 03:51 PM, Manuel Quiñones wrote: Sugar ToolButton inherits from Gtk.ToolButton but is not overwriting 'icon_name' property. So 'icon_name' can be passed to the constructor of Sugar ToolButton but the result is different than setting it via ToolButton.props.icon_name.

Re: [Sugar-devel] [PATCH sugar-toolkit] ToolButton: add 'icon_name' as a GObject property SL #3658

2012-06-01 Thread Simon Schampijer
On 06/01/2012 03:54 PM, Manuel Quiñones wrote: Sugar ToolButton inherits from Gtk.ToolButton but is not overwriting 'icon_name' property. So 'icon_name' can be passed to the constructor of Sugar ToolButton but the result is different than setting it via ToolButton.props.icon_name.

Re: [Sugar-devel] [PATCH sugar-toolkit] Display spinner cursor when saving after closing the activity, OLPC #11691

2012-06-01 Thread Simon Schampijer
On 05/30/2012 11:54 AM, Simon Schampijer wrote: Signed-off-by: Simon Schampijersi...@laptop.org Reviewed-by: Daniel Draked...@laptop.org Tested-by: Manuel Quiñonesma...@laptop.org --- src/sugar/activity/activity.py |1 + 1 file changed, 1 insertion(+) diff --git a/src/sugar/activity

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

2012-06-01 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-artwork/sugar-artwork-0.96.3.tar.bz2 == News == * Release 0.96.3 (Simon Schampijer) * Theme Tooltips like Palettes, SL #3403 (Simon Schampijer) * Fix artifacts in share button, SL #3387 (Simon Schampijer

[Sugar-devel] [RELEASE] sugar-toolkit-0.96.2

2012-06-01 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-toolkit/sugar-toolkit-0.96.2.tar.bz2 == News == * Release 0.96.2 (Simon Schampijer) * Activity Toolbar Description input field wrap text, SL #3586 (Gary C. Martin) * ToolButton: add 'icon_name' as a GObject property SL

[Sugar-devel] [RELEASE] sugar-toolkit-gtk3-0.96.2

2012-06-01 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-toolkit-gtk3/sugar-toolkit-gtk3-0.96.2.tar.bz2 == News == * Release 0.96.2 (Simon Schampijer) * Adding mime.py to POTFILES.in (Simon Schampijer) * Activity Toolbar Description input field wrap text, SL #3586 (Gary C Martin

[Sugar-devel] [PATCH sugar-artwork] Theme Tooltips like Palettes, SL #3403

2012-05-31 Thread Simon Schampijer
Theme the tooltips with a black background and a button_grey border and white text on it to have the same style as Palettes. An example is the tooltip displayed for bookmarks in the Read activity. Signed-off-by: Simon Schampijer si...@laptop.org --- gtk3/theme/gtk-widgets.css.em | 11

[Sugar-devel] [PATCH sugar-toolkit-gtk3] Display spinner cursor when saving after closing the activity, OLPC #11691

2012-05-30 Thread Simon Schampijer
Signed-off-by: Simon Schampijer si...@laptop.org Reviewed-by: Daniel Drake d...@laptop.org Tested-by: Manuel Quiñones ma...@laptop.org --- src/sugar3/activity/activity.py |1 + 1 file changed, 1 insertion(+) diff --git a/src/sugar3/activity/activity.py b/src/sugar3/activity/activity.py index

[Sugar-devel] [ANNOUNCE] Sugar 0.96 - make it official

2012-05-22 Thread Simon Schampijer
== Introduction == Sugar 0.96 is the new version of the Sugar learning platform. It was released the 30th of April 2012 (see [1] 0.96 schedule for details). The main changes in this cycle was the introduction of the new sugar-toolkit-gtk3 which is the sugar-toolkit ported to use GTK+ 3 and

Re: [Sugar-devel] [PATCH 1/2] Fix for displaying filename in untitled PDFs SL #3597

2012-05-22 Thread Simon Schampijer
On 05/21/2012 06:15 PM, Manuel Quiñones wrote: This patch moves the line that sets the title to the filename of the PDF, so we display Loading... until we know the title, and if title is None, we show the filename. Signed-off-by: Manuel Quiñonesma...@laptop.org --- pdfviewer.py |4 ++--

Re: [Sugar-devel] Installing sugar-jhbuild in F17

2012-05-18 Thread Simon Schampijer
On 05/16/2012 12:34 PM, Manuel Kaufmann wrote: On Wed, May 16, 2012 at 6:56 AM, Simon Schampijersi...@schampijer.de wrote: Having installed all the deps, I built sugar and run it fine. And what's about Telepathy? Did you have to skip it in jhbuild process or it's not tried to be compiled at

Re: [Sugar-devel] [PATCH Sugar] Inhibit power suspend while playing text to speech - OLPC #11830

2012-05-18 Thread Simon Schampijer
On 05/09/2012 05:56 PM, Paul Fox wrote: gonzalo wrote: On Wed, May 9, 2012 at 12:42 PM, Paul Foxp...@laptop.org wrote: i would much prefer that we could prevent suspend during any audio playback, rather than have to have anyone that wants to make noise do it

Re: [Sugar-devel] [PATCH Sugar] Inhibit power suspend while playing text to speech - OLPC #11830

2012-05-18 Thread Simon Schampijer
Ok, so I am still not clear on the whys. Why does the machine suspend when there is audio being played back? That sounds wrong to me. It would be the same as suspending why I am moving the mouse. Can someone provide some background information on this? Regards, Simon On 05/17/2012 08:08

Re: [Sugar-devel] [PATCH Sugar] Inhibit power suspend while playing text to speech - OLPC #11830

2012-05-18 Thread Simon Schampijer
Hi Paul, thanks again for getting back on this! On 05/18/2012 03:10 PM, Paul Fox wrote: simon wrote: On 05/09/2012 05:56 PM, Paul Fox wrote: gonzalo wrote: On Wed, May 9, 2012 at 12:42 PM, Paul Foxp...@laptop.org wrote: i would much prefer that we

Re: [Sugar-devel] [PATCH Sugar] Close audio device after text to speech - OLPC #11829

2012-05-07 Thread Simon Schampijer
On 05/04/2012 11:34 PM, godi...@sugarlabs.org wrote: From: Gonzalo Odiardgodi...@gmail.com In xo with alsa, if we keep opened the audio device after doing tts, other activities can't use it. We need close the device after the eof message is received, because the message came a little before the

Re: [Sugar-devel] [PATCH Browse v2] Use user's LANG for search results SL #3445

2012-05-04 Thread Simon Schampijer
On 05/04/2012 02:38 PM, Manuel Kaufmann wrote: When the user types a string that is not like an url, we use Google to search that string with the results in the language defined by LANG environment variable. Signed-off-by: Manuel Kaufmannhumi...@gmail.com Thanks for the update, looks good

[Sugar-devel] [RELEASE] sugar-toolkit-0.96.1

2012-05-04 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-toolkit/sugar-toolkit-0.96.1.tar.bz2 == News == * Release 0.96.1 (Simon Schampijer) Translation updates: * Push many files from Pootle (Pootle daemon) * Commit from Sugar Labs: Translation System by user cjl.: 37 of 37

[Sugar-devel] [RELEASE] sugar-toolkit-gtk3-0.96.1

2012-05-04 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-toolkit-gtk3/sugar-toolkit-gtk3-0.96.1.tar.bz2 == News == * Release 0.96.1 (Simon Schampijer) * Tray: set a minimum size in the viewport so that it allows scrolling (Carlos Garnacho

Re: [Sugar-devel] [PATCH Browse] Graphic for the cancel loading button in the URL entry changed #3499

2012-05-02 Thread Simon Schampijer
On 04/27/2012 11:58 AM, Manuel Quiñones wrote: Now features a square black background, to distingish it from the upcoming clear URL entry button. Signed-off-by: Manuel Quiñonesma...@laptop.org Hi Manu, thanks for the patch, I commented on the visual aspect in

Re: [Sugar-devel] [PATCH sugar] Create a default unencrypted keyring, OLPC #10290

2012-05-02 Thread Simon Schampijer
Thanks Sascha for commenting, On 04/23/2012 11:13 PM, Sascha Silbe wrote: Excerpts from Simon Schampijer's message of 2012-04-16 12:33:05 +0200: This patch does create an ununcrypted default keyring if there is not one available already. This will stop prompts for unlocking the keyring after

Re: [Sugar-devel] [PATCH] Add description item to the toolbar if available - SL# 3525

2012-04-30 Thread Simon Schampijer
On 04/28/2012 06:23 PM, Aleksey Lim wrote: On Thu, Apr 26, 2012 at 09:24:24AM -0300, godi...@sugarlabs.org wrote: From: Gonzalo Odiardgodi...@gmail.com The activity have a custom toolbar, then need add the DescriptionItem to implement the feature Write to Journal Anytime

Re: [Sugar-devel] [PATCH Browse] Zoom full content, not just text SL #3541

2012-04-30 Thread Simon Schampijer
Works as expected. Side note: I see a glitch on the XO (1.5), when zooming in several times in wikipedia the content frame gets a blue background. Could reproduce as well with epiphany on the XO. Could not see it on my laptop. On 04/29/2012 05:36 PM, Manuel Quiñones wrote: As previous

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

2012-04-30 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-artwork/sugar-artwork-0.96.1.tar.bz2 == News == * Release 0.96.1 (Simon Schampijer) * Set notebook padding to 0px in the GTK3 CSS, SL #3482 (Manuel Quiñones) ___ Sugar-devel

Re: [Sugar-devel] [PATCH Browse] Handle new windows request and instead open links in new tabs #3507

2012-04-27 Thread Simon Schampijer
Great, thanks for the patch, works as expected, * http://dev.laptop.org/~erikos/wanted.html opens a new tab * http://dev.laptop.org/~erikos/unwanted.html is blocked Acked, please push. Regards, Simon On 04/25/2012 08:55 PM, Manuel Quiñones wrote: Browse being a Sugar activity only has

Re: [Sugar-devel] [PATCH Browse] Fix for authentication with school server f6dd764abd7c160e6188757b8e61cd01062a92c6 #3456

2012-04-27 Thread Simon Schampijer
This patch looks good. And I applied it and do not see any regressions at least. Can we get it tested with the school server? Sam can you have a look if this is the final result we would like to see? Regards, Simon On 04/26/2012 11:31 PM, Manuel Quiñones wrote: The cookie is now

Re: [Sugar-devel] [PATCH Browse] Fix for authentication with school server f6dd764abd7c160e6188757b8e61cd01062a92c6 #3456

2012-04-27 Thread Simon Schampijer
On 04/27/2012 06:38 PM, Manuel Quiñones wrote: Hi Simon, El día 27 de abril de 2012 12:19, Simon Schampijer si...@schampijer.de escribió: This patch looks good. And I applied it and do not see any regressions at least. Can we get it tested with the school server? Sam can you have a look

Re: [Sugar-devel] [PATCH Browse] Catch None value for url and set empty string in the URL entry #3476

2012-04-27 Thread Simon Schampijer
On 04/27/2012 03:19 PM, Manuel Quiñones wrote: Signed-off-by: Manuel Quiñonesma...@laptop.org --- webtoolbar.py |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/webtoolbar.py b/webtoolbar.py index 654f720..b49cf5a 100644 --- a/webtoolbar.py +++ b/webtoolbar.py @@

Re: [Sugar-devel] [PATCH] When a object is removed from the clipboard try, select the last available v3 - SL #1266

2012-04-27 Thread Simon Schampijer
Great, looks good to me as well, pushed as 4da551e9bc1d54b19b29cd9abaedb73e7c6612e8 Regards, Simon On 04/24/2012 02:50 PM, Anish Mangal wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue 24 Apr 2012 04:48:27 PM IST, godi...@sugarlabs.org wrote: From: Gonzalo

Re: [Sugar-devel] [PATCH] Add the DescriptionItem if available

2012-04-26 Thread Simon Schampijer
On 04/26/2012 02:10 PM, Manuel Kaufmann wrote: On Thu, Apr 26, 2012 at 09:06,godi...@sugarlabs.org wrote: +except: +pass + I think you should avoid except: catching all the exception possible there. Instead of this you should use except ImportError: in this case. We

[Sugar-devel] [PATCH sugar] Control Panel: adjust year to 2012 for the Copyright in the about my computer section

2012-04-26 Thread Simon Schampijer
This is not a translated string, no string freeze break is taking place. Signed-off-by: Simon Schampijer si...@laptop.org --- extensions/cpsection/aboutcomputer/view.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/extensions/cpsection/aboutcomputer/view.py b

Re: [Sugar-devel] [PATCH] Add the DescriptionItem if available

2012-04-26 Thread Simon Schampijer
On 04/26/2012 02:51 PM, Simon Schampijer wrote: On 04/26/2012 02:10 PM, Manuel Kaufmann wrote: On Thu, Apr 26, 2012 at 09:06,godi...@sugarlabs.org wrote: + except: + pass + I think you should avoid except: catching all the exception possible there. Instead of this you should use except

Re: [Sugar-devel] [PATCH sugar] Control Panel: adjust year to 2012 for the Copyright in the about my computer section

2012-04-26 Thread Simon Schampijer
On 04/26/2012 03:10 PM, Anish Mangal wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu 26 Apr 2012 06:38:10 PM IST, Gonzalo Odiard wrote: On a related note (About My Computer) section, the contents of 'info_text' in sugar/extensions/cpsection/view.py are gettexted.

Re: [Sugar-devel] [PATCH sugar] Control Panel: adjust year to 2012 for the Copyright in the about my computer section

2012-04-26 Thread Simon Schampijer
On 04/26/2012 03:10 PM, Anish Mangal wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu 26 Apr 2012 06:38:10 PM IST, Gonzalo Odiard wrote: On a related note (About My Computer) section, the contents of 'info_text' in sugar/extensions/cpsection/view.py are gettexted.

Re: [Sugar-devel] [PATCH] Add description item to the toolbar if available - SL# 3525

2012-04-26 Thread Simon Schampijer
On 04/26/2012 02:24 PM, godi...@sugarlabs.org wrote: From: Gonzalo Odiardgodi...@gmail.com The activity have a custom toolbar, then need add the DescriptionItem to implement the feature Write to Journal Anytime http://wiki.sugarlabs.org/go/Features/Write_to_journal_anytime Signed-off-by:

Re: [Sugar-devel] [PATCH sugar-artwork] Set notebook padding to 0px in the GTK3 CSS #3482

2012-04-26 Thread Simon Schampijer
On 04/24/2012 06:40 PM, Manuel Quiñones wrote: This removes the 2 pixel padding that was around all the notebook page, preventing a confortable use of the scroll bar with the mouse pointer, as #3482 describes. Signed-off-by: Manuel Quiñonesma...@laptop.org --- gtk3/theme/gtk-widgets.css.em |

Re: [Sugar-devel] sugar.po string change

2012-04-24 Thread Simon Schampijer
No, please no backporting. I did not see that string landing. We are in string freeze as well for 0.95 so the addition should be reverted in both the 0.94 and the 0.96 branch. Regards, Simon Am 24.04.2012 um 07:49 schrieb Chris Leonard cjlhomeaddr...@gmail.com: Ok, that is a sensible

[Sugar-devel] [REMINDER] Development team meeting --- 24. April 2012 (15:00 UTC)

2012-04-24 Thread Simon Schampijer
Hi, today we will have our weekly development team meeting: This will basically be a 0.96 go/no meeting. Bring your favorite bug to the meeting and we can see if it blocks the release. Time: 24. April 2012 (15:00 UTC) Place: #sugar-meeting (freenode) Regards, Simon

[Sugar-devel] [MINUTES] Development team meeting --- 24. April 2012 (15:00 UTC)

2012-04-24 Thread Simon Schampijer
Hi, so today we decided that we release Sugar 0.96 now! I will create tarballs from what we have and schedule a bug fix release. The detailed reasoning can be found in [1] and [2], in short: we would like to have had more testing to have a better ground for basing our evaluation on, but we

[Sugar-devel] [RELEASE] sugar-toolkit-0.96.0

2012-04-24 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-toolkit/sugar-toolkit-0.96.0.tar.bz2 == News == * Release 0.96.0 (Simon Schampijer) * Remove the Naming Alert (Gonzalo Odiard) * Add DescriptionEntry to the activity sub-toolbar (Gonzalo Odiard) * Push many files from

[Sugar-devel] [RELEASE] sugar-toolkit-gtk3-0.96.0

2012-04-24 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-toolkit-gtk3/sugar-toolkit-gtk3-0.96.0.tar.bz2 == News == * Release 0.96.0 (Simon Schampijer) * Push many files from Pootle (Pootle daemon) * Commit from Sugar Labs: Translation System by user cjl.: 35 of 35 messages

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

2012-04-24 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-artwork/sugar-artwork-0.96.0.tar.bz2 == News == * Release 0.96.0 (Simon Schampijer) * Set proper colors in the SugarAlert message text and timeout text #3475 (Manuel Quiñones

[Sugar-devel] [RELEASE] sugar-0.96.0

2012-04-24 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar/sugar-0.96.0.tar.bz2 == News == * Release 0.96.0 (Simon Schampijer) * Update Sucrose version for upcoming 0.96.0 (Simon Schampijer) * Commit from Sugar Labs: Translation System by user cjl.: 212 of 390 messages translated

[Sugar-devel] [RELEASE] sugar-base-0.96.0

2012-04-24 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-base/sugar-base-0.96.0.tar.bz2 == News == * Release 0.96.0 (Simon Schampijer) * Push many files from Pootle (Pootle daemon) * Update ALL_LINGUAS (Simon Schampijer) * Commit from Sugar Labs: Translation System by user

[Sugar-devel] [RELEASE] sugar-datastore-0.96.0

2012-04-24 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-datastore/sugar-datastore-0.96.0.tar.bz2 == News == * Release 0.96.0 (Simon Schampijer) ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org

Re: [Sugar-devel] [PATCH] Only add one time every object in the clipboard v3 - SL #3371

2012-04-23 Thread Simon Schampijer
On 04/20/2012 11:01 PM, Anish Mangal wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat 21 Apr 2012 02:23:57 AM IST, Gonzalo Odiard wrote: * Also, as the ticket mentions, if an already existing clipboard entry is selected, it isn't moved visually to the bottom of the list.

Re: [Sugar-devel] [PATCH sugar] Create a default unencrypted keyring, OLPC #10290

2012-04-23 Thread Simon Schampijer
On 04/16/2012 12:33 PM, Simon Schampijer wrote: This patch does create an ununcrypted default keyring if there is not one available already. This will stop prompts for unlocking the keyring after logging into Sugar. In GNOME the session manager deals with creating that keyring. In the OLPC

[Sugar-devel] [PATCH] Remove Extreme Power Management control panel option, OLPC #11671

2012-04-23 Thread Simon Schampijer
From: Simon Schampijer si...@laptop.org It is currently (as of OS11.x series) inoperative. Disabling the wireless radio (from the network panel) is the knob to turn to get the desired result. Signed-off-by: Simon Schampijer si...@laptop.org --- extensions/cpsection/power/model.py | 30

Re: [Sugar-devel] [PATCH 1/2] Backport Add DescriptionEntry to the activity sub-toolbar from sugar-toolkit-gtk3

2012-04-20 Thread Simon Schampijer
Dumb question. The patch title says 'Backport', so which version of sugar is this being backported to ;) - -- Anish Hi Anish, it means a backport from sugar-toolkit-gtk3 to the sugar-toolkit. The feature landed only in sugar-toolkit-gtk3 so far, so only activities that are ported to the

Re: [Sugar-devel] [PATCH 1/2] Backport Add DescriptionEntry to the activity sub-toolbar from sugar-toolkit-gtk3

2012-04-20 Thread Simon Schampijer
On 04/19/2012 09:21 PM, godi...@sugarlabs.org wrote: From: Gonzalo Odiardgodi...@gmail.com This is the implementation of the 'Write to Journal anytime' feature [1]. The patch itself adds a DescriptionItem to the activity sub-toolbar to make editing a Journal entry description from within the

Re: [Sugar-devel] [PATCH sugar] Fix shortcut for view source

2012-04-20 Thread Simon Schampijer
On 04/19/2012 04:16 PM, Daniel Drake wrote: On Mon, Apr 16, 2012 at 8:02 AM, Sascha Silbesi...@activitycentral.com wrote: Excerpts from Simon Schampijer's message of 2012-04-16 10:42:39 +0200: [extensions/globalkey/viewsource.py] -BOUND_KEYS = ['0xEC', 'altshiftv'] +BOUND_KEYS =

Re: [Sugar-devel] [PATCH] Draw accelerator in Palette SL #3459

2012-04-20 Thread Simon Schampijer
On 04/19/2012 04:41 PM, Daniel Drake wrote: On Wed, Apr 18, 2012 at 2:35 PM, Simon Schampijersi...@schampijer.de wrote: The accelerator in the primary information in the Palette has not been drawn because there was not enough space reserved for it. The preferred size we get back for the

Re: [Sugar-devel] [PATCH] Draw border for palette all the time SL #3383

2012-04-20 Thread Simon Schampijer
On 04/19/2012 04:24 PM, Daniel Drake wrote: On Wed, Apr 18, 2012 at 2:46 PM, Simon Schampijersi...@schampijer.de wrote: gtk_render_frame_gap [1] does expect an initial and an end coordinate for the gap. paint_box_gap [2] which we used before expected a starting position of the gap and the

Re: [Sugar-devel] [PATCH] When a object is removed from the clipboard try, select the last available - SL #1266

2012-04-20 Thread Simon Schampijer
On 04/19/2012 04:27 PM, godi...@sugarlabs.org wrote: From: Gonzalo Odiardgodi...@gmail.com Signed-off-by: Gonzalo Odiardgonz...@laptop.org --- src/jarabe/frame/clipboardtray.py |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/jarabe/frame/clipboardtray.py

Re: [Sugar-devel] [PATCH] Only add one time every object in the clipboard v3 - SL #3371

2012-04-20 Thread Simon Schampijer
Great both new versions of your patches do what they describe they would do :) There is one trace in the shell.log related to the clipboard when the clipboard owner changes, a TypeError, targets is None. Please have a look at it, all the rest looks already really good. Regards, Simon

Re: [Sugar-devel] [PATCH Browse] Remove disable tabs hack

2012-04-20 Thread Simon Schampijer
Looks good, please push. Regards, Simon On 04/20/2012 04:11 PM, Manuel Quiñones wrote: This is not be useful anymore, was a bug related to xulrunner and cairo. Signed-off-by: Manuel Quiñonesma...@laptop.org --- webactivity.py | 16 +--- 1 files changed, 1 insertions(+), 15

Re: [Sugar-devel] [PATCH sugar-artwork] Set proper colors in the SugarAlert message text and timeout text #3475

2012-04-20 Thread Simon Schampijer
Thanks for that one, please push. Now we only need to fix the size of the TimeoutIcon which is slightly bigger than the other ones (but not as part of this patch). Regards, Simon On 04/20/2012 04:12 PM, Manuel Quiñones wrote: Signed-off-by: Manuel Quiñonesma...@laptop.org ---

[Sugar-devel] [RELEASE] sugar-toolkit-gtk3-0.95.6

2012-04-19 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-toolkit-gtk3/sugar-toolkit-gtk3-0.95.6.tar.bz2 == News == * Release 0.95.6 (Simon Schampijer) * Draw accelerator in Palette SL #3459 (Simon Schampijer) * Draw border for palette all the time SL #3383 (Simon Schampijer

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

2012-04-19 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-artwork/sugar-artwork-0.95.5.tar.bz2 == News == * Release 0.95.5 (Simon Schampijer) * Bring back the icon edir-description, SL #3384 (Simon Schampijer) ___ Sugar-devel mailing

[Sugar-devel] [RELEASE] sugar-0.95.7

2012-04-19 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar/sugar-0.95.7.tar.bz2 == News == * Release 0.95.7 (Simon Schampijer) * Update Sucrose version for upcoming 0.95.7 (Simon Schampijer) * Prevent handling network devices twice (OLPC#11782) (Daniel Drake) * Touchpad icon

[Sugar-devel] [PATCH] Draw accelerator in Palette SL #3459

2012-04-18 Thread Simon Schampijer
size. In order to make that information available which is part of the Palette class we need to pass the instance to the PaletteWindowWidget instance. Signed-off-by: Simon Schampijer si...@laptop.org --- src/sugar3/graphics/palette.py | 15 +-- src/sugar3/graphics

[Sugar-devel] [PATCH] Draw border for palette all the time SL #3383

2012-04-18 Thread Simon Schampijer
and the width of the gap. Signed-off-by: Simon Schampijer si...@laptop.org [1] http://developer.gnome.org/gtk3/3.0/GtkStyleContext.html#gtk-render-frame-gap [2] http://developer.gnome.org/gtk/2.24/GtkStyle.html#gtk-paint-box-gap --- src/sugar3/graphics/palettewindow.py |4 ++-- 1 files changed

Re: [Sugar-devel] [PATCH] Prevent handling network devices twice (OLPC#11782)

2012-04-18 Thread Simon Schampijer
Thanks for the patch, looks good. Please push. Regards, Simon On 04/16/2012 11:28 PM, Daniel Drake wrote: Due to the asynchronous way that dbus works, it is possible to receive a network device listed in the initial GetDevices call, and as a DeviceAdded signal, if the device appears during

Re: [Sugar-devel] [PATCH sugar] Fix shortcut for view source

2012-04-18 Thread Simon Schampijer
On 04/16/2012 04:02 PM, Sascha Silbe wrote: Excerpts from Simon Schampijer's message of 2012-04-16 10:42:39 +0200: [extensions/globalkey/viewsource.py] -BOUND_KEYS = ['0xEC', 'altshiftv'] +BOUND_KEYS = ['XF86KbdLightOnOff', 'altshiftv'] Is Keyboard light on/off really a key that we want to

Re: [Sugar-devel] [PATCH sugar] Don't treat SSID as UTF-8 character sequence (fixes SL#2023)

2012-04-18 Thread Simon Schampijer
On 04/17/2012 11:42 PM, Martin Langhoff wrote: On Mon, Apr 16, 2012 at 3:33 AM, Simon Schampijersi...@schampijer.de wrote: Thanks for the patch, looks good. I tested here with my AP that does announce in non utf-8 char and it works fine. Cool! Great stuff. What does your funny-chars AP read

[Sugar-devel] [REMINDER] Development team meeting --- 17. April 2012 (15:00 UTC)

2012-04-17 Thread Simon Schampijer
Hi, today we will have our weekly development team meeting: - status of GTK3 port - 0.96 schedule Time: 17. April 2012 (15:00 UTC) Place: #sugar-meeting (freenode) Regards, Simon ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org

Re: [Sugar-devel] [PATCH sugar] Don't treat SSID as UTF-8 character sequence (fixes SL#2023)

2012-04-16 Thread Simon Schampijer
On 04/02/2012 06:40 PM, Sascha Silbe wrote: IEEE 802.11 [2] defines the SSID as a sequence of octets (i.e. bytes), but Sugar treated it as UTF-8 character data. While in most cases the SSID is actually some human-readable string, there's neither a guarantee for that nor does any (de-facto or

[Sugar-devel] [PATCH sugar] Fix shortcut for view source

2012-04-16 Thread Simon Schampijer
This is a follow up of 26df35b0c02881864d0f47782f8ff5b5ce5e187c, OLPC #11721. You can now use again 'fn+space' to reveal the source view of an activity. The keyname was determined using xev. Signed-off-by: Simon Schampijer si...@laptop.org --- extensions/globalkey/viewsource.py |2 +- 1

Re: [Sugar-devel] [PATCH] keyhandler: Use textual key names

2012-04-16 Thread Simon Schampijer
On 03/28/2012 11:40 PM, Peter Robinson wrote: On Tue, Mar 27, 2012 at 9:22 PM, Daniel Draked...@laptop.org wrote: Conversion of 0x## keycodes is broken in libegg with recent GDK. Switch to the textual names of the keys in question to work around this bug, reference:

[Sugar-devel] [PATCH sugar] Create a default unencrypted keyring, OLPC #10290

2012-04-16 Thread Simon Schampijer
that workaround will work for them as well. Signed-off-by: Peter Robinson pbrobin...@fedoraproject.org Signed-off-by: Simon Schampijer si...@laptop.org --- bin/sugar.in | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/bin/sugar.in b/bin/sugar.in index 12098db

Re: [Sugar-devel] [PATCH] keyhandler: Use textual key names

2012-04-16 Thread Simon Schampijer
On 04/16/2012 02:23 PM, Gary Martin wrote: Hi Simon, On 16 Apr 2012, at 09:46, Simon Schampijer wrote: On 03/28/2012 11:40 PM, Peter Robinson wrote: On Tue, Mar 27, 2012 at 9:22 PM, Daniel Draked...@laptop.org wrote: Conversion of 0x## keycodes is broken in libegg with recent GDK. Switch

Re: [Sugar-devel] [PATCH] Touchpad icon: update for upstream kernel API

2012-04-16 Thread Simon Schampijer
On 11/25/2011 09:10 PM, Daniel Drake wrote: The HGPK pentablet selection code has gone upstream, but with a different interface from the version included in previous OLPC kernels. The interface is now: echo -n pentablet hgpk_mode Port the touchpad icon to this new API. Compatibility

Re: [Sugar-devel] [PATCH sugar] Do not display APs that announce the ssid in invalid utf-8 data, OLPC #11698

2012-03-28 Thread Simon Schampijer
On 03/27/2012 11:32 PM, Sascha Silbe wrote: Excerpts from Simon Schampijer's message of 2012-03-27 10:19:30 +0200: Sugar is not doing well in dealing with non-utf8 data. If an AP does not announce the ssid in valid utf-8 data Sugar will fail in certain ways. That's an odd way to put it. The

Re: [Sugar-devel] [PATCH] keyhandler: Use textual key names

2012-03-28 Thread Simon Schampijer
On 03/27/2012 10:22 PM, Daniel Drake wrote: Conversion of 0x## keycodes is broken in libegg with recent GDK. Switch to the textual names of the keys in question to work around this bug, reference: https://bugzilla.gnome.org/show_bug.cgi?id=672950 This fixes the frame key on XO laptops running

Re: [Sugar-devel] [PATCH Browse] Store empty strings instead of None in the places sqlite database.

2012-03-28 Thread Simon Schampijer
Please push that one. Regards, Simon On 03/28/2012 05:59 PM, Manuel Quiñones wrote: The SQL model sets text as the fields type for uri and title. However, sqlite uses a dynamic type sistem [1] and our Place class was initializing those attributes with None. As a consequence, when the user

Re: [Sugar-devel] [PATCH Browse] Pass URI instead of file path when the activity starts from a file

2012-03-28 Thread Simon Schampijer
On 03/28/2012 08:46 PM, Manuel Quiñones wrote: If the MIME type of the file that the activity reads is not text/plain or text/uri-list, it will load the file as-is in the default tab. But WebKit needs an URI, and we are passing the file path. Appending 'file://' to the file path solves the

Re: [Sugar-devel] [PATCH][Browse] Update progress bar and stop/reload buttons when switching tabs

2012-03-28 Thread Simon Schampijer
This one looks good as well, please get it in. Regards, Simon On 03/23/2012 01:05 PM, Manuel Quiñones wrote: Calling the _set_status and _set_progress methods in the web toolbar directly when a new tab is activated. Also the callback for load-status is disconnected now in the previous tab,

[Sugar-devel] [REMINDER] Development team meeting --- 27. March 2012 (15:00 UTC)

2012-03-27 Thread Simon Schampijer
Hi, today we will have our weekly development team meeting: - status of GTK3 port - 0.96 go/no-go decision - agree on Activity porting guidelines [1] Time: 27. March 2012 (15:00 UTC) Place: #sugar-meeting (freenode) Regards, Simon [1] http://wiki.sugarlabs.org/go/Features/GTK3/Porting

[Sugar-devel] [PATCH sugar] Do not display APs that announce the ssid in invalid utf-8 data, OLPC #11698

2012-03-27 Thread Simon Schampijer
already. Signed-off-by: Simon Schampijer si...@laptop.org [1] http://developer.gnome.org/libnm-util/unstable/libnm-util-nm-utils.html#nm-utils-ssid-to-utf8 [2] http://dev.laptop.org/ticket/11698 [3] http://developer.gnome.org/pygobject/stable/glib-functions.html#function-glib--markup-escape-text

Re: [Sugar-devel] [PATCH] Recreate corrupted key pair (#1568)

2012-03-26 Thread Simon Schampijer
Thanks, pushed that one. On 03/23/2012 09:17 PM, Daniel Drake wrote: From: Sascha Silbesascha-...@silbe.org Recreate a corrupted key pair instead of leaving it alone and failing horribly later. This case was recently encountered in Nicaragua. Signed-off-by: Sascha Silbesascha-...@silbe.org

[Sugar-devel] [RELEASE] sugar-0.95.6

2012-03-26 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar/sugar-0.95.6.tar.bz2 == News == * Release 0.95.6 (Simon Schampijer) * Update ALL_LINGUAS (Simon Schampijer) * Recreate corrupted key pair (fixes SL#1568) (Sascha Silbe) * Remove ay and qu from ALL_LINGUAS as those keeps

Re: [Sugar-devel] [PATCH][Browse] Update progress bar and stop/reload buttons when switching tabs

2012-03-23 Thread Simon Schampijer
Thanks Manu for the patch, works in most of the cases but seem to fail for one case: - open Browse - open a pdf --- a new tab is opened --- the title is not shown in the url entry of the pdf tab - switch to another tab --- the title is shown there - switch back to the pdf tab --- the title is

[Sugar-devel] [PATCH browse] Use json as included in Python SL #3142

2012-03-23 Thread Simon Schampijer
We use json as included in Python. This will make Sugar dependent on Python 2.6 and Python 2.7 to have the highest JSON performance. Signed-off-by: Simon Schampijer si...@laptop.org --- model.py |6 +++--- webactivity.py |4 ++-- 2 files changed, 5 insertions(+), 5 deletions

Re: [Sugar-devel] [PATCH browse] Use json as included in Python SL #3142

2012-03-23 Thread Simon Schampijer
On 03/23/2012 01:19 PM, Manuel Quiñones wrote: Acked-by: Manuel Quiñonesma...@laptop.org Thanks pushed. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel

[Sugar-devel] [RELEASE] sugar-toolkit-gtk3-0.95.5

2012-03-22 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-toolkit-gtk3/sugar-toolkit-gtk3-0.95.5.tar.bz2 == News == * Release 0.95.5 (Simon Schampijer) * Use json as included in Python SL #3142 (Simon Schampijer) * Remove the workaround for missing gobject-introspection bindings

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

2012-03-22 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-artwork/sugar-artwork-0.95.4.tar.bz2 == News == * Release 0.95.4 (Simon Schampijer) * Theme the LinkInfo label that is displayed in Browse at the bottom left (Simon Schampijer) * Mimic the behaviour and style of the sugar

Re: [Sugar-devel] [PATCH sugar-toolkit-gtk3] configure.ac: Require gobject-introspection

2012-03-21 Thread Simon Schampijer
Thanks for the patch, pushed, Simon On 03/19/2012 08:16 PM, Sascha Silbe wrote: configure.ac already checked if gobject-introspection is installed, but instead of aborting with an error it continued and silently omitted crucial parts of the build system, confusing the user with the error

Re: [Sugar-devel] [PATCH] Remove the workaround for missing gobject-introspection bindings of Rsvg

2012-03-21 Thread Simon Schampijer
On 03/20/2012 07:37 PM, Sascha Silbe wrote: Excerpts from Simon Schampijer's message of 2012-03-20 13:39:10 +0100: gobject introspection bindings for librsvg have been pushed to librsvg master [1] in 2.35.0, which solved [2]. We only have slight adopts to make in our usage, for example we can

[Sugar-devel] [PATCH] Remove the workaround for missing gobject-introspection bindings of Rsvg

2012-03-20 Thread Simon Schampijer
for the handle, but we can use the properties instead. This will work on Fedora 17 upwards. Signed-off-by: Simon Schampijer si...@laptop.org [1] http://git.gnome.org/browse/librsvg/ [2] https://bugzilla.gnome.org/show_bug.cgi?id=663049 [3] http://developer.gnome.org/rsvg/stable/RsvgHandle.html

[Sugar-devel] [REMINDER] Development team meeting --- 20. March 2012 (15:00 UTC)

2012-03-20 Thread Simon Schampijer
Hi, today we will have our weekly development team meeting: This week we give room to a different topic than this boring Gtk3 and release schedule ones we had over the last weeks, this weeks topic is: Activities! And who would be a better host for this one as Gonzalo Odiard. Don't miss

[Sugar-devel] [RELEASE] sugar-toolkit-0.94.1

2012-03-19 Thread Simon Schampijer
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-toolkit/sugar-toolkit-0.94.1.tar.bz2 == News == * Release 0.94.1 (Simon Schampijer) * icon: use GDK for pixbuf-to-cairo conversion, should fix a Sugar crasher on Fedora 16, https://bugzilla.redhat.com/show_bug.cgi?id

[Sugar-devel] Sugar crash on F16 (system install and jhbuild)

2012-03-19 Thread Simon Schampijer
Hi, if you pull in the latest updates on Fedora 16 you have to update sugar-toolkit as well. Here is an rpm [1] that hopefully gets into an update soon, and in jhbuild you need to pull and build sugar-toolkit. Regards, Simon [1] http://koji.fedoraproject.org/koji/buildinfo?buildID=308045

Re: [Sugar-devel] xephyr error on Fedora 16

2012-03-19 Thread Simon Schampijer
On 03/15/2012 06:07 PM, Manuel Kaufmann wrote: On Thu, Mar 15, 2012 at 11:38, Gonzalo Odiardgonz...@laptop.org wrote: Hmm, I don't know. Have you tried do yum update or you have only the package versions included in the initial F16 installation? Yes. I've already run yum update and the error

[Sugar-devel] [PATCH browse] Make the LinkInfo that is displayed at the bottom left themable

2012-03-16 Thread Simon Schampijer
window, so we have to set the background-color of the parent in order to set the labels' background color [1]. The patch does adjust the gtype_names to be consistent. [1] http://developer.gnome.org/gtk-faq/stable/x810.html Signed-off-by: Simon Schampijer si...@schampijer.de --- browser.py | 17

<    1   2   3   4   5   6   7   8   9   10   >