fix the stupid bullets

This commit is contained in:
Matthias Clasen 2007-09-28 16:09:09 +00:00
parent b163f49647
commit 392cf651f8
3 changed files with 18 additions and 10 deletions

View File

@ -174,15 +174,6 @@ diff -up gdm-2.19.8/config/gdm.conf.in.change-defaults gdm-2.19.8/config/gdm.con
# Normally there is a session type called 'Last' that is shown which refers to
# the last session the user used. If off, we will be in 'switchdesk' mode
# where the session saving stuff is disabled in GDM
@@ -506,7 +507,7 @@ GraphicalThemedColor=#76848F
#Use24Clock=auto
# Use circles in the password field. Looks kind of cool actually, but only
# works with certain fonts.
-#UseCirclesInEntry=false
+UseCirclesInEntry=true
# Do not show any visible feedback in the password field. This is standard for
# instance in console, xdm and ssh.
#UseInvisibleInEntry=false
@@ -516,7 +517,7 @@ GraphicalThemedColor=#76848F
# list then provide a list that is delimited by /: to the GraphicalThemes
# key and set GraphicalThemeRand to true. Otherwise use GraphicalTheme

View File

@ -16,7 +16,7 @@
Summary: The GNOME Display Manager
Name: gdm
Version: 2.20.0
Release: 6%{?dist}
Release: 7%{?dist}
Epoch: 1
License: GPLv2+
Group: User Interface/X
@ -59,6 +59,7 @@ Patch37: gdm-2.19.8-selinux.patch
Patch38: hang.patch
Patch100: gdm-2.20.0-change-defaults.patch
Patch101: stupid-bullets.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -145,6 +146,7 @@ Extra icons / faces for the GNOME Display Manager.
%patch38 -p1 -b .hang
%patch100 -p1 -b .change-defaults
%patch101 -p1 -b .stupid-bullets
%build
cp -f %{SOURCE1} config/gdm
@ -355,6 +357,9 @@ fi
%{_datadir}/pixmaps/faces/extras/*.jpg
%changelog
* Fri Sep 28 2007 Matthias Clasen <mclasen@redhat.com> - 1:2.20.0-7
- Fix the stupid bullets again
* Thu Sep 27 2007 Ray Strode <rstrode@redhat.com> - 1:2.20.0-6
- The previously mentioned typo didn't matter before because the
compiled in default matched what the config file was supposed to

12
stupid-bullets.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up gdm-2.20.0/gui/greeter/greeter_canvas_item.c.stupid-bullets gdm-2.20.0/gui/greeter/greeter_canvas_item.c
--- gdm-2.20.0/gui/greeter/greeter_canvas_item.c.stupid-bullets 2007-09-28 11:25:25.000000000 -0400
+++ gdm-2.20.0/gui/greeter/greeter_canvas_item.c 2007-09-28 11:26:08.000000000 -0400
@@ -469,7 +469,7 @@ greeter_item_create_canvas_item (Greeter
else if (gdm_config_get_bool (GDM_KEY_ENTRY_CIRCLES))
gtk_entry_set_invisible_char (GTK_ENTRY (entry), 0x25cf);
else
- gtk_entry_set_invisible_char (GTK_ENTRY (entry), '*');
+ gtk_entry_set_invisible_char (GTK_ENTRY (entry), 0x2022);
gtk_widget_modify_font (entry, item->data.text.fonts[GREETER_ITEM_STATE_NORMAL]);