Re: [sugar] [PATCH] Journal able to use open with for activity bundles

2008-06-13 Thread Jameson Chema Quinn
Here's the revised patch. May I respectfully suggest that further discussion of ancillary issues move to other threads? (I actually started another thread, and got no responses, while this one continued one more round.) Jameson diff --git a/NEWS b/NEWS index 3910546..06c5a53 100644 --- a/NEWS +++

Re: [sugar] [PATCH] Journal able to use open with for activity bundles

2008-06-13 Thread Tomeu Vizoso
r+ with the following comments: +84 Please take this out. +for handler in activities: This rename confused me for a bit, but I think I see what you meant. Thanks, Tomeu On Fri, Jun 13, 2008 at 8:21 AM, Jameson Chema Quinn [EMAIL PROTECTED] wrote: Here's the revised patch. May I

Re: [sugar] [PATCH] Browse - Find in Page

2008-06-13 Thread Tomeu Vizoso
r+ if Eben is ok with +width = int(gtk.gdk.screen_width() / 3) +self.search_entry.set_size_request(width, -1) I'm wondering if this will be ok in other screen resolutions. Cheers, Tomeu On Thu, Jun 12, 2008 at 11:35 PM, Simon Schampijer [EMAIL PROTECTED] wrote: Simon

Re: [sugar] [PATCH] Bundlebuilder use manifest, fix_manifest function

2008-06-13 Thread Marco Pesenti Gritti
Landed with some cleanup and little fixes. Please test it and see if I broke anything in the process. I removed is_dir (and the po check which use it) because the return True was too much of an hack. Happy to consider a better fix for that as a separate patch. Thanks! Marco

Re: [sugar] [PATCH] Bundlebuilder use manifest, fix_manifest function

2008-06-13 Thread Simon Schampijer
As a little note so I don't forget: In the latest version Sucrose 0.82.2 when you did a ./setup release the bundle number did not get updated. Not sure how much was refactored now. I can file a ticket as well. Simon Marco Pesenti Gritti wrote: Also we need to provide commands to generate

[sugar] [PATCH] Browse - Add-address-entry-focus

2008-06-13 Thread Simon Schampijer
Hi, this patch adds the shortcut ctr+l (a la firefox) to focus the adress/uri entry. Furthermore it changes the shortcut for adding a bookmark to be ctrl+d (standard a la firefox) - was ctrl+l before. Thanks, Simon diff --git a/webactivity.py b/webactivity.py index f0d5021..7a0d5df 100755

Re: [sugar] Home Design: Free Layout View

2008-06-13 Thread Martin Dengler
On Fri, Jun 13, 2008 at 12:52:15AM -0400, Mikus Grinbergs wrote: [...] What could be done on the Home-view page (once the existing ring gets too crowded) is to *not* show some icons until an enabling object is clicked. By expanding only one enabling object at a time, the available space on

Re: [sugar] [PATCH] Bundlebuilder use manifest, fix_manifest function

2008-06-13 Thread Marco Pesenti Gritti
Please open a ticket yeah. This patch did not touch that code. Marco On Fri, Jun 13, 2008 at 12:56 PM, Simon Schampijer [EMAIL PROTECTED] wrote: As a little note so I don't forget: In the latest version Sucrose 0.82.2 when you did a ./setup release the bundle number did not get updated. Not

Re: [sugar] [PATCH] Browse autocompletion

2008-06-13 Thread Tomeu Vizoso
Hi, +self._con = sqlite3.connect(db_path) +cur = self._con.cursor() I'd avoid abbreviations if possible: self._connection and cursor. +cur.execute('insert into places values (?, ?, ?, ?, ?, ?)', \ +(place.uri, place.title, place.bookmark, +

Re: [sugar] [PATCH] Browse - Add-address-entry-focus

2008-06-13 Thread Tomeu Vizoso
r+ On Fri, Jun 13, 2008 at 1:18 PM, Simon Schampijer [EMAIL PROTECTED] wrote: Hi, this patch adds the shortcut ctr+l (a la firefox) to focus the adress/uri entry. Furthermore it changes the shortcut for adding a bookmark to be ctrl+d (standard a la firefox) - was ctrl+l before. Thanks,

