* src/GrampsInMemDB.py: handle null handle

* src/GrampsXMLDB.py: disable undo during normal read of database
* src/ReadGedcom.py: handle lines shorter than 50 lines, disable undo during
normal reads of the database
* src/ReadXML.py: disable undo during normal read of databas
* src/RelLib.py: revert Name.__cmp__ to Name.is_equal
* src/docgen/HTMLDoc.py: drop deprecated gnome.ui dialogs


svn: r3617
This commit is contained in:
Don Allingham
2004-10-10 21:16:44 +00:00
parent e1d90f4178
commit e6783320cb
11 changed files with 67 additions and 48 deletions

View File

@@ -25,7 +25,6 @@ import string
import re
import time
import gnome.ui
import Plugins
import ImgManip
import TarFile
@@ -157,7 +156,7 @@ class HtmlDoc(BaseDoc.BaseDoc):
if top_add == 1:
mymsg = _("The marker '<!-- START -->' was not in the template")
gnome.ui.GnomeErrorDialog(mymsg)
QuestionDialog.ErrorDialog(_("Template Error"),mymsg)
def load_html(self):
start = re.compile(r"<!--\s*START\s*-->")
@@ -182,7 +181,7 @@ class HtmlDoc(BaseDoc.BaseDoc):
if top_add == 1:
mymsg = _("The marker '<!-- START -->' was not in the template")
gnome.ui.GnomeErrorDialog(mymsg)
QuestionDilaog.ErrorDialog(_("Template Error"),mymsg)
def load_template(self):
if self.template: