Index: gui/gdmlogin.c
===================================================================
--- gui/gdmlogin.c	(révision 5348)
+++ gui/gdmlogin.c	(copie de travail)
@@ -2094,6 +2094,16 @@
 	const char *login_string;
 
 	/*
+	 * Allow tab to trigger enter; but not <modifier>-tab
+	 */
+	if ((event->keyval == GDK_Tab ||
+	     event->keyval == GDK_KP_Tab) &&
+	    (event->state & (GDK_CONTROL_MASK|GDK_MOD1_MASK|GDK_SHIFT_MASK)) == 0) {
+		gdm_login_enter (entry);
+		return TRUE;
+	}
+
+	/*
 	 * Set ok button to sensitive only if there are characters in
 	 * the entry field
 	 */
Index: gui/greeter/greeter_item_pam.c
===================================================================
--- gui/greeter/greeter_item_pam.c	(révision 5348)
+++ gui/greeter/greeter_item_pam.c	(copie de travail)
@@ -183,6 +183,17 @@
        const char *login_string;
        GtkWidget *entry = GNOME_CANVAS_WIDGET (entry_info->item)->widget;
 
+       /*
+        * Allow tab to trigger enter; but not <modifier>-tab
+        */
+       if ((event->keyval == GDK_Tab ||
+            event->keyval == GDK_KP_Tab) &&
+           (event->state & (GDK_CONTROL_MASK|GDK_MOD1_MASK|GDK_SHIFT_MASK)) == 0)
+          {
+		greeter_item_pam_login (GTK_ENTRY (entry), entry_info);
+		return TRUE;
+           }
+
        if (gtk_ok_button != NULL)
           {
              /*
