aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2004-06-23 02:22:37 +0800
committerLarry Ewing <lewing@src.gnome.org>2004-06-23 02:22:37 +0800
commit4b4309bc21d37aa1c76f9ba6249de122cb54fa98 (patch)
treef65a00206c39a2602e73311934ee3fff3160f3f1
parent15d5457481f21aa41928dc22377ca1d37618b3a6 (diff)
downloadgsoc2013-evolution-4b4309bc21d37aa1c76f9ba6249de122cb54fa98.tar
gsoc2013-evolution-4b4309bc21d37aa1c76f9ba6249de122cb54fa98.tar.gz
gsoc2013-evolution-4b4309bc21d37aa1c76f9ba6249de122cb54fa98.tar.bz2
gsoc2013-evolution-4b4309bc21d37aa1c76f9ba6249de122cb54fa98.tar.lz
gsoc2013-evolution-4b4309bc21d37aa1c76f9ba6249de122cb54fa98.tar.xz
gsoc2013-evolution-4b4309bc21d37aa1c76f9ba6249de122cb54fa98.tar.zst
gsoc2013-evolution-4b4309bc21d37aa1c76f9ba6249de122cb54fa98.zip
don't set the changed flag unless we actually add something.
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. svn path=/trunk/; revision=26451
-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);
}