diff options
author | Maximiliano Sandoval R <msandova@protonmail.com> | 2021-07-20 13:00:05 +0200 |
---|---|---|
committer | Maximiliano Sandoval R <msandova@protonmail.com> | 2021-07-20 13:00:05 +0200 |
commit | ead31db096c4bcee44244fd6deda0acec960a8a1 (patch) | |
tree | de1ff9757ba750d4f2214dd46487ad821febe400 /gtk | |
parent | 69fda941c744854205c7389e8aaa53405d9b778c (diff) | |
download | gtk+-ead31db096c4bcee44244fd6deda0acec960a8a1.tar.gz |
password_entry: Header Capitalization on tooltip
See https://teams.pages.gitlab.gnome.org/Design/hig-www/feedback/tooltips.html
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkpasswordentry.c | 6 |
1 files 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 (); |