Re: [Sugar-devel] flickering mouse in an activity on an xo

2010-09-10 Thread Erik Blankinship
On Fri, Sep 10, 2010 at 2:20 PM, Erik Blankinship wrote: > > >> > Is there somewhere to get the sugar cursor graphics within sugar itself? >> I see that physics imports its own local copy: >> > >> http://git.sugarlabs.org/projects/physics/repos/mainline/blobs/master/standardcursor.png >> >> You c

Re: [Sugar-devel] xo colors & gradients

2010-09-10 Thread Erik Blankinship
> > Of course special cases like icons with alpha gradients may well be > measurably helped by such optimisations, but are not part of the core Sugar > style guidelines, > Are there more guidelines than this? http://wiki.sugarlabs.org/go/Human_Interface_Guidelines/The_Sugar_Interface/Icons#Icon_D

Re: [Sugar-devel] internationalization: homonym handling in genpot?

2010-09-10 Thread Erik Blankinship
> > > If it doesn't work, I guess you could also directly use the low-level > encoding of context: > >label1 = _("device_icon_menu\x04Remove") > > label1 = _("device_icon_menu\x04Remove") label2 = _("file_menu\x04Remove") Not surprisingly, this creates unique entries in the .pot file since

Re: [Sugar-devel] internationalization: homonym handling in genpot?

2010-09-10 Thread Erik Blankinship
> > > > Just to make sure I understand your solution, if the activity is run in > an untranslated language, won't "Arrow|Bow" be displayed? > > Yes. However I was thinking that you could go create/edit the po/en.po file > and add in those string corrections, This assumes that English will be the

Re: [Sugar-devel] internationalization: homonym handling in genpot?

2010-09-10 Thread Erik Blankinship
> > > I think you can fill in (by hand) the msgstr in your POT file and it > will "do the right thing" for untranslated languages. > > Alas, this does not seem to work. .pot files are, evidently, just the translation template. As far as I can tell the untranslated language gets what's in your pyt

Re: [Sugar-devel] internationalization: homonym handling in genpot?

2010-09-10 Thread Gary Martin
Hi Erik, On 10 Sep 2010, at 18:17, Erik Blankinship wrote: >> #TRANS: bow and arrow >> activeDisplay = _("Bow") >> >> #TRANS: the front of a ship >> istrDisplay = _("Bow") > > Ooh interesting, not bumped into this need myself yet, but (as a cheat) it > strikes me that gett

[Sugar-devel] Sugar and activities flag day

2010-09-10 Thread Daniel Drake
Just wanted to summarize an enlightening conversation that just happened in #sugar: 1. GNOME 3 is expected to be released 6 months after GNOME-2.32. This roughly lines up with the release date for Sugar-0.92. 2. GNOME 3 is expected to be based on GTK+-3, which breaks compatibility with GTK2 (but

Re: [Sugar-devel] internationalization: homonym handling in genpot?

2010-09-10 Thread Bernie Innocenti
On Fri, 2010-09-10 at 17:59 +0100, Marco Pesenti Gritti wrote: > > #. TRANS: bow and arrow > > #. TRANS: the front of a ship > > #: constants.py:35 > > #: constants.py:38 > > msgid "Bow" > > msgstr "" > > It looks like python doesn't support contexts yet: > > http://bugs.python.org/issue2504 > >

Re: [Sugar-devel] internationalization: homonym handling in genpot?

2010-09-10 Thread Walter Bender
On Fri, Sep 10, 2010 at 1:17 PM, Erik Blankinship wrote: >> #TRANS: bow and arrow >> activeDisplay = _("Bow") >> #TRANS: the front of a ship >> istrDisplay = _("Bow") >> >> Ooh interesting, not bumped into this need myself yet, but (as a cheat) it >> strikes me that gettext is using the given stri

