Skip to content

Commit 178cb82

Browse files
committed
st-password-entry.c: Use a 'bullet' character for password masking.
This character is more common and likely to exist in most font sets. Fixes linuxmint/mint-themes#518
1 parent c621f5d commit 178cb82

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/st/st-password-entry.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "st-password-entry.h"
2222
#include "st-icon.h"
2323

24-
#define BLACK_CIRCLE 9679
24+
#define BULLET 8226
2525

2626
enum
2727
{
@@ -167,7 +167,7 @@ st_password_entry_init (StPasswordEntry *entry)
167167
priv->show_peek_icon = TRUE;
168168

169169
clutter_text = st_entry_get_clutter_text (ST_ENTRY (entry));
170-
clutter_text_set_password_char (CLUTTER_TEXT (clutter_text), BLACK_CIRCLE);
170+
clutter_text_set_password_char (CLUTTER_TEXT (clutter_text), BULLET);
171171

172172
g_signal_connect (clutter_text, "notify::password-char",
173173
G_CALLBACK (clutter_text_password_char_cb), entry);
@@ -261,7 +261,7 @@ st_password_entry_set_password_visible (StPasswordEntry *entry,
261261
}
262262
else
263263
{
264-
clutter_text_set_password_char (CLUTTER_TEXT (clutter_text), BLACK_CIRCLE);
264+
clutter_text_set_password_char (CLUTTER_TEXT (clutter_text), BULLET);
265265
st_icon_set_icon_name (ST_ICON (priv->peek_password_icon), "xsi-view-conceal-symbolic");
266266
}
267267

0 commit comments

Comments
 (0)