From bb5c01c60239a9e6f0f828ba2e8e57f23869e31f Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Sun, 23 Sep 2007 18:26:09 +0000 Subject: [PATCH] read recent file is broken in GRAMPS 30 ! DISABLE svn: r9000 --- ChangeLog | 6 +++++- src/ArgHandler.py | 21 +++++++++++---------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index b1e3c9b73..c45b333a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ +2007-09-23 Benny Malengier + * src/ArgHandler.py: from buglist, read recent file is broken in GRAMPS 30! + DISABLE, this module must be cleaned completely before 3.0 !! + 2007-09-23 Zsolt Foldvari * src/plugins/WebCal.py: - * src/plugins/NarrativeWeb.py: + * src/plugins/NarrativeWeb.py:S Change const.image_dir to uppercase const.IMAGE_DIR 2007-09-20 Benny Malengier diff --git a/src/ArgHandler.py b/src/ArgHandler.py index 6da6a4943..921accd6f 100644 --- a/src/ArgHandler.py +++ b/src/ArgHandler.py @@ -442,16 +442,17 @@ class ArgHandler: print "Exiting." sys.exit(0) - elif Config.get(Config.RECENT_FILE) and Config.get(Config.AUTOLOAD): - rf = Config.get(Config.RECENT_FILE) - - if os.path.isfile(rf): - filetype = Mime.get_type(rf) - self.vm.read_recent_file(rf, filetype) - elif os.path.isdir(rf): - if os.path.isfile(os.path.join(rf, "name.txt")) and \ - not os.path.isfile(os.path.join(rf,"need_recover")): - self.vm.read_recent_file(rf, 'x-directory/normal') + ## read recent file is broken in GRAMPS 30 ! DISABLE + ##elif Config.get(Config.RECENT_FILE) and Config.get(Config.AUTOLOAD): + ## rf = Config.get(Config.RECENT_FILE) + ## + ## if os.path.isfile(rf): + ## filetype = Mime.get_type(rf) + ## self.vm.read_recent_file(rf, filetype) + ## elif os.path.isdir(rf): + ## if os.path.isfile(os.path.join(rf, "name.txt")) and \ + ## not os.path.isfile(os.path.join(rf,"need_recover")): + ## self.vm.read_recent_file(rf, 'x-directory/normal') #------------------------------------------------------------------------- #