Re: [Sugar-devel] [PATCH] Scale TA font proportional to Sugar font-settings. (SL#1858)

2010-09-10 Thread Walter Bender
On Fri, Sep 10, 2010 at 12:51 PM, Kandarp Kaushik wrote: > This patch scales the font in TA by using ZOOM_FACTOR > set in sugar.graphics.style (SL#1858) > --- >  tawindow.py |    9 + >  1 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/tawindow.py b/tawindow.py > index 6a56

Re: [Sugar-devel] flickering mouse in an activity on an xo

2010-09-10 Thread Erik Blankinship
> > > > > Is there somewhere to get the sugar cursor graphics within sugar itself? > I see that physics imports its own local copy: > > > http://git.sugarlabs.org/projects/physics/repos/mainline/blobs/master/standardcursor.png > > You can find the original git rep that I made standardcursor.png ou

Re: [Sugar-devel] ticket #2195

2010-09-10 Thread Ishan Bansal
Hi Simon I am working on the bug http://bugs.sugarlabs.org/ticket/2195. To correct the issue i did changes in file sugar-jhbuild/sources/sugar/extension/cpsection/datetime/model.py but even after re-building sugar-jhbuild there was no noticeable change in the time shown. I have used pippy activit

Re: [Sugar-devel] internationalization: homonym handling in genpot?

2010-09-10 Thread Erik Blankinship
> > #TRANS: bow and arrow > activeDisplay = _("Bow") > > #TRANS: the front of a ship > istrDisplay = _("Bow") > > > Ooh interesting, not bumped into this need myself yet, but (as a cheat) it > strikes me that gettext is using the given strings as IDs for its string > lookups so you could replace y

Re: [Sugar-devel] internationalization: homonym handling in genpot?

2010-09-10 Thread Gary Martin
Hi Erik, On 10 Sep 2010, at 16:36, Erik Blankinship wrote: > (maybe there is genpot list where this message is more apropos? Sorry, > genpot is opaque to me.) > > My activity has two identical-in-english strings (homonyms) which need > translating, but have two different meanings depending o

Re: [Sugar-devel] Feedback about ticket #10122

2010-09-10 Thread Gonzalo Odiard
On Fri, Sep 10, 2010 at 11:10 AM, Benjamin M. Schwartz < bmsch...@fas.harvard.edu> wrote: > On 09/10/2010 09:54 AM, Gonzalo Odiard wrote: > > Hi Ben: > > I am trying to resolve the ticket http://dev.laptop.org/ticket/10122 > > Can you review it? Could you test it in XO-1.5? > > I've been following

Re: [Sugar-devel] internationalization: homonym handling in genpot?

2010-09-10 Thread Marco Pesenti Gritti
On Fri, Sep 10, 2010 at 4:36 PM, Erik Blankinship wrote: > (maybe there is genpot list where this message is more apropos?  Sorry, > genpot is opaque to me.) > My activity has two identical-in-english strings (homonyms) which need > translating, but have two different meanings depending on context

[Sugar-devel] [PATCH] Scale TA font proportional to Sugar font-settings. (SL#1858)

2010-09-10 Thread Kandarp Kaushik
This patch scales the font in TA by using ZOOM_FACTOR set in sugar.graphics.style (SL#1858) --- tawindow.py |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/tawindow.py b/tawindow.py index 6a5629e..271c78b 100644 --- a/tawindow.py +++ b/tawindow.py @@ -33,6 +33,7 @@

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

2010-09-10 Thread Sascha Silbe
Excerpts from James Cameron's message of Thu Sep 09 06:39:53 +0200 2010: > +if link == '.': > +return True > +if link.startswith('/') and full_path.startswith(link): > +return True Both shouldn't be necessary (will be catched by the loop de

Re: [Sugar-devel] SL bug #1520

2010-09-10 Thread Mukul Gupta
Hi, The patch is a temporary fix. According to Bernie,some other component is broken(X server?) and this is just a work around. However, I have filed a bug at gnome-bugzilla ( https://bugzilla.gnome.org/show_bug.cgi?id=629210#c0 ) regarding the same. Regards, Mukul On Fri, Sep 10, 2010 at 2:27

Re: [Sugar-devel] Analysing code changes, git diff

2010-09-10 Thread Sascha Silbe
Excerpts from Tomeu Vizoso's message of Thu Sep 09 15:01:01 +0200 2010: > Don't know about better diffs, but I like meld as driven by git mergetool. I like doing the merging in my text editor (though the presentation meld uses is interesting). You don't happen to know how I could tell git to incl

[Sugar-devel] internationalization: homonym handling in genpot?

2010-09-10 Thread Erik Blankinship
(maybe there is genpot list where this message is more apropos? Sorry, genpot is opaque to me.) My activity has two identical-in-english strings (homonyms) which need translating, but have two different meanings depending on context in an activity. How should I flag genpot that these are two diff

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

2010-09-10 Thread Sascha Silbe
Excerpts from James Cameron's message of Thu Sep 09 03:24:36 +0200 2010: > > > +if None not in [self._date_start, self._date_end] and \ > > > +(stat.st_mtime < self._date_start or > > > + stat.st_mtime > self._date_end): > > > +add_to_list = False > > >

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

2010-09-10 Thread Franco Miceli
Effectively by debugging both Sugar and NM I found that ListConnections shows all of the favourite connections on connetions.cfg -Double checked within sugar and in NM- but then NM doesn't pass them to real_get_best_autoconnection. So It's NM's fault, and doesn't involve Sugar. I'll report this t

Re: [Sugar-devel] Feedback about ticket #10122

2010-09-10 Thread Benjamin M. Schwartz
On 09/10/2010 09:54 AM, Gonzalo Odiard wrote: > Hi Ben: > I am trying to resolve the ticket http://dev.laptop.org/ticket/10122 > Can you review it? Could you test it in XO-1.5? I've been following the discussion, but I haven't looked at the patch yet. I've had a rather busy week. I can't easily

[Sugar-devel] Feedback about ticket #10122

2010-09-10 Thread Gonzalo Odiard
Hi Ben: I am trying to resolve the ticket http://dev.laptop.org/ticket/10122 Can you review it? Could you test it in XO-1.5? There are changes I did based in my tests, but I need to know if you agree. Thanks Gonzalo ___ Sugar-devel mailing list Sugar-dev

Re: [Sugar-devel] internationalization question about generating .pot

2010-09-10 Thread Erik Blankinship
On Fri, Sep 10, 2010 at 8:57 AM, Erik Blankinship wrote: > I am trying to internationalize an activity. > > The instructions here http://bit.ly/acg4Hz and > http://wiki.laptop.org/go/Python_i18n explain that I need to run setup.py > to generate a .pot file. > > The first link suggests my setup.py

[Sugar-devel] internationalization question about generating .pot

2010-09-10 Thread Erik Blankinship
I am trying to internationalize an activity. The instructions here http://bit.ly/acg4Hz and http://wiki.laptop.org/go/Python_i18n explain that I need to run setup.py to generate a .pot file. The first link suggests my setup.py should read: from sugar.activity import bundlebuilder bundlebuilder.s

Re: [Sugar-devel] SL bug #1520

2010-09-10 Thread Tomeu Vizoso
On Wed, Sep 8, 2010 at 11:15, Tomeu Vizoso wrote: > On Tue, Sep 7, 2010 at 20:01, Mukul Gupta 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. Inst

Re: [Sugar-devel] [PATCH] VncLauncher can't find the needed libs on OLPC's 10.1.2 release

2010-09-10 Thread Raul Gutierrez Segales
Here is a working (temporary) release: http://people.sugarlabs.org/~rgs/activities/vnclauncher-7.xo Note: I think this problem only affects 10.1.2. Dextrose users shouldn't be affected because the libvncserver package is included on those builds. On Fri, 2010-09-10 at 04:00 -0400, Raul Gutierre

Re: [Sugar-devel] [PATCH] VncLauncher can't find the needed libs on OLPC's 10.1.2 release

2010-09-10 Thread Tomeu Vizoso
On Fri, Sep 10, 2010 at 10:11, James Cameron wrote: > Can we help by adding back a package for 10.1.3? Or maybe we should set the env var in sugar-activity? I guess this worked in 0.82 because Rainbow used to set it. Regards, Tomeu > -- > James Cameron > http://quozl.linux.org.au/ > __

Re: [Sugar-devel] [PATCH] Shutdown and Logout menu items should activate the buzzy cursor (SL#2151)

2010-09-10 Thread Tomeu Vizoso
On Fri, Sep 10, 2010 at 10:15, James Cameron wrote: > On Fri, Sep 10, 2010 at 10:02:22AM +0200, Tomeu Vizoso wrote: >> On Wed, Sep 8, 2010 at 01:39, James Cameron wrote: >> > On Wed, Sep 08, 2010 at 08:10:27AM +0530, Anurag Chowdhury wrote: >> >> Shutdown (and Logout) menu items should activate t

Re: [Sugar-devel] [PATCH] Shutdown and Logout menu items should activate the buzzy cursor (SL#2151)

2010-09-10 Thread James Cameron
On Fri, Sep 10, 2010 at 10:02:22AM +0200, Tomeu Vizoso wrote: > On Wed, Sep 8, 2010 at 01:39, James Cameron wrote: > > On Wed, Sep 08, 2010 at 08:10:27AM +0530, Anurag Chowdhury wrote: > >> Shutdown (and Logout) menu items should activate the buzzy cursor (or > >> provide some other visual feedbac

Re: [Sugar-devel] [PATCH] VncLauncher can't find the needed libs on OLPC's 10.1.2 release

2010-09-10 Thread James Cameron
Can we help by adding back a package for 10.1.3? -- James Cameron http://quozl.linux.org.au/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel

Re: [Sugar-devel] [PATCH] Shutdown and Logout menu items should activate the buzzy cursor (SL#2151)

2010-09-10 Thread Tomeu Vizoso
On Wed, Sep 8, 2010 at 01:39, James Cameron wrote: > On Wed, Sep 08, 2010 at 08:10:27AM +0530, Anurag Chowdhury wrote: >> Shutdown (and Logout) menu items should activate the buzzy cursor (or >> provide some other visual feedback, perhaps dimming/locking the UI >> from use). > > You mean the busy

[Sugar-devel] [PATCH] VncLauncher can't find the needed libs on OLPC's 10.1.2 release

2010-09-10 Thread Raul Gutierrez Segales
Hi, The deployment here in Nigeria is updating their laptops to the 10.1.2 release. In the process, we found out the VncLauncher (v6) is not working because the bundled binary (x11vnc) needs a few libs. Even though one of the libs is included, the code doesn't export the library path before runnin