Index: addressbook/gui/widgets/e-minicard-label.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/widgets/e-minicard-label.c,v
retrieving revision 1.25
diff -u -r1.25 e-minicard-label.c
--- addressbook/gui/widgets/e-minicard-label.c	29 Oct 2001 12:31:45 -0000	1.25
+++ addressbook/gui/widgets/e-minicard-label.c	9 Dec 2002 11:14:43 -0000
@@ -57,6 +57,13 @@
 	ARG_EDITABLE
 };
 
+enum {
+	SYNC_LABEL,
+	LAST_SIGNAL
+};
+
+static guint e_minicard_label_signals [LAST_SIGNAL] = {0, };
+
 GtkType
 e_minicard_label_get_type (void)
 {
@@ -109,6 +116,15 @@
 			   GTK_ARG_READWRITE, ARG_MAX_FIELD_NAME_WIDTH);
   gtk_object_add_arg_type ("EMinicardLabel::editable", GTK_TYPE_BOOL, 
 			   GTK_ARG_READWRITE, ARG_EDITABLE);
+
+  e_minicard_label_signals [SYNC_LABEL] =
+		  gtk_signal_new ("sync_label",
+						  GTK_RUN_LAST,
+						  object_class->type,
+						  GTK_SIGNAL_OFFSET (EMinicardLabelClass, sync_label),
+						  gtk_marshal_NONE__NONE,
+						  GTK_TYPE_NONE,0);
+  gtk_object_class_add_signals (object_class, e_minicard_label_signals, LAST_SIGNAL);
  
   object_class->set_arg = e_minicard_label_set_arg;
   object_class->get_arg = e_minicard_label_get_arg;
@@ -312,7 +328,7 @@
 		    parent = GNOME_CANVAS_ITEM (e_minicard_label)->parent;
 		    if (parent)
 			    e_canvas_item_grab_focus(parent, FALSE);
-	    }
+	    } 
 	    break;
     case GDK_FOCUS_CHANGE:
       {
@@ -332,6 +348,7 @@
 				   "fill_color", NULL,
 				   NULL );
 	    e_minicard_label->has_focus = FALSE;
+		gtk_signal_emit (GTK_OBJECT(e_minicard_label), e_minicard_label_signals[SYNC_LABEL]);
 	  }
       }
       break;
Index: addressbook/gui/widgets/e-minicard-label.h
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/widgets/e-minicard-label.h,v
retrieving revision 1.12
diff -u -r1.12 e-minicard-label.h
--- addressbook/gui/widgets/e-minicard-label.h	27 Oct 2001 16:41:29 -0000	1.12
+++ addressbook/gui/widgets/e-minicard-label.h	9 Dec 2002 11:14:43 -0000
@@ -69,6 +69,7 @@
 struct _EMinicardLabelClass
 {
 	GnomeCanvasGroupClass parent_class;
+	void (* sync_label) (EMinicardLabel *minicardlabel);
 };
 
 
Index: addressbook/gui/widgets/e-minicard.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/widgets/e-minicard.c,v
retrieving revision 1.91
diff -u -r1.91 e-minicard.c
--- addressbook/gui/widgets/e-minicard.c	29 Aug 2002 07:29:29 -0000	1.91
+++ addressbook/gui/widgets/e-minicard.c	9 Dec 2002 11:14:45 -0000
@@ -691,8 +691,9 @@
 }
 
 static void
-field_changed (EText *text, EMinicard *e_minicard)
+field_changed (EMinicardLabel *label, EMinicard *e_minicard)
 {
+	EText *text = (EText *)(label->field);
 	ECardSimpleType type;
 	char *string;
 
@@ -751,8 +752,8 @@
 			       "max_field_name_length", left_width,
 			       "editable", e_minicard->editable,
 			       NULL );
-	gtk_signal_connect(GTK_OBJECT(E_MINICARD_LABEL(new_item)->field),
-			   "changed", GTK_SIGNAL_FUNC(field_changed), e_minicard);
+	gtk_signal_connect(GTK_OBJECT(new_item), "sync_label", 
+			GTK_SIGNAL_FUNC(field_changed),e_minicard);	
 	gtk_signal_connect(GTK_OBJECT(E_MINICARD_LABEL(new_item)->field),
 			   "activate", GTK_SIGNAL_FUNC(field_activated), e_minicard);
 	gtk_object_set(GTK_OBJECT(E_MINICARD_LABEL(new_item)->field),
