* src/GrampsIniKeys.py: provide support for the default schema
* src/GrampsKeys.py: select appropriate backend * various: switch from GrampsGconfKeys to GrampsKeys for normal usage * src/GrampsIniKeys.py: Alternate backend using .ini files instead of gconf svn: r3873
This commit is contained in:
@@ -43,7 +43,7 @@ import gtk.gdk
|
||||
#-------------------------------------------------------------------------
|
||||
import RelLib
|
||||
import Utils
|
||||
import GrampsGconfKeys
|
||||
import GrampsKeys
|
||||
import const
|
||||
import ImageSelect
|
||||
import RelImage
|
||||
@@ -389,13 +389,13 @@ class MediaView:
|
||||
photo.set_description(description)
|
||||
trans = self.db.transaction_begin()
|
||||
self.db.add_object(photo,trans)
|
||||
if GrampsGconfKeys.get_media_reference() == 0:
|
||||
if GrampsKeys.get_media_reference() == 0:
|
||||
self.db.set_thumbnail_image(photo.get_handle(),name)
|
||||
|
||||
self.db.commit_media_object(photo,trans)
|
||||
self.db.transaction_commit(trans,_("Add Media Object"))
|
||||
self.build_tree()
|
||||
if GrampsGconfKeys.get_media_global():
|
||||
if GrampsKeys.get_media_global():
|
||||
ImageSelect.GlobalMediaProperties(self.db,photo,
|
||||
self.update_display,
|
||||
self,self.topWindow)
|
||||
@@ -427,7 +427,7 @@ class MediaView:
|
||||
self.db.commit_media_object(photo,trans)
|
||||
self.db.transaction_commit(trans,_("Add Media Object"))
|
||||
|
||||
if GrampsGconfKeys.get_media_global():
|
||||
if GrampsKeys.get_media_global():
|
||||
ImageSelect.GlobalMediaProperties(self.db,photo,None,
|
||||
self,self.topWindow)
|
||||
|
||||
|
Reference in New Issue
Block a user