| Index: chrome/browser/first_run_gtk.cc
|
| ===================================================================
|
| --- chrome/browser/first_run_gtk.cc (revision 20029)
|
| +++ chrome/browser/first_run_gtk.cc (working copy)
|
| @@ -27,7 +27,7 @@
|
|
|
| } // namespace
|
|
|
| -void OpenFirstRunDialog(Profile* profile, ProcessSingleton* process_singleton) {
|
| +bool OpenFirstRunDialog(Profile* profile, ProcessSingleton* process_singleton) {
|
| #if defined(GOOGLE_CHROME_BUILD)
|
| GtkWidget* dialog = gtk_dialog_new_with_buttons(
|
| "Google Chrome Dev Build",
|
| @@ -111,7 +111,8 @@
|
| MessageLoop::current()->Run();
|
| // End of above TODO.
|
|
|
| - if (response == GTK_RESPONSE_ACCEPT) {
|
| + bool accepted = (response == GTK_RESPONSE_ACCEPT);
|
| + if (accepted) {
|
| // Mark that first run has ran.
|
| FirstRun::CreateSentinel();
|
| if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(check))) {
|
| @@ -125,7 +126,9 @@
|
| }
|
|
|
| gtk_widget_destroy(dialog);
|
| + return accepted;
|
| #else // defined(GOOGLE_CHROME_BUILD)
|
| FirstRun::CreateSentinel();
|
| + return true;
|
| #endif
|
| }
|
|
|
| Property changes on: chrome\browser\first_run_gtk.cc
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|