* 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user