Gentoo Archives: gentoo-user

From: Norberto Bensa <nbensa@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Firefox: password field
Date: Thu, 17 Apr 2008 02:59:55
Message-Id: 20080416235946.2p2m7l6ps0k0gswo@mail.bensa.ar
In Reply to: Re: [gentoo-user] Firefox: password field by Pariksheet Nanda
1 Quoting Pariksheet Nanda <pariksheet.nanda@×××××.com>:
2
3 > Most likely the stars and asterisks difference is because your 2 desktops
4 > are using different themes.
5 > (Or one of the desktops uses a modified theme by the same name)
6 >
7
8 An Ubuntu patch indeed. For those interested:
9
10 zoolook@venkman ~ $ cat
11 /usr/portage/local/zoolook/x11-libs/gtk+/files/gtk+2.0_2.12.0-1ubuntu3-invisible-char.patch
12 Index: gtk+2.0-2.11.3/gtk/gtkentry.c
13 ===================================================================
14 --- gtk+2.0-2.11.3.orig/gtk/gtkentry.c 2007-06-15 20:07:37.000000000 +0200
15 +++ gtk+2.0-2.11.3/gtk/gtkentry.c 2007-06-16 14:25:47.000000000 +0200
16 @@ -537,7 +537,7 @@
17 g_param_spec_unichar ("invisible-char",
18
19 P_("Invisible character"),
20 P_("The
21 character to use when masking entry contents (in \"password mode\")"),
22 - '*',
23 + (gunichar) 0x25CF,
24
25 GTK_PARAM_READWRITE));
26
27 g_object_class_install_property (gobject_class,
28 @@ -1101,7 +1101,7 @@
29
30 entry->editable = TRUE;
31 entry->visible = TRUE;
32 - entry->invisible_char = '*';
33 + entry->invisible_char = (gunichar) 0x25CF;
34 entry->dnd_position = -1;
35 entry->width_chars = -1;
36 entry->is_cell_renderer = FALSE;
37 @@ -4550,9 +4550,9 @@
38 * gtk_entry_set_visibility() has been called to set text visibility
39 * to %FALSE. i.e. this is the character used in "password mode" to
40 * show the user how many characters have been typed. The default
41 - * invisible char is an asterisk ('*'). If you set the invisible char
42 - * to 0, then the user will get no feedback at all; there will be
43 - * no text on the screen as they type.
44 + * invisible char is a black circle (Unicode character 25CF). If
45 + * you set the invisible char to 0, then the user will get no
46 + * feedback at all; there will be no text on the screen as they type.
47 **/
48 void
49 gtk_entry_set_invisible_char (GtkEntry *entry,
50
51
52 ----------------------------------------------------------------
53 This message was sent using IMP, the Internet Messaging Program.
54
55
56 --
57 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Firefox: password field Dan Farrell <dan@×××××××××.cx>