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

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

Issue 8917011: Change signature of |ui::ElideText()|. Add a truncate mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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/avatar_menu_item_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/avatar_menu_item_gtk.cc (revision 114022)
+++ chrome/browser/ui/gtk/avatar_menu_item_gtk.cc (working copy)
@@ -253,7 +253,7 @@
string16 elided_name = ui::ElideText(item_.name,
gfx::Font(),
kUserNameMaxWidth,
- /* elide_in_middle */ false);
+ ui::ELIDE_AT_END);
if (item_.active) {
name_label = gtk_util::CreateBoldLabel(UTF16ToUTF8(elided_name));
} else {

Powered by Google App Engine
This is Rietveld 408576698