Макс Лапшин (levgem) wrote,
Макс Лапшин
levgem

Ай-ай-ай. Гуглу яндекс уже начал создавать проблемы, раз началась неконкурентная борьба:


svn diff -r84234:84235 http://src.chromium.org/svn/trunk/src

Index: chrome/browser/first_run/first_run.cc
===================================================================
--- chrome/browser/first_run/first_run.cc	(revision 84234)
+++ chrome/browser/first_run/first_run.cc	(revision 84235)
@@ -396,6 +396,14 @@
 }
 
 // static
+bool FirstRun::SearchEngineSelectorDisallowed() {
+  // For now, the only case in which the search engine dialog should never be
+  // shown is if the locale is Russia.
+  std::string locale = g_browser_process->GetApplicationLocale();
+  return (locale == "ru");
+}
+
+// static
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 40 comments