Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(583)

Unified Diff: chrome/browser/chromeos/login/language_switch_menu.cc

Issue 8233029: More Aura fixes to build with chromeos==1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed x11 issue. Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/language_switch_menu.cc
diff --git a/chrome/browser/chromeos/login/language_switch_menu.cc b/chrome/browser/chromeos/login/language_switch_menu.cc
index 2c0f370555300218faffdf8c2c88f0d3e2f053ac..841e511016fc3134235c5ab9e9669040c5e9ded5 100644
--- a/chrome/browser/chromeos/login/language_switch_menu.cc
+++ b/chrome/browser/chromeos/login/language_switch_menu.cc
@@ -133,6 +133,7 @@ bool LanguageSwitchMenu::SwitchLanguage(const std::string& locale) {
// static
void LanguageSwitchMenu::LoadFontsForCurrentLocale() {
+#if defined(TOOLKIT_USES_GTK)
std::string gtkrc = l10n_util::GetStringUTF8(IDS_LOCALE_GTKRC);
// Read locale-specific gtkrc. Ideally we'd discard all the previously read
@@ -145,6 +146,7 @@ void LanguageSwitchMenu::LoadFontsForCurrentLocale() {
gtk_rc_parse_string(gtkrc.c_str());
else
gtk_rc_parse("/etc/gtk-2.0/gtkrc");
+#endif
sky 2011/10/12 00:04:34 If you don't have a NOTIMPLEMENTED here, then you
Emmanuel Saint-loubert-Bié 2011/10/12 00:21:28 Done.
// Switch the font.
gfx::PlatformFontPango::ReloadDefaultFont();

Powered by Google App Engine
This is Rietveld 408576698