| Index: chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.cc b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| index 1b8859d67c2c7b14d0f9ed1d404fecdb29a690de..465ed671e25b76ebb1ebb23c80258bd546eed6d9 100644
|
| --- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| @@ -945,6 +945,15 @@ void LocationBarViewGtk::UpdateSiteTypeArea() {
|
| gtk_widget_hide(GTK_WIDGET(security_info_label_));
|
| }
|
|
|
| + if (location_entry()->IsEditingOrEmpty()) {
|
| + // Do not show the tooltip if the user has been editing the location
|
| + // bar, or the location bar is at the NTP.
|
| + gtk_widget_set_tooltip_text(location_icon_image_, "");
|
| + } else {
|
| + gtk_widget_set_tooltip_text(location_icon_image_,
|
| + l10n_util::GetStringUTF8(IDS_TOOLTIP_LOCATION_ICON).c_str());
|
| + }
|
| +
|
| gtk_widget_show(site_type_area());
|
|
|
| SetSiteTypeDragSource();
|
|
|