This commit is contained in:
Matthias Clasen 2006-11-05 19:36:52 +00:00
parent 60234f8f97
commit 591985f93d
4 changed files with 49 additions and 15 deletions

View File

@ -1 +1 @@
gdm-2.17.0.tar.bz2
gdm-2.17.1.tar.bz2

View File

@ -0,0 +1,39 @@
--- gdm-2.17.1/gui/gdmlogin.c.desensitize-entry 2006-11-05 14:22:49.000000000 -0500
+++ gdm-2.17.1/gui/gdmlogin.c 2006-11-05 14:24:05.000000000 -0500
@@ -1776,7 +1776,7 @@
curuser = NULL;
}
- gtk_widget_set_sensitive (entry, TRUE);
+ gtk_widget_set_sensitive (entry, FALSE);
gtk_widget_set_sensitive (ok_button, FALSE);
gtk_widget_set_sensitive (start_again_button, FALSE);
--- gdm-2.17.1/gui/greeter/greeter_item_pam.c.desensitize-entry 2006-11-05 14:22:49.000000000 -0500
+++ gdm-2.17.1/gui/greeter/greeter_item_pam.c 2006-11-05 14:22:50.000000000 -0500
@@ -291,11 +291,20 @@
{
entry = GNOME_CANVAS_WIDGET (entry_info->item)->widget;
- gtk_entry_set_visibility (GTK_ENTRY (entry), entry_visible);
- gtk_widget_set_sensitive (GTK_WIDGET (entry), TRUE);
- gtk_entry_set_max_length (GTK_ENTRY (entry), entry_len);
- gtk_entry_set_text (GTK_ENTRY (entry), "");
- gtk_widget_grab_focus (entry);
+ if (message != NULL && strcmp (message, "") != 0)
+ {
+ gtk_entry_set_visibility (GTK_ENTRY (entry), entry_visible);
+ gtk_widget_set_sensitive (GTK_WIDGET (entry), TRUE);
+ gtk_entry_set_max_length (GTK_ENTRY (entry), entry_len);
+ gtk_entry_set_text (GTK_ENTRY (entry), "");
+ gtk_widget_grab_focus (entry);
+ }
+ else
+ {
+ gtk_entry_set_visibility (GTK_ENTRY (entry), entry_visible);
+ gtk_entry_set_text (GTK_ENTRY (entry), "...");
+ gtk_widget_set_sensitive (GTK_WIDGET (entry), FALSE);
+ }
}
messages_to_give = FALSE;

View File

@ -15,8 +15,8 @@
Summary: The GNOME Display Manager.
Name: gdm
Version: 2.17.0
Release: 2%{?dist}
Version: 2.17.1
Release: 1%{?dist}
Epoch: 1
License: LGPL/GPL
Group: User Interface/X
@ -39,8 +39,8 @@ Patch7: gdm-2.8.0.2-merge-resources.patch
Patch12: gdm-2.13.0.4-audit-login.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=347798
Patch19: gdm-2.15.5-move-default-message.patch
Patch20: gdm-2.15.5-reset-pam.patch
Patch19: gdm-2.17.1-move-default-message.patch
Patch20: gdm-2.17.1-reset-pam.patch
Patch21: gdm-2.16.0-security-tokens.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=347871
@ -49,13 +49,7 @@ Patch24: gdm-2.16.0-wtmp.patch
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=203917
Patch25: gdm-2.16.0-indic-langs.patch
Patch28: gdm-2.16.0-desensitize-entry.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=362853
Patch29: gdm-2.16.0-photo-setup-help.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=345434
Patch30: gdm-2.17.0-a11y-launch.patch
Patch28: gdm-2.17.1-desensitize-entry.patch
BuildRoot: %{_tmppath}/gdm-%{PACKAGE_VERSION}-root
@ -127,8 +121,6 @@ several different X sessions on your local machine at the same time.
%patch24 -p1 -b .wtmp
%patch25 -p1 -b .indic-langs
%patch28 -p1 -b .desensitize-entry
%patch29 -p1 -b .photo-setup-help
%patch30 -p0 -b .a11y-launch
%build
cp -f %{SOURCE1} config/gdm
@ -317,6 +309,9 @@ fi
%attr(1770, root, gdm) %dir %{_localstatedir}/gdm
%changelog
* Sun Nov 5 2006 Matthias Clasen <mclasen@redhat.com> - 1:2.17.1-1
- Update to 2.17.1
* Thu Oct 26 2006 Matthias Clasen <mclasen@redhat.com> - 1:2.17.0-2
- Fix a crash with launching a11y support

View File

@ -1 +1 @@
8f05a52b520021d18e4d4d86b1c57b85 gdm-2.17.0.tar.bz2
a56733aa192d903265334c9b0a1b12b9 gdm-2.17.1.tar.bz2