entry: Use a better icon for Caps Lock warning

Use the same icon we use in master now.
This commit is contained in:
Matthias Clasen
2019-03-15 18:57:46 -04:00
parent 9e658cb51d
commit 7b2c731fae
3 changed files with 4 additions and 1 deletions

View File

@@ -10834,7 +10834,7 @@ show_capslock_feedback (GtkEntry *entry,
if (gtk_entry_get_icon_storage_type (entry, GTK_ENTRY_ICON_SECONDARY) == GTK_IMAGE_EMPTY)
{
gtk_entry_set_icon_from_icon_name (entry, GTK_ENTRY_ICON_SECONDARY, "dialog-warning-symbolic");
gtk_entry_set_icon_from_icon_name (entry, GTK_ENTRY_ICON_SECONDARY, "caps-lock-symbolic");
gtk_entry_set_icon_activatable (entry, GTK_ENTRY_ICON_SECONDARY, FALSE);
priv->caps_lock_warning_shown = TRUE;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

View File

@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
<path d="M8.07.918L1 7.988h3v4h8v-4h3.143zM4 12.988v2h8v-2z" style="marker:none" color="#bebebe" fill="#2e3436"/>
</svg>

After

Width:  |  Height:  |  Size: 188 B