diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-02-19 18:14:39 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-02-19 18:16:56 +0800 |
commit | 95466c01c61e06f33c29b9a243789e6ef34335d7 (patch) | |
tree | 5133e94ec2b1967c41c02ea7b8e38da324af1e2a | |
parent | 96254dab84d19af25964e0d6a1a73b0872428222 (diff) | |
download | gsoc2013-empathy-95466c01c61e06f33c29b9a243789e6ef34335d7.tar gsoc2013-empathy-95466c01c61e06f33c29b9a243789e6ef34335d7.tar.gz gsoc2013-empathy-95466c01c61e06f33c29b9a243789e6ef34335d7.tar.bz2 gsoc2013-empathy-95466c01c61e06f33c29b9a243789e6ef34335d7.tar.lz gsoc2013-empathy-95466c01c61e06f33c29b9a243789e6ef34335d7.tar.xz gsoc2013-empathy-95466c01c61e06f33c29b9a243789e6ef34335d7.tar.zst gsoc2013-empathy-95466c01c61e06f33c29b9a243789e6ef34335d7.zip |
assistant: check that the enter/create page isn't already valid when switching protocol
-rw-r--r-- | src/empathy-account-assistant.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c index cd0923785..c3cd90381 100644 --- a/src/empathy-account-assistant.c +++ b/src/empathy-account-assistant.c @@ -448,6 +448,12 @@ account_assistant_protocol_changed_cb (GtkComboBox *chooser, g_signal_connect (priv->current_widget_object, "handle-apply", G_CALLBACK (account_assistant_handle_apply_cb), self); + if (empathy_account_settings_is_valid (settings)) + { + gtk_assistant_set_page_complete (GTK_ASSISTANT (self), + priv->enter_or_create_page, TRUE); + } + gtk_box_pack_start (GTK_BOX (priv->enter_or_create_page), account_widget, FALSE, FALSE, 0); gtk_widget_show (account_widget); |