accounts-dialog: don't add newly created account twice
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 24 Jan 2012 11:03:23 +0000 (12:03 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 24 Jan 2012 12:24:59 +0000 (13:24 +0100)
commit825666791c56b9050db4339f57474e2df698f891
treee5aeab08d95603989f3f1874de57adcf064e9542
parentae60dd208860c732141e5e5ccb89c7aba18ae28c
accounts-dialog: don't add newly created account twice

It used to be created once in the accounts_dialog_account_validity_changed_cb
callback and once when the new account dialog is done.

This change is actually good because now accounts are always added to the
model using the same code path.

https://bugzilla.gnome.org/show_bug.cgi?id=668372
src/empathy-accounts-dialog.c