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

Unified Diff: chrome/browser/ui/gtk/avatar_menu_item_gtk.cc

Issue 10828199: [gtk] Use correct string (user name) in avatar bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/avatar_menu_item_gtk.cc
diff --git a/chrome/browser/ui/gtk/avatar_menu_item_gtk.cc b/chrome/browser/ui/gtk/avatar_menu_item_gtk.cc
index 434fe22cfebc3a25a525c9753289b68557f2e4d2..6df1261805a0a91f101654c9fb48d539073e3b93 100644
--- a/chrome/browser/ui/gtk/avatar_menu_item_gtk.cc
+++ b/chrome/browser/ui/gtk/avatar_menu_item_gtk.cc
@@ -236,7 +236,7 @@ void AvatarMenuItemGtk::Init(GtkThemeService* theme_service) {
ui::kGdkBlack);
if (item_.active) {
char* markup = g_markup_printf_escaped(
- "<span weight='bold'>%s</span>", UTF16ToUTF8(item_.sync_state).c_str());
+ "<span weight='bold'>%s</span>", UTF16ToUTF8(elided_name).c_str());
gtk_label_set_markup(GTK_LABEL(name_label), markup);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698