aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-accounts-dialog.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-08 19:50:03 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-09 15:34:18 +0800
commit085365f20953fae1fb95d0272677273e3840e98f (patch)
treead39fe15bff03b4c048c5eea4994c02a2ef63b58 /src/empathy-accounts-dialog.c
parent852af596dcc11e104a5565e953240af2f83b4cc2 (diff)
downloadgsoc2013-empathy-085365f20953fae1fb95d0272677273e3840e98f.tar
gsoc2013-empathy-085365f20953fae1fb95d0272677273e3840e98f.tar.gz
gsoc2013-empathy-085365f20953fae1fb95d0272677273e3840e98f.tar.bz2
gsoc2013-empathy-085365f20953fae1fb95d0272677273e3840e98f.tar.lz
gsoc2013-empathy-085365f20953fae1fb95d0272677273e3840e98f.tar.xz
gsoc2013-empathy-085365f20953fae1fb95d0272677273e3840e98f.tar.zst
gsoc2013-empathy-085365f20953fae1fb95d0272677273e3840e98f.zip
new-account-dialog: rely on the EmpathyAccountWidget::close signal
User of the dialog should wait for the widget to be completely done before destroying it. Change the 'success' dialog response to GTK_RESPONSE_APPLY to stay coherent with the response type received from EmpathyAccountWidget. https://bugzilla.gnome.org/show_bug.cgi?id=675667
Diffstat (limited to 'src/empathy-accounts-dialog.c')
-rw-r--r--src/empathy-accounts-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 9c5715bc0..a9b65b25d 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -996,7 +996,7 @@ accounts_dialog_button_add_clicked_cb (GtkWidget *button,
response = gtk_dialog_run (GTK_DIALOG (dialog));
- if (response == GTK_RESPONSE_OK)
+ if (response == GTK_RESPONSE_APPLY)
{
EmpathyAccountSettings *settings;
TpAccount *account;