007_password_char.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. --- gtk+-2.8.10/gtk/gtkentry.c.set-invisible-char-to-bullet 2006-01-19 15:12:18.000000000 -0500
  2. +++ gtk+-2.8.10/gtk/gtkentry.c 2006-01-19 15:36:51.000000000 -0500
  3. @@ -542,7 +542,7 @@
  4. g_param_spec_unichar ("invisible-char",
  5. P_("Invisible character"),
  6. P_("The character to use when masking entry contents (in \"password mode\")"),
  7. - '*',
  8. + (gunichar) 0x25cf,
  9. GTK_PARAM_READWRITE));
  10. g_object_class_install_property (gobject_class,
  11. @@ -1000,7 +1000,7 @@
  12. entry->editable = TRUE;
  13. entry->visible = TRUE;
  14. - entry->invisible_char = '*';
  15. + entry->invisible_char = (gunichar) 0x25cf;
  16. entry->dnd_position = -1;
  17. entry->width_chars = -1;
  18. entry->is_cell_renderer = FALSE;
  19. @@ -4019,9 +4019,9 @@
  20. * gtk_entry_set_visibility() has been called to set text visibility
  21. * to %FALSE. i.e. this is the character used in "password mode" to
  22. * show the user how many characters have been typed. The default
  23. - * invisible char is an asterisk ('*'). If you set the invisible char
  24. - * to 0, then the user will get no feedback at all; there will be
  25. - * no text on the screen as they type.
  26. + * invisible char is a small bullet (Unicode character 2022). If you
  27. + * set the invisible char to 0, then the user will get no feedback at
  28. + * all; there will be no text on the screen as they type.
  29. *
  30. **/
  31. void