Re: [Sugar-devel] [PATCH sugar-0.84] journal scan of external media

2010-09-08 Thread James Cameron
On Tue, Sep 07, 2010 at 01:18:11PM +0200, Sascha Silbe wrote: Agreed. I wonder if we could somehow wrap os.walk() in a single, low-priority idle task. Alternatively call find in a subprocess and use gobject.io_add_watch(). Especially if we want to continue indexing symlinked directories this

Re: [Sugar-devel] [laptop-accessibility] screenreader for sugar

2010-09-08 Thread Tomeu Vizoso
On Tue, Sep 7, 2010 at 18:32, Peter Korn peter.k...@oracle.com wrote: Hi Tomeu, gang, [I'm cc-ing Joanie Diggs, co-maintainer of Orca] I believe there are 6 key things that need to be done in/for Sugar to enable use of the GNOME accessibility work for folks with vision impairments. 

Re: [Sugar-devel] known issues with collaboration in XS 0.5.2

2010-09-08 Thread Tomeu Vizoso
On Tue, Sep 7, 2010 at 17:20, Martin Langhoff mar...@laptop.org wrote: On Tue, Sep 7, 2010 at 10:44 AM, Tomeu Vizoso to...@sugarlabs.org wrote: With the script attached, some GetProperties queries take a few seconds, others more than 25 seconds (the default dbus timeout). It should be invoked

[Sugar-devel] [DESIGN] Members shown in Journal for shared activity

2010-09-08 Thread Simon Schampijer
Hi, the following is true on 0.84 (untested so far on master, reports welcome): Machine A: Share an activity Machine B: Join Machine C: Join Machine C: leaves - Buddy A and B listed as members in Journal entry on machine C Machine B: leaves - Buddy A listed as member in Journal entry on machine

Re: [Sugar-devel] SL bug #1520

2010-09-08 Thread Tomeu Vizoso
On Tue, Sep 7, 2010 at 20:01, Mukul Gupta mu...@seeta.in wrote: Team, I am working on Bug # 1520 on sugarlabs. http://bugs.sugarlabs.org/ticket/1520 I tried to reproduce the issue on sugar-emulator. I realised that Alt + Tab did nothing. Instead, Alt+Tab functioned for GNOME. I tried to run

[Sugar-devel] [DESIGN] palette timeouts (was Re: #1169 NORM: Drop down menus give no indication of their existence, also are too slow to load.)

2010-09-08 Thread Tomeu Vizoso
Hi, looks like Seeta is interested in doing something about this. Do we have any kind of agreement on what changes should be done? Thanks, Tomeu On Tue, May 4, 2010 at 06:51, Sugar Labs Bugs bugtracker-nore...@sugarlabs.org wrote: #1169: Drop down menus give no indication of their existence,

Re: [Sugar-devel] [PATCH] Time out on registration process to prevent indefinite UI hang (SL#2289)

2010-09-08 Thread Sascha Silbe
Excerpts from Tomeu Vizoso's message of Wed Sep 08 11:00:13 +0200 2010: +class TimeoutHTTP(httplib.HTTP): http://docs.python.org/library/httplib.html says: Note The public interface for this module changed substantially in Python 2.0. The HTTP class is retained only for backward

Re: [Sugar-devel] New IRC bot

2010-09-08 Thread Aleksey Lim
On Sun, Sep 05, 2010 at 12:15:36PM +0200, Bert Freudenberg wrote: On 04.09.2010, at 02:57, Aleksey Lim wrote: Hi all, FIY, To keep IRC logs, I've setup IRC bot - supybot[1]. It supports many useful plugins[2] including meetings (so, we can replace meetbot with more powerful one).

Re: [Sugar-devel] known issues with collaboration in XS 0.5.2

2010-09-08 Thread Martin Langhoff
On Wed, Sep 8, 2010 at 5:02 AM, Tomeu Vizoso to...@sugarlabs.org wrote: Note that those are registered users, there's only a dozen online. Ah! Then no, the behaviour is 100% bogus. I guess in that case you won't accumulate lots of registered users either, so this behavior shouldn't matter in

Re: [Sugar-devel] known issues with collaboration in XS 0.5.2

2010-09-08 Thread Tomeu Vizoso
On Wed, Sep 8, 2010 at 12:21, Martin Langhoff mar...@laptop.org wrote: On Wed, Sep 8, 2010 at 5:02 AM, Tomeu Vizoso to...@sugarlabs.org wrote: Note that those are registered users, there's only a dozen online. Ah! Then no, the behaviour is 100% bogus. I guess in that case you won't

Re: [Sugar-devel] #2295 UNSP: Sugar 0.88 [Dextrose] not reporting all favourite connections to NetworkManager at startup

2010-09-08 Thread Franco Miceli
For what I've been able to see load_wifi_connections collects all wifi connections from /home/olpc/.sugar/default/nm/connections.cfg. This function gets called by load_connections who gets called by get_settings. I think that the class NMSettings is where sugar communicates this to NM, but I

Re: [Sugar-devel] [DESIGN] Members shown in Journal for shared activity

2010-09-08 Thread Walter Bender
On Wed, Sep 8, 2010 at 5:15 AM, Simon Schampijer si...@schampijer.de wrote: Hi, the following is true on 0.84 (untested so far on master, reports welcome): Machine A: Share an activity Machine B: Join Machine C: Join Machine C: leaves - Buddy A and B listed as members in Journal entry on

[Sugar-devel] when changing the owner of a ticket in Trac...

2010-09-08 Thread Walter Bender
walterbender question about protocol: when should people be reassigning ownership of tickets in Trac? It seems a lot of tickets have had their ownership changed of late when someone unilaterally decides they'll work on a bug, before the work has been done. This seems broken to me. tomeu

Re: [Sugar-devel] #2295 UNSP: Sugar 0.88 [Dextrose] not reporting all favourite connections to NetworkManager at startup

2010-09-08 Thread Tomeu Vizoso
On Wed, Sep 8, 2010 at 13:42, Franco Miceli fmic...@plan.ceibal.edu.uy wrote: For what I've been able to see load_wifi_connections collects all wifi connections from /home/olpc/.sugar/default/nm/connections.cfg. This function gets called by load_connections who gets called by get_settings. I

Re: [Sugar-devel] known issues with collaboration in XS 0.5.2

2010-09-08 Thread Tomeu Vizoso
On Wed, Sep 8, 2010 at 12:35, Tomeu Vizoso to...@sugarlabs.org wrote: On Wed, Sep 8, 2010 at 12:21, Martin Langhoff mar...@laptop.org wrote: On Wed, Sep 8, 2010 at 5:02 AM, Tomeu Vizoso to...@sugarlabs.org wrote: Note that those are registered users, there's only a dozen online. Ah! Then no,

[Sugar-devel] [PATCH] Display 'Sugar in a window' instead of 'Xephyr on'. Ticket #2285

2010-09-08 Thread Ishan Bansal
Changed title displayed in the title bar of the sugar-emulator. --- src/jarabe/util/emulator.py |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/jarabe/util/emulator.py b/src/jarabe/util/emulator.py index 5a99dbe..07f1569 100644 --- a/src/jarabe/util/emulator.py +++

Re: [Sugar-devel] [DESIGN] Members shown in Journal for shared activity

2010-09-08 Thread Gary Martin
Hi Simon, On 8 Sep 2010, at 10:15, Simon Schampijer si...@schampijer.de wrote: Hi, the following is true on 0.84 (untested so far on master, reports welcome): Machine A: Share an activity Machine B: Join Machine C: Join Machine C: leaves - Buddy A and B listed as members in Journal

Re: [Sugar-devel] [PATCH] Display 'Sugar in a window' instead of 'Xephyr on'. Ticket #2285

2010-09-08 Thread Tomeu Vizoso
On Wed, Sep 8, 2010 at 17:00, Ishan Bansal is...@seeta.in wrote: Changed title displayed in the title bar of the sugar-emulator. Please mention the number of the ticket that this fixes. As Sascha said before, the commit message would be more useful if you mention to which string you are changing

Re: [Sugar-devel] [PATCH sugar-0.84] journal scan of external media

2010-09-08 Thread Sascha Silbe
Excerpts from James Cameron's message of Wed Sep 08 09:00:31 +0200 2010: I've reworked it to be as asynchronous as I can make it without moving into a separate thread or process. Nice! The patch below is a rewrite of the function _recurse_dir, and I've replaced tabs with spaces only because

Re: [Sugar-devel] [DESIGN] palette timeouts (was Re: #1169 NORM: Drop down menus give no indication of their existence, also are too slow to load.)

2010-09-08 Thread Gary Martin
Hi Tomeu, On 8 Sep 2010, at 10:30, Tomeu Vizoso to...@sugarlabs.org wrote: Hi, looks like Seeta is interested in doing something about this. Do we have any kind of agreement on what changes should be done? From that ticket there seems to be agreement on making a left click immediately

Re: [Sugar-devel] [PATCH] Update the versions of our telepathy dependencies and add mission control #2228

2010-09-08 Thread Sascha Silbe
Excerpts from Tomeu Vizoso's message of Wed Sep 08 10:45:09 +0200 2010: BTW, there seem to have been releases in the meantime (e.g. telepathy-gabble 0.9.17). Should we update to these right away? Should be safe to update, right now I'm only waiting for a new release of mission-control

Re: [Sugar-devel] [PATCH] Update the versions of our telepathy dependencies and add mission control #2228

2010-09-08 Thread Tomeu Vizoso
On Wed, Sep 8, 2010 at 17:57, Sascha Silbe sascha-ml-reply-to-201...@silbe.org wrote: Excerpts from Tomeu Vizoso's message of Wed Sep 08 10:45:09 +0200 2010: BTW, there seem to have been releases in the meantime (e.g. telepathy-gabble 0.9.17). Should we update to these right away? Should

Re: [Sugar-devel] #2295 UNSP: Sugar 0.88 [Dextrose] not reporting all favourite connections to NetworkManager at startup

2010-09-08 Thread Franco Miceli
Tomeu, Following code traces of ListConnections from the NMSettings class within Network.py, I've come across the following sequence of calls from NM's code: NetworkManager.c's main function calls nm-manager-get (from nm-manager.c). Within nm-mannager-get the function initial_get_connections

Re: [Sugar-devel] [PATCH] Update the versions of our telepathy dependencies and add mission control #2228

2010-09-08 Thread Sascha Silbe
Excerpts from Tomeu Vizoso's message of Wed Sep 08 18:01:33 +0200 2010: I can make a release myself, will post an update then. BTW, if/when you're (physically) meeting with the Collabora folks it would be nice to do some PGP key signing. I couldn't verify one of the components because the key

[Sugar-devel] [PATCH] Display changed to 'Sugar in a window' instead of 'Xephyr on' Ticket #2285

2010-09-08 Thread Ishan Bansal
Changed title displayed in the title bar of the sugar-emulator (SL#2285) --- src/jarabe/util/emulator.py |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/jarabe/util/emulator.py b/src/jarabe/util/emulator.py index 5a99dbe..e956669 100644 ---

Re: [Sugar-devel] #2295 UNSP: Sugar 0.88 [Dextrose] not reporting all favourite connections to NetworkManager at startup

2010-09-08 Thread Tomeu Vizoso
On Wed, Sep 8, 2010 at 18:34, Franco Miceli fmic...@plan.ceibal.edu.uy wrote: Tomeu, Following code traces of ListConnections from the NMSettings class within Network.py, I've come across the following sequence of calls from NM's code: NetworkManager.c's main function calls nm-manager-get

Re: [Sugar-devel] [PATCH] Time out on registration process to prevent indefinite UI hang (SL#2289)

2010-09-08 Thread Sascha Silbe
Excerpts from Dipankar Patro's message of Wed Sep 08 16:48:46 +0200 2010: -server = ServerProxy(url) +server = xmlrpclib.ServerProxy(url) Have you tried this patch? TimeoutTransport isn't used anywhere. Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc

Re: [Sugar-devel] [PATCH] Display 'Sugar in a window' instead of 'Xephyr on'. Ticket #2285

2010-09-08 Thread Sascha Silbe
Excerpts from Tomeu Vizoso's message of Wed Sep 08 17:19:00 +0200 2010: On Wed, Sep 8, 2010 at 17:00, Ishan Bansal is...@seeta.in wrote: Changed title displayed in the title bar of the sugar-emulator. Please mention the number of the ticket that this fixes. It's in the subject already and

[Sugar-devel] [PATCH] Added Protected-Activities-Support to sugar (SL#2087)

2010-09-08 Thread Kandarp Kaushik
This patch provides a mechanism that uses a gconf value to determine which activities will not contain the erase option at the list view palette. The gconf value contains a list of activities bundle indentifiers. --- data/sugar.schemas.in| 14 ++

Re: [Sugar-devel] [PATCH] Update the versions of our telepathy dependencies and add mission control #2228

2010-09-08 Thread David Farning
On Tue, Sep 7, 2010 at 12:42 PM, Tomeu Vizoso tomeu.viz...@collabora.co.uk wrote: On Tue, Sep 7, 2010 at 19:39, Tomeu Vizoso tomeu.viz...@collabora.co.uk wrote: Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.co.uk This has been tested only in Fedora 13, further testing appreciated.

Re: [Sugar-devel] [PATCH] Added Protected-Activities-Support to sugar (SL#2087)

2010-09-08 Thread Sascha Silbe
Excerpts from Kandarp Kaushik's message of Wed Sep 08 19:13:38 +0200 2010: This patch provides a mechanism that uses a gconf value to determine which activities will not contain the erase option at the list view palette. The gconf value contains a list of activities bundle indentifiers. s/at

Re: [Sugar-devel] [PATCH] Update the versions of our telepathy dependencies and add mission control #2228

2010-09-08 Thread Sascha Silbe
Excerpts from David Farning's message of Wed Sep 08 19:58:53 +0200 2010: This now requires libtelepathy-glib-dev as a dependency for ubuntu 10.10. AFAICT Maverick doesn't have recent enough Telepathy packages, so we need to build it from source. If we build it from source, we need to build all

Re: [Sugar-devel] [PATCH] Added Protected-Activities-Support to sugar (SL#2087)

2010-09-08 Thread Daniel Drake
On 8 September 2010 11:13, Kandarp Kaushik kand...@seeta.in wrote: This patch provides a mechanism that uses a gconf value to determine which activities will not contain the erase option at the list view palette. The gconf value contains a list of activities bundle indentifiers. Your efforts

[Sugar-devel] Code review (was: Re: [PATCH] Added Protected-Activities-Support to sugar (SL#2087))

2010-09-08 Thread Sascha Silbe
Excerpts from Daniel Drake's message of Wed Sep 08 21:34:33 +0200 2010: Where a review process has started on trac, please keep the patch reviews on trac. That's probably my fault, I've been referring people from Trac to the mailing list for review. My assumption was that they're simply not

Re: [Sugar-devel] Code review (was: Re: [PATCH] Added Protected-Activities-Support to sugar (SL#2087))

2010-09-08 Thread Daniel Drake
On 8 September 2010 14:44, Sascha Silbe sascha-ml-reply-to-201...@silbe.org wrote: If there's consensus that we want to stay with the method first chosen by the submitter, then I'll refrain from doing that in the future and will concentrate on patches submitted on the mailing list. I think

Re: [Sugar-devel] [PATCH] Display changed to 'Sugar in a window' instead of 'Xephyr on' Ticket #2285

2010-09-08 Thread James Cameron
On Wed, Sep 08, 2010 at 10:18:06PM +0530, Ishan Bansal wrote: Changed title displayed in the title bar of the sugar-emulator (SL#2285) Reviewed-by: James Cameron qu...@laptop.org -- James Cameron http://quozl.linux.org.au/ ___ Sugar-devel mailing

Re: [Sugar-devel] [DESIGN] Members shown in Journal for shared activity

2010-09-08 Thread James Cameron
On Wed, Sep 08, 2010 at 11:15:02AM +0200, Simon Schampijer wrote: I would believe that the list of members should be constructed of all the buddies that were in the activity and not of the ones that were in the activity the moment you leave it. What do others think? I used a shared Write

Re: [Sugar-devel] #2295 UNSP: Sugar 0.88 [Dextrose] not reporting all favourite connections to NetworkManager at startup

2010-09-08 Thread James Cameron
On Wed, Sep 08, 2010 at 06:53:24PM +0200, Tomeu Vizoso wrote: You mentioned that NM is only considering one connection, but if you can check that Sugar returns alls of them in ListConnections, why is NM only taking one of them? I agree. I don't see evidence on Sugar side that only one

Re: [Sugar-devel] [PATCH sugar-0.84] journal scan of external media

2010-09-08 Thread James Cameron
Thanks for the review. Detailed response to Tomeu and Sascha's review below, followed by revised patch. On Wed, Sep 08, 2010 at 09:20:21AM +0200, Tomeu Vizoso wrote: FWIW, I think this should go in a single patch because it doesn't make sense to cherry-pick pieces of a single

Re: [Sugar-devel] [PATCH sugar-0.84] journal scan of external media

2010-09-08 Thread James Cameron
Revised patch that handles recursive symlinks by processing each directory only once. Directories are identified by inode and device. diff --git a/src/jarabe/journal/model.py b/src/jarabe/journal/model.py index 50e8dc1..0bb571c 100644 --- a/src/jarabe/journal/model.py +++