Re: [sugar] Build streams

2008-06-13 Thread Martin Dengler
On Thu, Jun 12, 2008 at 11:36:51PM -0400, Mikus Grinbergs wrote: Finally, finally, Joyride 2024 managed to 'make available to users' some of the newer Sugar changes (packaged in a build, as opposed to only available in source). So you want to see new sugar (sucrose?) code on your XO but only

Re: [sugar] [PATCH] Refactor invites for 1-1 Chat (#6298)

2008-06-13 Thread Tomeu Vizoso
On Tue, Jun 10, 2008 at 5:21 PM, Morgan Collett [EMAIL PROTECTED] wrote: http://dev.laptop.org/git?p=users/morgan/sugar-toolkit;a=shortlog;h=6298 - Guillaume's change, r+ from me - Can I push this to sugar-toolkit? Think so. #6298: Launch Chat for 1-1 XMPP chat +import json +

Re: [sugar] [PATCH] Browse autocompletion

2008-06-13 Thread Michael Stone
On Fri, Jun 13, 2008 at 01:37:33PM +0200, Tomeu Vizoso wrote: +cur = self._con.cursor() ... +cur.close() Should we use try...finally blocks so we don't leak open cursors? Also, we could use the with statement from future. The with statement (and the contextlib's

Re: [sugar] [PATCH] Refactor invites for 1-1 Chat (#6298)

2008-06-13 Thread Morgan Collett
On Fri, Jun 13, 2008 at 14:56, Tomeu Vizoso [EMAIL PROTECTED] wrote: On Tue, Jun 10, 2008 at 5:21 PM, Morgan Collett [EMAIL PROTECTED] wrote: http://dev.laptop.org/git?p=users/morgan/sugar-toolkit;a=shortlog;h=6298 - Guillaume's change, r+ from me - Can I push this to sugar-toolkit? Think

Re: [sugar] [PATCH] Refactor invites for 1-1 Chat (#6298)

2008-06-13 Thread Morgan Collett
On Fri, Jun 13, 2008 at 14:56, Tomeu Vizoso [EMAIL PROTECTED] wrote: #6298: Launch Chat for 1-1 XMPP chat +activityfactory.create_with_uri('org.laptop.Chat', tp_channel) Marco, I thought we wanted to deprecate create_with_uri()? Do you have a better idea here? What I need is to

Re: [sugar] Release Status Report - 8.2.0

2008-06-13 Thread C. Scott Ananian
On Thu, Jun 12, 2008 at 7:40 PM, Chris Ball [EMAIL PROTECTED] wrote: Before we can ship power management, though, we should also fix: * the SD corruption bug (#6532) -- if we can't fix it in time, we can inhibit suspend when an SD card is plugged in. * pushing wakeup decisions to the EC

Re: [sugar] [PATCH] Browse - Add-address-entry-focus

2008-06-13 Thread Simon Schampijer
Pushed. Thanks, Simon Tomeu Vizoso wrote: r+ On Fri, Jun 13, 2008 at 1:18 PM, Simon Schampijer [EMAIL PROTECTED] wrote: Hi, this patch adds the shortcut ctr+l (a la firefox) to focus the adress/uri entry. Furthermore it changes the shortcut for adding a bookmark to be ctrl+d

Re: [sugar] [PATCH] Browse - Find in Page

2008-06-13 Thread Simon Schampijer
Pushed. Tomeu Vizoso wrote: r+ if Eben is ok with +width = int(gtk.gdk.screen_width() / 3) +self.search_entry.set_size_request(width, -1) I'm wondering if this will be ok in other screen resolutions. Yeah we should see if other approaches makes more sense here in general

Re: [sugar] Release Status Report - 8.2.0

2008-06-13 Thread pgf
c. scott ananian wrote: On Thu, Jun 12, 2008 at 7:40 PM, Chris Ball [EMAIL PROTECTED] wrote: Before we can ship power management, though, we should also fix: * the SD corruption bug (#6532) -- if we can't fix it in time, we can inhibit suspend when an SD card is plugged in. *

[sugar] Info about data, instance and tmp directories in activity root

2008-06-13 Thread Faisal Anwar
Hi, Does anyone know about (or can point me to docs for) the recommended uses of the data, instance and tmp directories that exist for every activity (usually found in the ~myhome/.sugar/default/org.laptop.MyActivity/ directory)? In particular, I had the following questions: - what types of

Re: [sugar] Info about data, instance and tmp directories in activity root

2008-06-13 Thread Tomeu Vizoso
On Fri, Jun 13, 2008 at 4:20 PM, Faisal Anwar [EMAIL PROTECTED] wrote: Hi, Does anyone know about (or can point me to docs for) the recommended uses of the data, instance and tmp directories that exist for every activity (usually found in the ~myhome/.sugar/default/org.laptop.MyActivity/

Re: [sugar] [PATCH] Refactor invites for 1-1 Chat (#6298)

2008-06-13 Thread Tomeu Vizoso
r+ ;) On Fri, Jun 13, 2008 at 3:41 PM, Morgan Collett [EMAIL PROTECTED] wrote: On Fri, Jun 13, 2008 at 14:56, Tomeu Vizoso [EMAIL PROTECTED] wrote: #6298: Launch Chat for 1-1 XMPP chat +activityfactory.create_with_uri('org.laptop.Chat', tp_channel) Marco, I thought we wanted to

Re: [sugar] Info about data, instance and tmp directories in activity root

2008-06-13 Thread Faisal Anwar
thanks! On Fri, Jun 13, 2008 at 10:31 AM, Tomeu Vizoso [EMAIL PROTECTED] wrote: On Fri, Jun 13, 2008 at 4:20 PM, Faisal Anwar [EMAIL PROTECTED] wrote: Hi, Does anyone know about (or can point me to docs for) the recommended uses of the data, instance and tmp directories that exist for

Re: [sugar] Release Status Report - 8.2.0

2008-06-13 Thread Chris Ball
Hi, is there background missing from trac? i don't read anything in #6010 other than we wake up only to go right back to sleep too often, which seems even more benign (leaving power usage aside) than you're describing. Yes, there's some background missing -- both the lid switch

[sugar] Sugar mtg minutes, 12th June 2008

2008-06-13 Thread Simon Schampijer
=Update on the status of the ongoing features= Looks very good: http://wiki.sugarlabs.org/go/ReleaseTeam/Roadmap#New_features =How to announce a new release of an activity best?= unmadindu looked into remora http://wiki.mozilla.org/Update:Remora. he noted that it's not well

[sugar] [Announce] Web-90

2008-06-13 Thread Simon Schampijer
A new browse has been released! NEWS: * Add address entry focus with ctrl+l (erikos) * Add find in context functionality (erikos) * History and bookmarks autocompletion (marco) * To resolve trac 6250, we disable browser detection of offline mode using xpcom. (erikg) * Fix copy Image to

[sugar] Recent Updates to Sugar Almanac

2008-06-13 Thread Faisal Anwar
Hello All, As many of you know, I'm writing up a sugar almanac to help new sugar/python developers get up and running with creating useful activities. I will try to send frequent updates in terms of what has been added. In addition to using the documentation, I'd appreciate it if people familiar

Re: [sugar] [PATCH] Change tabbing to show a preview by opening the frame

2008-06-13 Thread Marco Pesenti Gritti
I had a quick look to the patches and the approach looks good to me. I asked Eben to comment on the UI side of this before we make a more careful review. Would be nice to get this in by the feature freeze. Marco ___ Sugar mailing list

Re: [sugar] Recent Updates to Sugar Almanac

2008-06-13 Thread Martin Sevior
Hi Faisal, You might want to gather together the documentation we wrote for abiwidget which explains how to embed the collaborative Rich Text widget (as used by write) in python programs. The links are on our wiki here: http://www.abisource.com/wiki/AbiWidget