Simple and quite effective :-)
Changing MAX_COLUMNS to 4 in /usr/lib/python2.6/site-packages/jarabe/controlpanel/gui.py
did the trick.
And still has space for (just) one more control.
--- On Fri, 5/21/10, Bernie Innocenti <bernie(a)codewiz.org> wrote:
From: Bernie Innocenti <bernie(a)codewiz.org>
Subject: Re: New XO-1.5 10.2.0 build 125 - control panel
To: "Yioryos Asprobounitis" <mavrothal(a)yahoo.com>
Cc: "Fedora OLPC" <fedora-olpc-list(a)redhat.com>, "Chris Ball"
<cjb(a)laptop.org>, "Devel" <devel(a)lists.laptop.org>,
"timClicks" <paperless(a)timmcnamara.co.nz>, "Sugar Devel"
<sugar-devel(a)lists.sugarlabs.org>
Date: Friday, May 21, 2010, 8:53 AM
[cc += sugar-devel@, timclicks]
El Fri, 21-05-2010 a las 04:13 -0700, Yioryos Asprobounitis
escribió:
> This probably belongs to SugarLabs Devel but maybe the
control panel layout must be reengineered to properly fit
all the controls.
> In the current layout is easy to miss the scroll-bar
at the bottom and he software update/language panels.
> With the upcoming touchpad control panel, and maybe
more things to come, is going to get worse.
> Smaller icons should be an easy immediate fix and
maybe tabs could be considered for the future.
I've applied the following patch to my builds. It mitigates
the problem,
at least on the screen size of the XO-1.
The correct approach, of course, would be computing the
number of rows
from the current width of the window divided by the width
of each
column. (patches welcome).
From d667cedc5052a95909578e6cc2e50472c0916e7c Mon Sep 17
00:00:00 2001
From: timClicks <paperless(a)timmcnamara.co.nz>
Date: Sun, 16 May 2010 01:02:36 +1200
Subject: [PATCH 4/4] _MAX_COLUMNS now 4
The 'My Settings' dialogue no longer overhands on the right
on
the XO-1. This change will generally provide better
performance
for small screens.
---
src/jarabe/controlpanel/gui.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/jarabe/controlpanel/gui.py
b/src/jarabe/controlpanel/gui.py
index 51d9820..fb9010f 100644
--- a/src/jarabe/controlpanel/gui.py
+++ b/src/jarabe/controlpanel/gui.py
@@ -33,7 +33,7 @@ from jarabe.controlpanel.toolbar import
SectionToolbar
from jarabe import config
_logger = logging.getLogger('ControlPanel')
-_MAX_COLUMNS = 5
+_MAX_COLUMNS = 4
class ControlPanel(gtk.Window):
__gtype_name__ =
'SugarControlPanel'
--
1.7.0.4
--
// Bernie Innocenti -
http://codewiz.org/
\X/ Sugar Labs -
http://sugarlabs.org/