flags

Andriy Rysin arysin at gmail.com
Tue Jul 7 04:24:05 BST 2009


2009/7/6 Aaron J. Seigo <aseigo at kde.org>:
> we just added a translation plasmoid to kdeplasma-addons. it has flags from
> around the world. i see that ktorrent does this as well. the locale kcm uses
> flags from the installed l10n packages.
keyboard_layout kcm also uses flags from installed l10n packages
http://websvn.kde.org/trunk/KDE/kdebase/workspace/kcontrol/kxkb/pixmap.cpp?revision=747056&view=markup&sortby=date

it also uses some (ugly) heuristics to deal with the layout names
which are not quite countries to try to deduct the right flag, hough
this code may be getting obsolete with newer (and cleaner) structure
of xkeyboard-config names - I haven't had a time to recheck




More information about the kde-core-devel mailing list