* src/GrampsLogger/_ErrorReportAssistant.py (__init__): Adapt to

the Assistant change. 
	* src/Assistant.py: Convert to working both with and without
	ManagedWindow.
	(__init__): Adapt to the Assistant change.


svn: r6895
This commit is contained in:
Alex Roitman
2006-06-15 18:24:43 +00:00
parent 0c850aeda1
commit 0e141aacd4
4 changed files with 38 additions and 13 deletions

View File

@@ -57,7 +57,7 @@ import QuestionDialog
import Config
import GrampsDisplay
import Assistant
import Errors
from GrampsDb import gramps_db_writer_factory
#-------------------------------------------------------------------------
#
@@ -92,7 +92,11 @@ class Exporter:
self.build_exports()
self.format_option = None
self.w = Assistant.Assistant(self.complete)
try:
self.w = Assistant.Assistant(uistate,self.complete,
_("Export Assistant"))
except Errors.WindowActiveError:
return
self.w.add_text_page(_('Saving your data'),self.get_intro_text())