* src/GrampsGconfKeys.py: Add to CVS -- split off key names.
* src/Makefile.am: Ship GrampsGconfKeys. * src/ArgHandler.py: Use GrampsGconfKeys. * src/DbPrompter.py: Use GrampsGconfKeys. * src/EditPerson.py: Use GrampsGconfKeys. * src/Exporter.py: Use GrampsGconfKeys. * src/FamilyView.py: Use GrampsGconfKeys. * src/GrampsDbBase.py: Use GrampsGconfKeys. * src/ImageSelect.py: Use GrampsGconfKeys. * src/MediaView.py: Use GrampsGconfKeys. * src/Plugins.py: Use GrampsGconfKeys. * src/Report.py: Use GrampsGconfKeys. * src/StartupDialog.py: Use GrampsGconfKeys. * src/TipOfDay.py: Use GrampsGconfKeys. * src/Utils.py: Use GrampsGconfKeys. * src/DateDisplay.py: Proper capitalization for _MONS. * src/DateHandler.py: Use GrampsGconfKeys. * src/GrampsCfg.py: Use GrampsGconfKeys. * src/gramps_main.py: Use GrampsGconfKeys. svn: r3573
This commit is contained in:
@ -43,7 +43,7 @@ import gtk.gdk
|
||||
#-------------------------------------------------------------------------
|
||||
import RelLib
|
||||
import Utils
|
||||
import GrampsCfg
|
||||
import GrampsGconfKeys
|
||||
import const
|
||||
import ImageSelect
|
||||
import RelImage
|
||||
@ -374,7 +374,7 @@ class MediaView:
|
||||
photo.set_description(description)
|
||||
trans = self.db.transaction_begin()
|
||||
self.db.add_object(photo,trans)
|
||||
if GrampsCfg.get_media_reference() == 0:
|
||||
if GrampsGconfKeys.get_media_reference() == 0:
|
||||
name = RelImage.import_media_object(name,
|
||||
self.db.get_save_path(),
|
||||
photo.get_handle())
|
||||
@ -384,7 +384,7 @@ class MediaView:
|
||||
self.db.commit_media_object(photo,trans)
|
||||
self.db.transaction_commit(trans,_("Add Media Object"))
|
||||
|
||||
if GrampsCfg.get_media_global():
|
||||
if GrampsGconfKeys.get_media_global():
|
||||
ImageSelect.GlobalMediaProperties(self.db,photo,
|
||||
self.update_display,
|
||||
self,self.topWindow)
|
||||
@ -418,7 +418,7 @@ class MediaView:
|
||||
self.db.commit_media_object(photo,trans)
|
||||
self.db.transaction_commit(trans,_("Add Media Object"))
|
||||
|
||||
if GrampsCfg.get_media_global():
|
||||
if GrampsGconfKeys.get_media_global():
|
||||
ImageSelect.GlobalMediaProperties(self.db,photo,None,
|
||||
self,self.topWindow)
|
||||
|
||||
|
Reference in New Issue
Block a user