[epiphany] url-entry: Add placeholder text



commit 83540fb3f3d2df1674b9ad0fbb780b54140ecfbd
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Sat Jan 11 12:06:14 2020 +0100

    url-entry: Add placeholder text

 lib/widgets/ephy-location-entry.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index ab50f9ad6..944e456a6 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -929,6 +929,7 @@ ephy_location_entry_construct_contents (EphyLocationEntry *entry)
   dzl_suggestion_entry_set_position_func (DZL_SUGGESTION_ENTRY (entry->url_entry), position_func, NULL, 
NULL);
   gtk_entry_set_icon_tooltip_text (GTK_ENTRY (entry->url_entry), GTK_ENTRY_ICON_PRIMARY, _("Show website 
security status and permissions"));
   gtk_entry_set_width_chars (GTK_ENTRY (entry->url_entry), 0);
+  gtk_entry_set_placeholder_text (GTK_ENTRY (entry->url_entry), _("Search for websites, bookmarks, and open 
tabs"));
 
   /* Add special widget css provider */
   context = gtk_widget_get_style_context (GTK_WIDGET (entry->url_entry));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]