aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-12-09 11:09:04 +0800
committerChris Lahey <clahey@src.gnome.org>2000-12-09 11:09:04 +0800
commit7fc312d8ad613c8667fe4658f831665b3eaff57d (patch)
treeb7bb766ffe6fbb9fd8296494b284e782dc676e2e /addressbook
parent16b387c97c13d1e28437e70df8b90497747038ad (diff)
downloadgsoc2013-evolution-7fc312d8ad613c8667fe4658f831665b3eaff57d.tar
gsoc2013-evolution-7fc312d8ad613c8667fe4658f831665b3eaff57d.tar.gz
gsoc2013-evolution-7fc312d8ad613c8667fe4658f831665b3eaff57d.tar.bz2
gsoc2013-evolution-7fc312d8ad613c8667fe4658f831665b3eaff57d.tar.lz
gsoc2013-evolution-7fc312d8ad613c8667fe4658f831665b3eaff57d.tar.xz
gsoc2013-evolution-7fc312d8ad613c8667fe4658f831665b3eaff57d.tar.zst
gsoc2013-evolution-7fc312d8ad613c8667fe4658f831665b3eaff57d.zip
Made it so that the editor->name is set after the entry is changed. This
2000-12-08 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c (full_name_clicked): Made it so that the editor->name is set after the entry is changed. This means that the reparse that the person chose is saved. svn path=/trunk/; revision=6885
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/contact-editor/e-contact-editor.c5
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c5
3 files changed, 12 insertions, 4 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 257aa98954..827cf384a0 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2000-12-08 Christopher James Lahey <clahey@helixcode.com>
+
+ * contact-editor/e-contact-editor.c (full_name_clicked): Made it
+ so that the editor->name is set after the entry is changed. This
+ means that the reparse that the person chose is saved.
+
2000-12-07 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/e-ldap-storage.c (setup_ldap_storage): Pass NULL
diff --git a/addressbook/contact-editor/e-contact-editor.c b/addressbook/contact-editor/e-contact-editor.c
index 9e1afacb7b..bb7387502e 100644
--- a/addressbook/contact-editor/e-contact-editor.c
+++ b/addressbook/contact-editor/e-contact-editor.c
@@ -506,8 +506,6 @@ full_name_clicked(GtkWidget *button, EContactEditor *editor)
gtk_object_get(GTK_OBJECT(dialog),
"name", &name,
NULL);
- e_card_name_free(editor->name);
- editor->name = e_card_name_copy(name);
fname_widget = glade_xml_get_widget(editor->gui, "entry-fullname");
if (fname_widget && GTK_IS_ENTRY(fname_widget)) {
@@ -515,6 +513,9 @@ full_name_clicked(GtkWidget *button, EContactEditor *editor)
e_utf8_gtk_entry_set_text(GTK_ENTRY(fname_widget), full_name);
g_free(full_name);
}
+
+ e_card_name_free(editor->name);
+ editor->name = e_card_name_copy(name);
}
gtk_object_unref(GTK_OBJECT(dialog));
}
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 9e1afacb7b..bb7387502e 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -506,8 +506,6 @@ full_name_clicked(GtkWidget *button, EContactEditor *editor)
gtk_object_get(GTK_OBJECT(dialog),
"name", &name,
NULL);
- e_card_name_free(editor->name);
- editor->name = e_card_name_copy(name);
fname_widget = glade_xml_get_widget(editor->gui, "entry-fullname");
if (fname_widget && GTK_IS_ENTRY(fname_widget)) {
@@ -515,6 +513,9 @@ full_name_clicked(GtkWidget *button, EContactEditor *editor)
e_utf8_gtk_entry_set_text(GTK_ENTRY(fname_widget), full_name);
g_free(full_name);
}
+
+ e_card_name_free(editor->name);
+ editor->name = e_card_name_copy(name);
}
gtk_object_unref(GTK_OBJECT(dialog));
}