| Index: chrome/browser/gtk/about_chrome_dialog.cc
|
| ===================================================================
|
| --- chrome/browser/gtk/about_chrome_dialog.cc (revision 26082)
|
| +++ chrome/browser/gtk/about_chrome_dialog.cc (working copy)
|
| @@ -15,6 +15,7 @@
|
| #include "chrome/browser/profile.h"
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/gtk_util.h"
|
| +#include "chrome/common/url_constants.h"
|
| #include "grit/chromium_strings.h"
|
| #include "grit/generated_resources.h"
|
| #include "grit/locale_settings.h"
|
| @@ -23,10 +24,6 @@
|
|
|
| namespace {
|
|
|
| -// The URLs that you navigate to when clicking the links in the About dialog.
|
| -const char* const kAcknowledgements = "about:credits";
|
| -const char* const kTOS = "about:terms";
|
| -
|
| // Left or right margin.
|
| const int kPanelHorizMargin = 13;
|
|
|
| @@ -205,7 +202,7 @@
|
| const_cast<char*>(GetChromiumUrl()));
|
| g_signal_connect(chromium_url_appears_first ? second_link : first_link,
|
| "clicked", G_CALLBACK(OnLinkButtonClick),
|
| - const_cast<char*>(kAcknowledgements));
|
| + const_cast<char*>(chrome::kAboutCreditsURL));
|
|
|
| GtkWidget* license_hbox = gtk_hbox_new(FALSE, 0);
|
| gtk_box_pack_start(GTK_BOX(license_hbox), license_chunk1,
|
| @@ -251,7 +248,7 @@
|
| gtk_box_pack_start(GTK_BOX(tos_hbox), tos_chunk2, FALSE, FALSE, 0);
|
|
|
| g_signal_connect(tos_link, "clicked", G_CALLBACK(OnLinkButtonClick),
|
| - const_cast<char*>(kTOS));
|
| + const_cast<char*>(chrome::kAboutTermsURL));
|
| gtk_box_pack_start(GTK_BOX(vbox), tos_hbox, TRUE, TRUE, 0);
|
| #endif
|
|
|
|
|