sugarlabs/sugar — pull request #306 by walterbender (2014-03-25 16:06:10+00:00)
Title: Replace combobox with palettes on Language cpsection

The Language-selection combobox does not work properly with touch and
the long list of language and country-variants is almost impossible to
use. (This is a revision of PR #279 -- as per the recommendation of
Gonzalo, no ellipsis or max character width is used since we have
ample room.)

This patch does three things:
(1) separates language selection from country selection, thus making
the language list less unwieldy; and
(2) replaces the combobox with a palette of menus.
(3) cleans up some long-standing issues with locale processing in model.py

Try-2: pyflakes cleanup; added touch-event in button label; improved
processing of locales; remove unneed special cases for Pashto and
Kreyol (w/Gonzalo Odiard)

The design has been discussed and reviewed [1, 2].

[1] http://wiki.sugarlabs.org/go/Features/Replace_combo_box_in_language_panel
[2] http://lists.sugarlabs.org/archive/sugar-devel/2014-March/047362.html