2007-12-04 Benny Malengier <benny.malengier@gramps-project.org>
* src/gen/proxy/proxybase.py: add mediapath get * src/gen/proxy/dbbase.py: add mediapath methods svn: r9442
This commit is contained in:
parent
a303f53386
commit
490a3957f1
@ -1,3 +1,7 @@
|
||||
2007-12-04 Benny Malengier <benny.malengier@gramps-project.org>
|
||||
* src/gen/proxy/proxybase.py: add mediapath get
|
||||
* src/gen/proxy/dbbase.py: add mediapath methods
|
||||
|
||||
2007-12-03 Douglas S.Blank <dblank@cs.brynmawr.edu>
|
||||
* src/plugins/CalculateEstimatedDates.py: Refinements, use results tab
|
||||
* src/PluginUtils/_PluginWindows.py: Tool support for a results tab
|
||||
|
@ -1085,6 +1085,14 @@ class DbBase:
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
def set_mediapath(self, path):
|
||||
"""sets the default media path for database, path should be utf-8"""
|
||||
raise NotImplementedError
|
||||
|
||||
def get_mediapath(self):
|
||||
"""returns the default media path of the database"""
|
||||
raise NotImplementedError
|
||||
|
||||
def set_column_order(self, col_list, name):
|
||||
raise NotImplementedError
|
||||
|
||||
|
@ -47,6 +47,7 @@ class ProxyDbBase(DbBase):
|
||||
self.db = db
|
||||
self.name_formats = db.name_formats
|
||||
self.bookmarks = db.bookmarks
|
||||
self.metadata = db.metadata
|
||||
self.family_bookmarks = db.family_bookmarks
|
||||
self.event_bookmarks = db.event_bookmarks
|
||||
self.place_bookmarks = db.place_bookmarks
|
||||
@ -266,6 +267,10 @@ class ProxyDbBase(DbBase):
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
def get_mediapath(self):
|
||||
"""returns the default media path of the database"""
|
||||
return self.db.get_mediapath()
|
||||
|
||||
def set_column_order(self, col_list, name):
|
||||
raise NotImplementedError
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user