From ead31db096c4bcee44244fd6deda0acec960a8a1 Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval R Date: Tue, 20 Jul 2021 13:00:05 +0200 Subject: [PATCH] password_entry: Header Capitalization on tooltip See https://teams.pages.gitlab.gnome.org/Design/hig-www/feedback/tooltips.html --- gtk/gtkpasswordentry.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk/gtkpasswordentry.c b/gtk/gtkpasswordentry.c index 4975ee7312..0e66499c69 100644 --- a/gtk/gtkpasswordentry.c +++ b/gtk/gtkpasswordentry.c @@ -164,12 +164,12 @@ visibility_toggled (GObject *object, if (gtk_text_get_visibility (GTK_TEXT (entry->entry))) { gtk_image_set_from_icon_name (GTK_IMAGE (entry->peek_icon), "eye-open-negative-filled-symbolic"); - gtk_widget_set_tooltip_text (entry->peek_icon, _("Hide text")); + gtk_widget_set_tooltip_text (entry->peek_icon, _("Hide Text")); } else { gtk_image_set_from_icon_name (GTK_IMAGE (entry->peek_icon), "eye-not-looking-symbolic"); - gtk_widget_set_tooltip_text (entry->peek_icon, _("Show text")); + gtk_widget_set_tooltip_text (entry->peek_icon, _("Show Text")); } if (entry->keyboard) @@ -603,7 +603,7 @@ gtk_password_entry_set_show_peek_icon (GtkPasswordEntry *entry, GtkGesture *press; entry->peek_icon = gtk_image_new_from_icon_name ("eye-not-looking-symbolic"); - gtk_widget_set_tooltip_text (entry->peek_icon, _("Show text")); + gtk_widget_set_tooltip_text (entry->peek_icon, _("Show Text")); gtk_widget_set_parent (entry->peek_icon, GTK_WIDGET (entry)); press = gtk_gesture_click_new ();