New XO-1.5 10.2.0 build 125 - control panel

Bernie Innocenti bernie at codewiz.org
Fri May 21 12:53:58 UTC 2010


[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 at 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/



More information about the olpc mailing list