diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-27 02:30:09 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-27 02:30:09 +0000 |
commit | b94cc03b8e1d0d77ff994e7a80ff90c085e15b95 (patch) | |
tree | 88b02d6962b89e52ad2ddb448c0fb8aae0b01b20 /chrome/browser | |
parent | d8627c165655488b452556cebbb7e9ae31b0a9cf (diff) | |
download | chromium_src-b94cc03b8e1d0d77ff994e7a80ff90c085e15b95.zip chromium_src-b94cc03b8e1d0d77ff994e7a80ff90c085e15b95.tar.gz chromium_src-b94cc03b8e1d0d77ff994e7a80ff90c085e15b95.tar.bz2 |
Rename button from "Close" to "Done" on bookmark bubble and content bubbles.
xib changes: Change ^IDS_CLOSE to ^IDS_DONE.
BUG=36959
TEST=Open bookmark bubble. Button should read "Done". Go to popuptest.com, click "popups blocked" icon. Button in bubble should read "Done".
Review URL: http://codereview.chromium.org/661235
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40202 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/gtk/bookmark_bubble_gtk.cc | 2 | ||||
-rw-r--r-- | chrome/browser/gtk/content_blocked_bubble_gtk.cc | 2 | ||||
-rw-r--r-- | chrome/browser/views/bookmark_bubble_view.cc | 2 | ||||
-rw-r--r-- | chrome/browser/views/content_blocked_bubble_contents.cc | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/gtk/bookmark_bubble_gtk.cc b/chrome/browser/gtk/bookmark_bubble_gtk.cc index 52c851f..e49b6b2 100644 --- a/chrome/browser/gtk/bookmark_bubble_gtk.cc +++ b/chrome/browser/gtk/bookmark_bubble_gtk.cc @@ -167,7 +167,7 @@ BookmarkBubbleGtk::BookmarkBubbleGtk(GtkWindow* toplevel_window, GtkWidget* edit_button = gtk_button_new_with_label( l10n_util::GetStringUTF8(IDS_BOOMARK_BUBBLE_OPTIONS).c_str()); GtkWidget* close_button = gtk_button_new_with_label( - l10n_util::GetStringUTF8(IDS_CLOSE).c_str()); + l10n_util::GetStringUTF8(IDS_DONE).c_str()); // Our content is arranged in 3 rows. |top| contains a left justified // message, and a right justified remove link button. |table| is the middle diff --git a/chrome/browser/gtk/content_blocked_bubble_gtk.cc b/chrome/browser/gtk/content_blocked_bubble_gtk.cc index bbeda7f..1817ed6 100644 --- a/chrome/browser/gtk/content_blocked_bubble_gtk.cc +++ b/chrome/browser/gtk/content_blocked_bubble_gtk.cc @@ -207,7 +207,7 @@ void ContentBlockedBubbleGtk::BuildBubble() { gtk_box_pack_start(GTK_BOX(bottom_box), manage_link, FALSE, FALSE, 0); GtkWidget* button = gtk_button_new_with_label( - l10n_util::GetStringUTF8(IDS_CLOSE).c_str()); + l10n_util::GetStringUTF8(IDS_DONE).c_str()); g_signal_connect(button, "clicked", G_CALLBACK(OnCloseButtonClicked), this); gtk_box_pack_end(GTK_BOX(bottom_box), button, FALSE, FALSE, 0); diff --git a/chrome/browser/views/bookmark_bubble_view.cc b/chrome/browser/views/bookmark_bubble_view.cc index 425d1ce5..b6d7519 100644 --- a/chrome/browser/views/bookmark_bubble_view.cc +++ b/chrome/browser/views/bookmark_bubble_view.cc @@ -242,7 +242,7 @@ void BookmarkBubbleView::Init() { edit_button_ = new NativeButton( this, l10n_util::GetString(IDS_BOOMARK_BUBBLE_OPTIONS)); - close_button_ = new NativeButton(this, l10n_util::GetString(IDS_CLOSE)); + close_button_ = new NativeButton(this, l10n_util::GetString(IDS_DONE)); close_button_->SetIsDefault(true); parent_combobox_ = new Combobox(&parent_model_); diff --git a/chrome/browser/views/content_blocked_bubble_contents.cc b/chrome/browser/views/content_blocked_bubble_contents.cc index 83bf866..edbb22d 100644 --- a/chrome/browser/views/content_blocked_bubble_contents.cc +++ b/chrome/browser/views/content_blocked_bubble_contents.cc @@ -303,6 +303,6 @@ void ContentBlockedBubbleContents::InitControlLayout() { layout->AddView(manage_link_); close_button_ = - new views::NativeButton(this, l10n_util::GetString(IDS_CLOSE)); + new views::NativeButton(this, l10n_util::GetString(IDS_DONE)); layout->AddView(close_button_); } |