aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 5152aa4603..082e4320ff 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2004-06-22 Larry Ewing <lewing@ximian.com>
+
+ * gui/contact-list-editor/e-contact-list-editor.c (add_email_cb):
+ don't set the changed flag unless we actually add something.
+
2004-06-21 Federico Mena Quintero <federico@ximian.com>
* gui/contact-editor/contact-editor.glade: Make the scrolled
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
index 80d5b6c660..b5dca4ef74 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
@@ -767,12 +767,12 @@ add_email_cb (GtkWidget *w, EContactListEditor *editor)
/* Skip to the end of the list */
if (adj->upper - adj->lower > adj->page_size)
gtk_adjustment_set_value (adj, adj->upper);
+
+ editor->changed = TRUE;
+
}
gtk_entry_set_text (GTK_ENTRY(editor->email_entry), "");
-
- editor->changed = TRUE;
-
command_state_changed (editor);
}