diff options
Diffstat (limited to 'addressbook/gui/contact-editor')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index f9f1af9286..a09a263edd 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -2317,7 +2317,10 @@ full_name_clicked (GtkWidget *button, EContactEditor *editor) fname_widget = glade_xml_get_widget(editor->gui, "entry-fullname"); if (fname_widget && GTK_IS_ENTRY (fname_widget)) { char *full_name = e_contact_name_to_string(name); - set_entry_text (editor, GTK_ENTRY (fname_widget), full_name); + const char *old_full_name = gtk_entry_get_text (GTK_ENTRY(fname_widget)); + + if (strcmp (full_name, old_full_name)) + gtk_entry_set_text (GTK_ENTRY (fname_widget), full_name); g_free(full_name); } |