From a027ce137a3fd6ec4e0badad1b09e9336702cad9 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Thu, 6 Oct 2011 00:41:17 +0300 Subject: [PATCH] fixes #7007 and #6957 --- src/config.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/config.py b/src/config.py index 310f73fc9..e7e77cdf2 100644 --- a/src/config.py +++ b/src/config.py @@ -3764,18 +3764,18 @@ class AccountCreationWizardWindow: self.data_form_widget = dataforms_widget.DataFormWidget(dataform) else: self.data_form_widget = FakeDataForm(obj.config) - empty_config = True - for field in obj.config: - if field == 'instructions': - continue - if not obj.config[field]: - # ignore empty tag - continue - empty_config = False - break - if not obj.is_form and empty_config: - self.forward_button.set_sensitive(False) - self.notebook.set_current_page(4) # show form page + empty_config = True + for field in obj.config: + if field in ('key', 'instructions', 'x', 'registered'): + continue + if not obj.config[field]: + # ignore empty tag + continue + empty_config = False + break + if not obj.is_form and empty_config: + self.forward_button.set_sensitive(False) + self.notebook.set_current_page(4) # show form page self.data_form_widget.show_all() self.xml.get_object('form_vbox').pack_start(self.data_form_widget) self.ssl_fingerprint = obj.ssl_fingerprint