2007-10-08 Don Allingham <don@gramps-project.org>
* various: gen.lib integration. probably touches almost every file * various: gen.utils integration svn: r9101
This commit is contained in:
ChangeLog
src
AddMedia.pyGrampsCfg.py
BasicUtils
DataViews
_EventView.py_FamilyList.py_MediaView.py_NoteView.py_PedigreeView.py_PersonView.py_PlaceView.py_RelationView.py_RepositoryView.py_SourceView.py
Date.pyDateEdit.pyDateHandler
_DateDisplay.py_DateParser.py_Date_de.py_Date_es.py_Date_fi.py_Date_fr.py_Date_lt.py_Date_nl.py_Date_pl.py_Date_ru.py_Date_sk.py_Date_sv.py
DisplayModels
DisplayTabs
_AddrEmbedList.py_AttrEmbedList.py_EventEmbedList.py_FamilyLdsEmbedList.py_GalleryTab.py_LdsEmbedList.py_LocationEmbedList.py_NameEmbedList.py_NoteTab.py_PersonEventEmbedList.py_PersonRefEmbedList.py_RepoEmbedList.py_SourceEmbedList.py_WebEmbedList.py
Editors
_EditAddress.py_EditAttribute.py_EditChildRef.py_EditEvent.py_EditEventRef.py_EditFamily.py_EditLdsOrd.py_EditMedia.py_EditMediaRef.py_EditName.py_EditNote.py_EditPerson.py_EditPersonRef.py_EditPlace.py_EditRepoRef.py_EditRepository.py_EditSource.py_EditSourceRef.py
FilterEditor
Filters
Rules
Event
Family
Note
Person
_HasBirth.py_HasCompleteRecord.py_HasDeath.py_HasEvent.py_HasFamilyEvent.py_HasRelationship.py_HasUnknownGender.py_HaveAltFamilies.py_IsFemale.py_IsMale.py_IsWitness.py
Repository
_HasAttributeBase.py_HasEventBase.py_HasMarkerBase.pySideBar
_EventSidebarFilter.py_FamilySidebarFilter.py_MediaSidebarFilter.py_NoteSidebarFilter.py_PersonSidebarFilter.py_PlaceSidebarFilter.py_RepoSidebarFilter.py_SourceSidebarFilter.py
_GenericFilter.pyGrampsDb
GrampsDbUtils
GrampsWidgets.pyMerge
Models
ObjectSelector
RelLib
Relationship.pyReportBase
ScratchPad.pySimple
Sort.pySubstKeywords.pyToolTips.pyTreeViews
Utils.pydate_test.pygen
Makefile.am__init__.py
db
lib
Makefile.am__init__.pyaddress.pyaddressbase.pyattribute.pyattributeBase.pyattrtype.pybaseobj.pycalendar.pychildref.pychildreftype.pydate.pydatebase.pyevent.pyeventref.pyeventroletype.pyeventtype.pyfamily.pyfamilyreltype.pygenderstats.pygrampstype.pyldsord.pyldsordbase.pylocation.pylocationbase.pymarkertype.pymediabase.pymediaobj.pymediaref.pyname.pynametype.pynote.pynotebase.pynotetype.pyperson.pypersonref.pyplace.pyplacebase.pyprimaryobj.pyprivacybase.pyprivsrcnote.pyrefbase.pyrepo.pyreporef.pyrepotype.pyresearcher.pysecondaryobj.pysrc.pysrcbase.pysrcmediatype.pysrcnote.pysrcref.pyurl.pyurlbase.pyurltype.pywitness.py
proxy
utils
plugins
AncestorReport.pyAncestors.pyBookReport.pyCalendar.pyChangeTypes.pyCheck.pyDetAncestralReport.pyDetDescendantReport.pyEventNames.pyExportCSV.pyExportVCalendar.pyExportVCard.pyFamilyGroup.pyFamilyLines.pyFindDupes.pyFtmStyleAncestors.pyFtmStyleDescendants.pyGraphViz.pyImportCSV.pyImportGeneWeb.pyImportvCard.pyIndivComplete.pyIndivSummary.pyMarkerReport.pyMediaManager.pyNarrativeWeb.pyPatchNames.pyRebuild.pyRebuildRefMap.pyRelCalc.pyReorderIds.pyStatisticsChart.pySummary.pyTestcaseGenerator.pyVerify.pyWebCal.pyWriteGeneWeb.pylineage.pyrel_cs.pyrel_da.pyrel_de.pyrel_es.pyrel_fi.pyrel_fr.pyrel_hu.pyrel_it.pyrel_nl.pyrel_no.pyrel_pl.pyrel_ru.pyrel_sk.pyrel_sv.py
@@ -45,7 +45,7 @@ from gtk.gdk import ACTION_COPY, BUTTON1_MASK
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import const
|
||||
import RelLib
|
||||
import gen.lib
|
||||
import TreeTips
|
||||
import DateHandler
|
||||
import GrampsDisplay
|
||||
@@ -460,7 +460,7 @@ class ScratchPadSourceRef(ScratchPadGrampsTypeWrapper):
|
||||
notelist = [ self._db.get_note_from_handle(hndl)
|
||||
for hndl in self._obj.get_note_list() ]
|
||||
srctxtlist = [ note for note in notelist
|
||||
if note.get_type() == RelLib.NoteType.SOURCE_TEXT]
|
||||
if note.get_type() == gen.lib.NoteType.SOURCE_TEXT]
|
||||
|
||||
if len(srctxtlist) > 0:
|
||||
self._value = srctxtlist[0].get_text()
|
||||
|
Reference in New Issue
Block a user