* src/gramps_main.py (on_export_activate): Switch to new Exporter.

* src/WriteXML.py: Change registration. Return 1 on success and
0 when on failure.
* src/Utils.py (get_new_filename): Add function.
* src/DbPrompter.py (get_new_filename): Remove function.
* src/Exporter.py: Add to CVS.
* src/Makefile.am: Ship Exporter.py.
* src/Plugins.py (register_export): Change to the new scheme.


svn: r3254
This commit is contained in:
Alex Roitman
2004-07-09 18:19:47 +00:00
parent 1333c80f7f
commit b76bc6d42d
8 changed files with 279 additions and 36 deletions

View File

@@ -71,6 +71,7 @@ import Find
import DbPrompter
import TipOfDay
import ArgHandler
import Exporter
from QuestionDialog import *
@@ -1367,8 +1368,7 @@ class Gramps:
prompter.chooser()
def on_export_activate(self,obj):
prompter = DbPrompter.SaveAsDbPrompter(self,self.topWindow)
prompter.chooser()
Exporter.Exporter(self,self.topWindow)
def on_revert_activate(self,obj):
pass