diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-05 20:35:33 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-05 20:35:33 +0000 |
commit | c16b5e7d78ac395d715fc3804888b2230fcbba63 (patch) | |
tree | 0dd3fce2debca56a459533c2771d0bf50fc2ca28 /chrome | |
parent | 04a81bac7e7cc2c1caa9bbe21021061df6d9f722 (diff) | |
download | chromium_src-c16b5e7d78ac395d715fc3804888b2230fcbba63.zip chromium_src-c16b5e7d78ac395d715fc3804888b2230fcbba63.tar.gz chromium_src-c16b5e7d78ac395d715fc3804888b2230fcbba63.tar.bz2 |
Use custom strings for importer lock dialog.
Also make the text wrap.
BUG=13435
Review URL: http://codereview.chromium.org/118318
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17764 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/gtk/import_lock_dialog_gtk.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/gtk/import_lock_dialog_gtk.cc b/chrome/browser/gtk/import_lock_dialog_gtk.cc index 179df9f..07b59d6 100644 --- a/chrome/browser/gtk/import_lock_dialog_gtk.cc +++ b/chrome/browser/gtk/import_lock_dialog_gtk.cc @@ -21,9 +21,9 @@ ImportLockDialogGtk::ImportLockDialogGtk(GtkWindow* parent, l10n_util::GetStringUTF8(IDS_IMPORTER_LOCK_TITLE).c_str(), parent, (GtkDialogFlags) (GTK_DIALOG_MODAL | GTK_DIALOG_NO_SEPARATOR), - GTK_STOCK_OK, + l10n_util::GetStringUTF8(IDS_IMPORTER_LOCK_OK).c_str(), GTK_RESPONSE_ACCEPT, - GTK_STOCK_CANCEL, + l10n_util::GetStringUTF8(IDS_IMPORTER_LOCK_CANCEL).c_str(), GTK_RESPONSE_REJECT, NULL); @@ -31,7 +31,7 @@ ImportLockDialogGtk::ImportLockDialogGtk(GtkWindow* parent, gtk_box_set_spacing(GTK_BOX(content_area), 18); GtkWidget* label = gtk_label_new( l10n_util::GetStringUTF8(IDS_IMPORTER_LOCK_TEXT).c_str()); - gtk_label_set_single_line_mode(GTK_LABEL(label), FALSE); + gtk_label_set_line_wrap(GTK_LABEL(label), TRUE); gtk_box_pack_start(GTK_BOX(content_area), label, FALSE, FALSE, 0); g_signal_connect(dialog_, "response", |