GEPS008: Moved RecentFiles module
svn: r19787
This commit is contained in:
@@ -45,7 +45,7 @@ from gen.ggettext import gettext as _
|
||||
# gramps modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import RecentFiles
|
||||
from gen.recentfiles import recent_files
|
||||
import Utils
|
||||
import gen
|
||||
from clidbman import CLIDbManager, NAME_FILE, find_locker_name
|
||||
@@ -378,7 +378,7 @@ class ArgHandler(object):
|
||||
ifile.close()
|
||||
except:
|
||||
title = db_path
|
||||
RecentFiles.recent_files(db_path, title)
|
||||
recent_files(db_path, title)
|
||||
self.open = db_path
|
||||
self.__open_action()
|
||||
else:
|
||||
|
||||
@@ -54,7 +54,7 @@ from gen.db import DbBsddb
|
||||
import gen.db.exceptions
|
||||
from gen.plug import BasePluginManager
|
||||
from Utils import get_researcher
|
||||
import RecentFiles
|
||||
from gen.recentfiles import recent_files
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@@ -273,7 +273,7 @@ class CLIManager(object):
|
||||
|
||||
config.set('paths.recent-file', filename)
|
||||
|
||||
RecentFiles.recent_files(filename, name)
|
||||
recent_files(filename, name)
|
||||
self.file_loaded = True
|
||||
|
||||
def do_reg_plugins(self, dbstate, uistate):
|
||||
|
||||
Reference in New Issue
Block a user