Files
gtk3/debian/patches/030_gtkentry_password-char-circle.patch
Loïc Minier 83b5c136a7 * New upstream development release, with API additions; the new API may
still change incompatibly.
  - Bump shlibs to >= 2.11.3.
  - Refresh patches 006_proper-directfb-modules,
    008_implicit_pointer_conversion_gdkgc_directfb,
    009_gtk-export-filechooser, 030_gtkentry_password-char-circle,
    033_treeview_resizing, 040_filechooser_single-click, and 041_ia32-libs
    to apply cleanly.
  - Update relibtoolizing patch, 070_mandatory-relibtoolize.
2007-06-16 13:05:24 +00:00

36 lines
1.5 KiB
Diff

Index: gtk+2.0-2.11.3/gtk/gtkentry.c
===================================================================
--- gtk+2.0-2.11.3.orig/gtk/gtkentry.c 2007-06-15 20:07:37.000000000 +0200
+++ gtk+2.0-2.11.3/gtk/gtkentry.c 2007-06-16 14:25:47.000000000 +0200
@@ -537,7 +537,7 @@
g_param_spec_unichar ("invisible-char",
P_("Invisible character"),
P_("The character to use when masking entry contents (in \"password mode\")"),
- '*',
+ (gunichar) 0x25CF,
GTK_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
@@ -1101,7 +1101,7 @@
entry->editable = TRUE;
entry->visible = TRUE;
- entry->invisible_char = '*';
+ entry->invisible_char = (gunichar) 0x25CF;
entry->dnd_position = -1;
entry->width_chars = -1;
entry->is_cell_renderer = FALSE;
@@ -4550,9 +4550,9 @@
* gtk_entry_set_visibility() has been called to set text visibility
* to %FALSE. i.e. this is the character used in "password mode" to
* show the user how many characters have been typed. The default
- * invisible char is an asterisk ('*'). If you set the invisible char
- * to 0, then the user will get no feedback at all; there will be
- * no text on the screen as they type.
+ * invisible char is a black circle (Unicode character 25CF). If
+ * you set the invisible char to 0, then the user will get no
+ * feedback at all; there will be no text on the screen as they type.
**/
void
gtk_entry_set_invisible_char (GtkEntry *entry,