gtksearchentry: Apply header capitalization to the "Clear entry" tooltip

HIG advises to use header capitalization in tooltip texts.

https://developer.gnome.org/hig/patterns/feedback/tooltips.html
This commit is contained in:
Automeris naranja 2023-02-12 17:38:24 -03:00 committed by Matthias Clasen
parent e5a391c0b9
commit 4073371416

View File

@ -623,7 +623,7 @@ gtk_search_entry_init (GtkSearchEntry *entry)
"accessible-role", GTK_ACCESSIBLE_ROLE_PRESENTATION,
"icon-name", "edit-clear-symbolic",
NULL);
gtk_widget_set_tooltip_text (entry->icon, _("Clear entry"));
gtk_widget_set_tooltip_text (entry->icon, _("Clear Entry"));
gtk_widget_set_parent (entry->icon, GTK_WIDGET (entry));
gtk_widget_set_child_visible (entry->icon, FALSE);