[gtk: 1/2] password_entry: Header Capitalization on tooltip
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] password_entry: Header Capitalization on tooltip
- Date: Tue, 20 Jul 2021 11:17:37 +0000 (UTC)
commit ead31db096c4bcee44244fd6deda0acec960a8a1
Author: Maximiliano Sandoval R <msandova protonmail com>
Date: Tue Jul 20 13:00:05 2021 +0200
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 ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]