Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7593)

Unified Diff: chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc

Issue 9460045: Add Mac interface for installing bundles of extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc
diff --git a/chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc b/chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc
index a7c11465c7e019925e7846f80fa1d208778422c5..7d12451b6cfe7b9b4915d7b866529596c72b9e96 100644
--- a/chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc
+++ b/chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc
@@ -120,12 +120,8 @@ void BundleInstalledBubbleGtk::InsertExtensionList(
gtk_box_pack_start(GTK_BOX(parent), heading_label, FALSE, FALSE, 0);
for (size_t i = 0; i < items.size(); ++i) {
- string16 extension_name = UTF8ToUTF16(items[i].localized_name);
- base::i18n::AdjustStringForLocaleDirection(&extension_name);
-
GtkWidget* extension_label = gtk_label_new(UTF16ToUTF8(
- l10n_util::GetStringFUTF16(
- IDS_EXTENSION_PERMISSION_LINE, extension_name)).c_str());
+ items[i].GetNameForDisplay()).c_str());
gtk_util::SetLabelWidth(extension_label, kContentWidth);
gtk_box_pack_start(GTK_BOX(parent), extension_label, false, false,
kListItemPadding);

Powered by Google App Engine
This is Rietveld 408576698