Re: [PATCH] Nobrainer for gdm2
- From: Gaute Lindkvist <lindkvis stud ntnu no>
- To: <desktop-devel-list gnome org>
- Subject: Re: [PATCH] Nobrainer for gdm2
- Date: Sun, 21 Apr 2002 20:02:13 +0200 (CEST)
> I've just moved a line, so that the password-field in the new greeter also
> gets keyboard focus automatically.
And here I've actually managed to attach the patch.
Gaute
? gui/gdmchooser.glade2
? gui/greeter/gdmgreeter
Index: gui/greeter/greeter_item_pam.c
===================================================================
RCS file: /cvs/gnome/gdm2/gui/greeter/greeter_item_pam.c,v
retrieving revision 1.5
diff -u -r1.5 greeter_item_pam.c
--- gui/greeter/greeter_item_pam.c 7 Feb 2002 16:20:46 -0000 1.5
+++ gui/greeter/greeter_item_pam.c 21 Apr 2002 17:56:28 -0000
@@ -110,11 +110,11 @@
{
entry = GNOME_CANVAS_WIDGET (entry_info->item)->widget;
- gtk_widget_grab_focus (entry);
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);
}
messages_to_give = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]