read recent file is broken in GRAMPS 30 ! DISABLE

svn: r9000
This commit is contained in:
Benny Malengier 2007-09-23 18:26:09 +00:00
parent e05e2c094a
commit bb5c01c602
2 changed files with 16 additions and 11 deletions

View File

@ -1,6 +1,10 @@
2007-09-23 Benny Malengier <benny.malengier@gramps-project.org>
* 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 <zfoldvar@users.sourceforge.net>
* 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 <benny.malengier@gramps-project.org>

View File

@ -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')
#-------------------------------------------------------------------------
#