also install required files for HAVE_INCLUDES
[buildroot.git] / package / libgtk2 / 007_password_char.patch
blobed1357048ee4f3b87426f1ca4dae7ce42db3120b
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));
11 g_object_class_install_property (gobject_class,
12 @@ -1000,7 +1000,7 @@
14 entry->editable = TRUE;
15 entry->visible = TRUE;
16 - entry->invisible_char = '*';
17 + entry->invisible_char = (gunichar) 0x25cf;
18 entry->dnd_position = -1;
19 entry->width_chars = -1;
20 entry->is_cell_renderer = FALSE;
21 @@ -4019,9 +4019,9 @@
22 * gtk_entry_set_visibility() has been called to set text visibility
23 * to %FALSE. i.e. this is the character used in "password mode" to
24 * show the user how many characters have been typed. The default
25 - * invisible char is an asterisk ('*'). If you set the invisible char
26 - * to 0, then the user will get no feedback at all; there will be
27 - * no text on the screen as they type.
28 + * invisible char is a small bullet (Unicode character 2022). If you
29 + * set the invisible char to 0, then the user will get no feedback at
30 + * all; there will be no text on the screen as they type.
32 **/
33 void