[Sugar-devel] [sugar 0.98 PATCH v3] sl#1630, sl#3325: Support for mobile broadband provider database, plus ensure that all settings are persisted.

2012-08-13 Thread Ajay Garg
Note that the patch is to be applied in full, and NOT over version-2 and version-1 patch. Changes of version-3 over version-2 :: == Corrected the Makefile :-\ Sorry, as I don't have the actual environment, to build the sugar-rpm for mainline. Anyways, now

Re: [Sugar-devel] [PATCH sugar v5 0/3] Improve proxy support

2012-08-13 Thread Simon Schampijer
On 08/07/2012 03:32 PM, Sascha Silbe wrote: This series includes a completely reworked version of the Proxy Control Panel (now Proxy section in the Network Control Panel) patch. The new version has been based on Simon Schampijers mock-up [1], reflecting UI changes requested by both Simon and

Re: [Sugar-devel] [PATCH sugar v5 1/3] Properly wrap labels in the Network Control Panel (GTK#318276 workaround)

2012-08-13 Thread Simon Schampijer
On 08/07/2012 03:32 PM, Sascha Silbe wrote: When line wrapping is enabled (label.set_line_wrap(True)), GTK restricts labels to an arbitrary size, rather than utilising the entire allocated space. This has been known upstream since 2005 (GTK#318276 [1]), but remains unfixed to date. Work around

Re: [Sugar-devel] #3797 localization UNSP: Update pootle strings for Graph Plotter

2012-08-13 Thread Chris Leonard
On Mon, Aug 13, 2012 at 8:47 AM, S. Daniel Francis fran...@sugarlabs.org wrote: I think I found the problem, I just pulled the pootle commits, it reverted all the changes done after the previous pootle commit (version 1), and of course the new strings for be translated. I'll push the current

Re: [Sugar-devel] pixels to centimeters

2012-08-13 Thread Chris Leonard
I would suggest looking at Walter's Ruler activity. He may have solved this issue for you. http://activities.sugarlabs.org/en-US/sugar/addon/4192 cjl 2012/8/13 Flavio Danesse fdane...@gmail.com: Hey. I'm trying to build a GUI for touch screen and want the widgets have certain dimensions in

[Sugar-devel] [DESIGN] Visual clue about secondary options

2012-08-13 Thread Gonzalo Odiard
Looking at the ticket SL #3752 [1] Add page-based viewing functionality I found again a old problem we have not solved. If one button have a menu, is displayed pressing the secondary button, but the user does not have any clue about the existence of this menu. In the toolbar, when a button have a

Re: [Sugar-devel] [DESIGN] Visual clue about secondary options

2012-08-13 Thread Gary Martin
Hi Gonzalo, On 13 Aug 2012, at 16:38, Gonzalo Odiard gonz...@laptop.org wrote: Looking at the ticket SL #3752 [1] Add page-based viewing functionality I found again a old problem we have not solved. If one button have a menu, is displayed pressing the secondary button, but the user does

[Sugar-devel] Unicode strings in translations

2012-08-13 Thread Manuel Kaufmann
Hello, I'm working on Typing Turtle Gtk3 port and I found an error with the translations encoding. The thing is we can't combine Unicode strings and 8-bits strings: '¡Hola %s!' % 'camión' '\xc2\xa1Hola cami\xc3\xb3n!' u'¡Hola %s!' % u'camión' u'\xa1Hola cami\xf3n!' '¡Hola %s!' % u'camión'

[Sugar-devel] [DESIGN] higher-resolution thumbnails

2012-08-13 Thread Walter Bender
I have a proposal from the learning team regarding the resolution of the thumbnail images in the Journal. They'd like the thumbnails to be of a higher resolution, both for the detail view in the Journal and in the Portfolio activity. The motivation is that the current resolution (300x225) is not

Re: [Sugar-devel] Unicode strings in translations

2012-08-13 Thread S. Daniel Francis
2012/8/13 Manuel Kaufmann humi...@gmail.com: Hello, I'm working on Typing Turtle Gtk3 port and I found an error with the translations encoding. The thing is we can't combine Unicode strings and 8-bits strings: Hi, Manuel. I'm not an expert in unicode, I learned a big part of what I know at

Re: [Sugar-devel] [DESIGN] higher-resolution thumbnails

2012-08-13 Thread Gonzalo Odiard
While we do it, should be good have defined in sugar the size of the preview image (right now style.zoom(300) x style.zoom(225)) Now will need modify all the activities implementing get_preview() Gonzalo On Mon, Aug 13, 2012 at 1:38 PM, Walter Bender walter.ben...@gmail.comwrote: I have a

Re: [Sugar-devel] [DESIGN] Visual clue about secondary options

2012-08-13 Thread Gonzalo Odiard
On Mon, Aug 13, 2012 at 1:18 PM, Gary Martin garycmar...@googlemail.comwrote: Hi Gonzalo, On 13 Aug 2012, at 16:38, Gonzalo Odiard gonz...@laptop.org wrote: Looking at the ticket SL #3752 [1] Add page-based viewing functionality I found again a old problem we have not solved. If one

[Sugar-devel] [sugar-artwork] Apply theme in RadioToolButton

2012-08-13 Thread godiard
From: Gonzalo Odiard godi...@gmail.com This issue is displayed in the activities ported to gtk3, Finance SL#3739, Jukebox SL#3765, and Paint. Signed-off-by: Gonzalo Odiard gonz...@laptop.org --- gtk3/theme/gtk-widgets.css.em | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [Sugar-devel] Unicode strings in translations

2012-08-13 Thread Martin Langhoff
On Mon, Aug 13, 2012 at 12:35 PM, Manuel Kaufmann humi...@gmail.com wrote: To get Unicode strings from gettext I had to put these lines in my lesssonscreen.py file: import gettext gettext.install('po', unicode=True) Awright. Seems like gettext hasn't realized that it's 2012 and defaults to

Re: [Sugar-devel] Unicode strings in translations

2012-08-13 Thread Gonzalo Odiard
You can read a utf8 encodec file with codecs.open too. http://docs.python.org/library/codecs.html Gonzalo On Mon, Aug 13, 2012 at 5:23 PM, Alan Jhonn Aguiar Schwyn alan...@hotmail.com wrote: I have problems too.. I load the strings from a file, and have that problems (even the file is

Re: [Sugar-devel] [PATCH sugar 0/7] Remove last hippo occurrences from the shell

2012-08-13 Thread Simon Schampijer
On 08/06/2012 12:04 PM, Simon Schampijer wrote: This is a patch series to make the Sugar shell hippo free. Based on the work that has been done in [1] and [2]. It incorporates the patch from Sascha to move the EventIcon into the shell temporary. I merged those patches now with the suggestions

[Sugar-devel] [REMINDER] Development team meeting --- 14 August 2012 (15:00 UTC)

2012-08-13 Thread Simon Schampijer
Hi, tomorrow we will have our weekly dev team meeting. Time: 14. August 2012 (15:00 UTC) Place: #sugar-meeting (freenode) Topics: - introducing new contributors - follow up the shell port: http://wiki.sugarlabs.org/go/Features/GTK3/Shell (manuq) - follow up the touch support in the shell:

Re: [Sugar-devel] [DESIGN] Proposal: Multi-Selection and Batch Operations on Journal entries

2012-08-13 Thread Gary Martin
Thanks Ajay, On 13 Aug 2012, at 07:05, Ajay Garg a...@activitycentral.com wrote: Hi Gary. Made the change via the patch :: http://git.sugarlabs.org/dextrose/mainline/commit/d9426b3b0be8249110d3073015d2514402734930 That's a much smaller code change than mine ;) The latest sugar-rpm can be

Re: [Sugar-devel] Unicode strings in translations

2012-08-13 Thread S. Daniel Francis
2012/8/13 Gonzalo Odiard gonz...@laptop.org: You can read a utf8 encodec file with codecs.open too. http://docs.python.org/library/codecs.html Gonzalo I look some people is needing to know more about Unicode: The strings are encoded by default in ASCII, but with ASCII the computer can't

Re: [Sugar-devel] Unicode strings in translations

2012-08-13 Thread Manuel Kaufmann
On Mon, Aug 13, 2012 at 5:00 PM, Martin Langhoff martin.langh...@gmail.com wrote: I'd vote for gettext.install('po', unicode=True) everywhere. All Sugar builds have been in the utf-8 era, so this should work even in extremely old builds. What do you mean with everywhere here? Adding

Re: [Sugar-devel] Unicode strings in translations

2012-08-13 Thread Manuel Kaufmann
On Mon, Aug 13, 2012 at 5:23 PM, Alan Jhonn Aguiar Schwyn alan...@hotmail.com wrote: My solution: when load a string, convert it: name_converted = unicode(name, 'UTF-8') Yes, this is the __solution__. But I don't want to write this line all around my code, I expect that Python does this for me

Re: [Sugar-devel] Unicode strings in translations

2012-08-13 Thread Manuel Kaufmann
On Mon, Aug 13, 2012 at 6:18 PM, Gonzalo Odiard gonz...@laptop.org wrote: You can read a utf8 encodec file with codecs.open too. How would you merge this with gettext? -- Kaufmann Manuel Blog: http://humitos.wordpress.com/ Porfolio: http://fotos.mkaufmann.com.ar/ PyAr:

Re: [Sugar-devel] [DESIGN] Proposal: Multi-Selection and Batch Operations on Journal entries

2012-08-13 Thread Anish Mangal
There seem to be many bugs where something 'ugly' happens when something is clicked while an operation is happening. Can't we just lock all UI actions *while* batch operations are taking place (and only have an abort/cancel button)? Of course, this might be harder said than done, and might not be