Index: addressbook/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.2030
diff -u -p -r1.2030 ChangeLog
--- addressbook/ChangeLog	10 Jan 2006 08:06:33 -0000	1.2030
+++ addressbook/ChangeLog	12 Jan 2006 11:38:30 -0000
@@ -1,3 +1,9 @@
+2006-01-12  Devashish Sharma <sdevashish@novell.com>
+
+	* gui/contact-editor/e-contact-editor.c (full_name_clicked) : Setting
+	the default response for contact full name dialog.
+	Fixes #317282
+
 2006-01-10  Simon Zheng  <simon.zheng@sun.com>
 
 	* gui/widgets/eab-gui-util.c:use e_filename_make_safe() in 
Index: addressbook/gui/contact-editor/e-contact-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/contact-editor/e-contact-editor.c,v
retrieving revision 1.245
diff -u -p -r1.245 e-contact-editor.c
--- addressbook/gui/contact-editor/e-contact-editor.c	10 Dec 2005 09:52:23 -0000	1.245
+++ addressbook/gui/contact-editor/e-contact-editor.c	12 Jan 2006 11:33:13 -0000
@@ -26,6 +26,7 @@
 
 #include <string.h>
 #include <time.h>
+#include <gdk/gdkkeysyms.h>
 #include <gtk/gtkcheckbutton.h>
 #include <gtk/gtkcheckmenuitem.h>
 #include <gtk/gtkcombo.h>
@@ -2528,6 +2529,16 @@ source_selected (GtkWidget *source_optio
 						   (EBookCallback) new_target_cb, editor);
 }
 
+static gboolean
+full_name_key_press_event( GtkWidget *widget, GdkEventKey *event, EContactEditor *editor)
+{
+	if (event->keyval == GDK_Return) {
+		gtk_dialog_response (GTK_DIALOG (widget), GTK_RESPONSE_OK);
+		return TRUE;
+	}
+	return FALSE;
+}
+
 static void
 full_name_clicked (GtkWidget *button, EContactEditor *editor)
 {
@@ -2540,6 +2551,8 @@ full_name_clicked (GtkWidget *button, EC
 	g_object_set (dialog,
 		      "editable", fullname_supported & editor->target_editable,
 		      NULL);
+
+	g_signal_connect (GTK_WIDGET (dialog), "key-press-event", G_CALLBACK (full_name_key_press_event), editor);
 	gtk_widget_show (GTK_WIDGET(dialog));
 	result = gtk_dialog_run (dialog);
 	gtk_widget_hide (GTK_WIDGET (dialog));
