[empathy] assistant: set the salut page as complete if we pre-filled enough fields (#610380)



commit 96254dab84d19af25964e0d6a1a73b0872428222
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri Feb 19 09:59:45 2010 +0000

    assistant: set the salut page as complete if we pre-filled enough fields (#610380)

 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 2048664..cd09237 100644
--- a/src/empathy-account-assistant.c
+++ b/src/empathy-account-assistant.c
@@ -1268,6 +1268,12 @@ do_constructed (GObject *object)
       gtk_assistant_set_page_type (assistant, page, GTK_ASSISTANT_PAGE_CONFIRM);
 
       priv->create_salut_account = TRUE;
+
+      if (empathy_account_settings_is_valid (priv->salut_settings))
+        {
+          gtk_assistant_set_page_complete (GTK_ASSISTANT (self),
+              page, TRUE);
+        }
     }
   else
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]