rpms/gtk2/devel gtk+-2.8.10-set-invisible-char-to-bullet.patch, NONE, 1.1 gtk2.spec, 1.110, 1.111
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Jan 19 20:46:04 UTC 2006
Author: caillon
Update of /cvs/dist/rpms/gtk2/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv17859
Modified Files:
gtk2.spec
Added Files:
gtk+-2.8.10-set-invisible-char-to-bullet.patch
Log Message:
* Thu Jan 19 2006 Christopher Aillon <caillon at redhat.com> 2.8.10-4
- Use Unicode character 2022 for the default invisible character
gtk+-2.8.10-set-invisible-char-to-bullet.patch:
gtkentry.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
--- NEW FILE gtk+-2.8.10-set-invisible-char-to-bullet.patch ---
--- gtk+-2.8.10/gtk/gtkentry.c.set-invisible-char-to-bullet 2006-01-19 15:12:18.000000000 -0500
+++ gtk+-2.8.10/gtk/gtkentry.c 2006-01-19 15:36:51.000000000 -0500
@@ -542,7 +542,7 @@
g_param_spec_unichar ("invisible-char",
P_("Invisible character"),
P_("The character to use when masking entry contents (in \"password mode\")"),
- '*',
+ (gunichar) 0x2022,
GTK_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
@@ -1000,7 +1000,7 @@
entry->editable = TRUE;
entry->visible = TRUE;
- entry->invisible_char = '*';
+ entry->invisible_char = (gunichar) 0x2022;
entry->dnd_position = -1;
entry->width_chars = -1;
entry->is_cell_renderer = FALSE;
@@ -4019,9 +4019,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 small bullet (Unicode character 2022). 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
Index: gtk2.spec
===================================================================
RCS file: /cvs/dist/rpms/gtk2/devel/gtk2.spec,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -r1.110 -r1.111
--- gtk2.spec 18 Jan 2006 18:50:14 -0000 1.110
+++ gtk2.spec 19 Jan 2006 20:46:01 -0000 1.111
@@ -16,7 +16,7 @@
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X.
Name: gtk2
Version: %{base_version}
-Release: 3
+Release: 4
License: LGPL
Group: System Environment/Libraries
Source: gtk+-%{version}.tar.bz2
@@ -27,6 +27,7 @@
# Backported from 2.10
Patch1: gtk+-2.8.6-inputmethod.patch
Patch2: gtk+-2.8.10-abicheck.patch
+Patch3: gtk+-2.8.10-set-invisible-char-to-bullet.patch
BuildPrereq: atk-devel >= %{atk_version}
BuildPrereq: pango-devel >= %{pango_version}
@@ -90,6 +91,7 @@
%patch0 -p1 -b .lib64
%patch1 -p1 -b .inputmethod
%patch2 -p1 -b .abicheck
+%patch3 -p1 -b .set-invisible-char-to-bullet
for i in config.guess config.sub ; do
test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i .
@@ -259,6 +261,9 @@
%doc tmpdocs/examples
%changelog
+* Thu Jan 19 2006 Christopher Aillon <caillon at redhat.com> 2.8.10-4
+- Use Unicode character 2022 for the default invisible character
+
* Wed Jan 18 2006 Matthias Clasen <mclasen at redhat.com> 2.8.10-3
- Rebuild against GLib 2.9.4
More information about the fedora-cvs-commits
mailing list