From kde-core-devel Tue Jul 07 03:24:05 2009 From: Andriy Rysin Date: Tue, 07 Jul 2009 03:24:05 +0000 To: kde-core-devel Subject: Re: flags Message-Id: <3e02eb610907062024v66addcb3xf54d876d6ef1532c () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=124693708404371 2009/7/6 Aaron J. Seigo : > 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