* Reenabled flags via the new BLocaleRoster::GetFlagIconForLanguage() method.
+alpha (also for the previous commit) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41745 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -63,20 +63,14 @@ public:
|
||||
BStringItem(label),
|
||||
fLanguage(language)
|
||||
{
|
||||
// Don't use *country* flags for *languages*. Can be re-enabled and adjusted
|
||||
// accordingly once we have language icons.
|
||||
#if 0
|
||||
fIcon = new(std::nothrow) BBitmap(BRect(0, 0, 15, 15), B_RGBA32);
|
||||
if (fIcon != NULL
|
||||
&& (!fIcon->IsValid()
|
||||
|| BLocaleRoster::Default()->GetFlagIconForCountry(fIcon,
|
||||
|| BLocaleRoster::Default()->GetFlagIconForLanguage(fIcon,
|
||||
language) != B_OK)) {
|
||||
delete fIcon;
|
||||
fIcon = NULL;
|
||||
}
|
||||
#else
|
||||
fIcon = NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
~LanguageItem()
|
||||
|
||||
Reference in New Issue
Block a user