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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.mm

Issue 2743803003: [Mac] Restore bookmark bar no items text field to uneditable (Closed)
Patch Set: Created 3 years, 9 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/cocoa/bookmarks/bookmark_bar_view_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.mm
index 620ccb317c42bab7b940517b504562f8e609338d..1a44e33a0f07ce7fcce9f498ca81bd20b04cd94c 100644
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.mm
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view_cocoa.mm
@@ -93,6 +93,7 @@ static const CGFloat kTextFieldTrailingPadding = 5;
[noItemTextfield_ setFont:smallSystemFont];
[noItemTextfield_
setStringValue:l10n_util::GetNSString(IDS_BOOKMARKS_NO_ITEMS)];
+ [noItemTextfield_ setEditable:NO];
[noItemTextfield_ setBordered:NO];
[[noItemTextfield_ cell] setLineBreakMode:NSLineBreakByTruncatingTail];
« 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