Commit Graph

1491 Commits

Author SHA1 Message Date
Richard Taylor
972608e9e0 2005-03-25 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/Sources.py: converted to use DdTargets.py
	* src/FamilyView.py: converted to use DdTargets.py
	* src/EditPerson.py: converted to use DdTargets.py
	* src/EditPlace.py: converted to use DdTargets.py
	* src/Marriage.py: converted to use DdTargets.py
	* src/DdTargets.py: added targets for FAMILY_EVENT, FAMILY_ATTRIBUTE,
	CHILD and SPOUSE


svn: r4236
2005-03-25 21:05:09 +00:00
Alex Roitman
5f0f7001fa * src/plugins/FilterEditor.py: single instance, help.
* src/rule.glade: icon, help.
* src/plugins/SoundGen.py: single instance, icon, help.
* src/soundex.glade: help.
* src/plugins/RelCalc.py: icon.
* src/plugins/ScratchPad.py: single instance, help.
* src/scratchpad.glade: help.


svn: r4235
2005-03-25 03:34:52 +00:00
Alex Roitman
0f1878e639 * src/plugins/ChangeTypes.py: icon, window management, single instance.
* src/plugins/changetype.glade: delete event.
* src/plugins/ReorderIds.py: Disable for the time being.
* src/plugins/Eval.py: icon, window management, single instance.
* src/plugins/eval.glade: dialog.
* src/plugins/Leak.py: icon, window management, single instance.
* src/plugins/leak.glade: dialog.


svn: r4234
2005-03-25 00:24:37 +00:00
Alex Roitman
aca6e4ad2d * src/RelLib.py (Witness.__init__): Typo.
* src/plugins/Check.py (cleanup_missing_photos): Use new mediaref
detection/removal, icons, window management.
* src/plugins/summary.glade: non-modal dialog.
* src/plugins/Verify.py (VerifyResults): Use title once.


svn: r4232
2005-03-24 17:17:01 +00:00
Richard Taylor
cced1bce37 2005-03-24 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/DdTargets.py: new module to manage drag and drop target data.
	* src/Makefile.am: added DdTargets.py
	* src/ScratchPad.py: modified to use DdTargets.py. This is the first
	stage. I will look at modifying EditPersons.py to use DdTargets.py next


svn: r4231
2005-03-24 13:44:54 +00:00
Alex Roitman
77b07938b4 * src/gramps_main.py (tool_callback): Typo.
* src/QuestionDialog.py: Use gramps icon.
* src/plugins/EventCmp.py: HIG; single instance; help.
* src/plugins/eventcmp.glade: HIG; help.
* src/plugins/Desbrowser.py: HIG, help, rebuild model after edit.
* src/plugins/desbrowse.glade: help, info label.
* src/plugins/PatchNames.py: HIG, help, single instance.
* src/plugins/patchnames.glade: HIG, help.
* src/plugins/Merge.py: HIG, help, single instance.
* src/plugins/merge.glade: HIG, help.
* src/plugins/ChangeNames.py: HIG, help, single instance.


svn: r4230
2005-03-24 06:22:25 +00:00
Alex Roitman
2c47e2bfb2 * src/plugins/Verify.py (VerifyResults): Add class for displaying
results; help for the settings window; single instance of the tool.
* src/plugins/verify.glade: HIG compliance, break things into tabs.


svn: r4229
2005-03-24 03:27:02 +00:00
Martin Hawlisch
00e5489ed4 * doc/gramps-manual/de/*.xml: Incorporated changes from STABLE branch.
svn: r4227
2005-03-23 22:13:33 +00:00
Martin Hawlisch
4f52248015 * src/RelLib.py: Added self.get_date() to
get_text_data_child_list(). This way the date is searchable in the full-text search filter.


svn: r4225
2005-03-23 16:08:26 +00:00
Alex Roitman
14a9c942be * src/RelLib.py (PrivacyBase): Add base class for privacy capabilities;
(PrivateSourceNote): Inherits from SourceNote and PrivacyBase;
(MediaRef,Url,Witness,SourceRef): Remove unneeded privacy methods.
* src/ImageSelect.py (GlobalMediaProperties.display_refs): Typos.


svn: r4223
2005-03-23 13:46:06 +00:00
Alex Roitman
13dfeb6be8 * src/Sources.py: Use get_date_object (not get_date) for source refs.
* src/ReadXML.py: Use get_date_object for source refs.
* src/WriteXML.py: Use get_date_object for source refs.
* src/WriteGedcom.py: Use get_date_object for sourcerefs.
* src/plugins/FtmStyleAncestors.py: Use get_date_object for sourcerefs.
* src/plugins/FtmStyleDescendants.py: Use get_date_object for sourcerefs.
* src/plugins/NavWebPage.py: Use get_date_object for sourcerefs.
* src/plugins/WebPage.py: Use get_date_object for sourcerefs.
* src/RelLib.py (DateBase): Add base class for keeping Date;
(MediaBase): Do not inherit from BaseObject; (Event,MediaObject,LdsOrd,
Address,Name,SourceRef): Inherit all date-related methods from DateBase.


svn: r4222
2005-03-22 23:59:51 +00:00
Alex Roitman
dbaa853dae * src/RelLib.py: Move handle_reference methods from BaseObject to
PrimaryObject; (MediaBase): Remove recursive child-related operations
on mediarefs, since only primary objects have mediarefs;
Rename DataObj to PrivateObject; (People,Family,Event,MediaObject):
remove get_handleholder_list, add low-level handle reference detector.


svn: r4218
2005-03-22 16:23:53 +00:00
Alex Roitman
8f9092d8b1 * src/RelLib.py (MediaBase): Add base class for media references;
(BaseObject): Add has_handle_reference, remove_handle_references,
and replace_handle_reference methods; (SourceNote): Add
replace_source_references method; (People,Family,Event,MediaObject):
Add handle_reference methods.


svn: r4217
2005-03-22 13:55:13 +00:00
Julio Sánchez
17fc1f1be1 * src/MergeData.py: further changes to adapt to new API
svn: r4216
2005-03-21 05:53:42 +00:00
Alex Roitman
f5428cce1e * src/gramps.glade: Add tolltip to scratchpad button.
svn: r4214
2005-03-20 02:33:36 +00:00
Don Allingham
038147b649 * src/GrampsDbBase.py: handle new column
* src/PeopleModel.py: add cause of death field
* src/PeopleView.py: add cause of death field
* src/gramps.glade: add scratchpad button
* src/gramps_main.py: add scratchpad button press callback
* src/plugins/ScratchPad.py: call alternate dialog
* src/plugins/scratchpad.glade: provide alternate dialog based
on gtk.Dialog that implements the help button.


svn: r4213
2005-03-19 23:44:01 +00:00
Alex Roitman
d31fffd8df * src/gramps.glade: Add date LED buttons for LDS dates.
* src/EditPerson.py (draw_lds): Add date LED buttons for LDS dates;
(lds_field): Always set date text for LDS dates.
* src/Marriage.py (__init__): Add date LED button for LDS date.


svn: r4212
2005-03-19 18:21:57 +00:00
Alex Roitman
d934019e04 Update
svn: r4211
2005-03-19 18:12:04 +00:00
Alex Roitman
aa8849d091 * doc/gramps-manual/C/figures/export-druid.png: Update.
* doc/gramps-manual/C/gramps-manual.xml: Update.


svn: r4208
2005-03-19 06:26:23 +00:00
Richard Taylor
b31ebf5ee3 2005-03-18 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py: Tidy up of drag target type handling.
	* src/EditPerson.py (x_drag_data_received): fixed problem with
	drag and drop of objects that have srcrefs.


svn: r4206
2005-03-18 12:16:41 +00:00
Alex Roitman
dac485ee26 * src/gramps_main.py (__init__): Catch "ErrorSchemaInvalid" exception
* src/Errors.py (GConfSchemaError): Add new exception.
* src/const.py.in: Remove exception string "ErrorSchemaInvalid"
(replaced by new class).
* src/GrampsGconfKeys.py (get_bool,get_int,get_string): Raise exception.


svn: r4204
2005-03-17 20:33:36 +00:00
Martin Hawlisch
3dfcf51269 * src/GrampsGconfKeys.py (get_bool,get_int,get_string): Raise exception when default value could not be get from gconf schema
* src/const.py.in: Add custom exception "ErrorSchemaInvalid"
* src/GrampsMime.py (mime_type_is_defined): New method that returns True/False
* src/gramps_main.py (__init__) Catch "ErrorSchemaInvalid" exception and check for installed MIME-type. Show error because installation is incomplete.


svn: r4200
2005-03-17 19:28:00 +00:00
Alex Roitman
d105ef6be0 * acinclude.m4: Add macro for defining SHARED_MIME_DIR.
* configure.in: Use AM_SHARED_MIME macro.
* src/data/Makefile.am: Use defined GCONF_SCHEMA_FILE_DIR and
SHARED_MIME_DIR, not the hardcoded paths.


svn: r4199
2005-03-17 17:19:34 +00:00
Martin Hawlisch
7f7c81d080 * src/Exporter.py (build_info_page): proofreading; (build_format_page): shrink the size of the window by using tooltips to display the format description.
* src/plugins/ExportVCard.py: New (unfinished) plugin to export addresses to pim applications.
* src/plugins/vcardexport.glade: GUI for the Exporter Druid of vCard export
* src/plugins/ExportVCalendar.py: New (unfinished) plugin to export events for calendaring applications.
* src/plugins/vcalendarexport.glade: GUI for the Exporter Druid of vCalendar export


svn: r4197
2005-03-17 12:51:14 +00:00
Martin Hawlisch
fd67637913 * src/plugins/ImportvCard.py: A quickly hacked version of a vCard importer. Maybe it is useful for someone.
* src/const.py.in: added mime for vCard import.


svn: r4196
2005-03-16 22:40:42 +00:00
Alex Roitman
11c61d5766 * src/GenericFilter.py (HasTextMatchingSubstringOf): Minor.
* src/plugins/FilterEditor.py (EditRule:__init__): Typo.
* ChangeLog.old: Add to CVS the pre-2005 ChangeLog; Split off current.


svn: r4195
2005-03-16 16:38:20 +00:00
Alex Roitman
381110412b Update
svn: r4194
2005-03-16 16:37:33 +00:00
Martin Hawlisch
09cff3f693 * src/GenericFilter.py (HasTextMatchingSubstringOf): add checkboxes for case and regexp matching; (HasTextMatchingRegexpOf)
Added wrapper to use regexp matching in HasTextMatchingSubstringOf
* src/gramps_main.py: Add new regular expression filter
* src/plugins/FilterEditor.py (EditRule:__init__): Treat params of new filter as boolean.
* TODO: Add parameter definition of Filter Rules to the filter itself, so it can be removed from the filter editor and used by
PeopleView.


svn: r4193
2005-03-16 14:13:33 +00:00
Richard Taylor
1e49f78a37 2005-03-16 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/ScratchPad.py (ScratchPad): improved the generation of
	tooltip information for most object types.


svn: r4192
2005-03-16 13:52:04 +00:00
Richard Taylor
8e1ee40111 2005-03-16 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/EditPerson.py (EditPerson.ev_drag_data_received): Fixed
    drag and drop of events.


svn: r4191
2005-03-16 08:51:53 +00:00
Alex Roitman
ce483b0966 * src/data/gramps.xml: Correct GW magic to not collide with XML.
svn: r4189
2005-03-16 06:04:45 +00:00
Martin Hawlisch
1c452df605 * src/plugins/ImportGeneWeb.py: fixed small typos
svn: r4188
2005-03-15 21:04:44 +00:00
Alex Roitman
0b892faff2 * src/GenericFilter.py (HasTextMatchingSubstringOf):
Rename FullTextSearch as well as its descriptions.
* src/gramps_main.py: Change string for filter menu.
* src/plugins/FilterEditor.py (EditRule.__init__): Hide window while
drawing.
* src/DateEdit.py (DateEditorDialog.__init__): Hide window while
drawing.


svn: r4186
2005-03-15 16:26:30 +00:00
Alex Roitman
c492d5a5ad * src/RelLib.py (Source.get_text_data_child_list,
Family.get_text_data_child_list): Add missing lists.
* src/GenericFilter.py (FullTextSearch): Correct description.

* src/GenericFilter.py (FullTextSearch): Added new filter that provides
a full-text search thru (nearly) all attributes and linked objects of a person.


svn: r4185
2005-03-15 15:56:47 +00:00
Richard Taylor
d85c655092 2005-03-15 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/Makefile.am : Added TreeTip.py to list of installed modules.
	* src/TreeTip.py: New module that implements tooltips on TreeView rows.
	* src/plugins/Makefile.am: Added ScratchPad.py and scratchpad.glade.
	* src/plugins/ScratchPad.py: New module to implement a scratch pad for
	temporary storage of drag and drop objects.
	* src/plugins/scratchpad.glade: New glade file for ScratchPad window.


svn: r4184
2005-03-15 13:48:18 +00:00
Martin Hawlisch
840c8ec4a9 * src/GenericFilter.py (FullTextSearch): Added new filter thad provides
a full-text search thru (nearly) all attributes and linked objexts of a person.
* src/gramps_main.py: add the new filter to the menu.
* src/RelLib.py (Event,Source): fix get_text_data_child_list() to correct
attributes of the class; (Family): fix get_sourcref_child_list().


svn: r4183
2005-03-15 12:56:14 +00:00
Alex Roitman
d2e476e956 * src/AddSpouse.py (select_spouse_clicked): Prevent adding oneself
and oneself's parents as a spouse; When aborting, do not close dialog.
* src/RelLib.py (BaseObject): Add base data class, to support
capabilites common to all gramps objects; (matches_string,
matches_regexp): Add methods for searching textual objects;
(Person,Family,Event,Place,Source,MediaRef,LdsOrd,Attribute,Address,
Name,Location,Note,Url,Witness,SourceRef): Add methods for determining
textual objects and children with textual objects.


svn: r4182
2005-03-15 05:23:12 +00:00
Don Allingham
00ed8a7693 * src/gramps_main.py: use new GRAMPS homepage
svn: r4180
2005-03-14 23:30:26 +00:00
Alex Roitman
4b817d717e * src/DisplayTrace.py (__init__): Mark debian distros.
svn: r4177
2005-03-14 03:50:38 +00:00
Alex Roitman
f2f3d1530c * src/EventEdit.py (get_place): Typo.
svn: r4173
2005-03-14 00:10:36 +00:00
Alex Roitman
98e031a825 * src/DateEdit.py (update_after_editor): Add method.
* src/EditPerson.py: Always have birth/death events (never None);
Use new update method for dates; Only commit death/birth if changed;
Only add new birth/death if non-empty.
* src/EventEdit.py: Translate stored event names before including in
menu; Exclude birth/death from menu; Do not add birth/death to the
custom event types; Only detect type change for non-birth/death.
* src/GrampsDbBase.py: Do not commit objects with empty handles.
* src/GrampsInMemDB.py: Do not commit objects with empty handles.
* src/Utils.py (family_name): Add clause for unknown parents.


svn: r4172
2005-03-13 22:10:40 +00:00
Martin Hawlisch
9130c8819e * src/GenericFilter.py (Rule,GenericFilter): New methods prepare() and
reset(), that are called before/after a filter is applied, to properly
support query caches; (IsWitness): new filter;
(RelationshipPathBetween,IsDescendantOf,IsLessThanNthGenerationDescendantOf,
IsMoreThanNthGenerationDescendantOf,IsChildOfFilterMatch,IsSiblingOfFilterMatch,
IsAncestorOf,IsAncestorOfFilterMatch,IsLessThanNthGenerationAncestorOf,
IsMoreThanNthGenerationAncestorOf,IsParentOfFilterMatch,HasCommonAncestorWith):
use prepare() and reset() to create a proper query cache. Currently the
cache was only created once after object creation and never updated.
* src/gramps_main.py: Add new filters to the menu.


svn: r4171
2005-03-13 19:49:38 +00:00
Alex Roitman
5b1675d0dc * src/Utils.py (get_media_referents): Add function;
Add generic data recovery message.
* src/gramps_main.py (delete_person_clicked): Use generic data recovery
message.
* src/SourceView.py (on_delete_clicked): Use generic data recovery
message.
* src/EditSource.py (display_references): Change list headings.
* src/MediaView.py (on_delete_clicked): Use new mediaref detector;
Use generic data recovery message; (delete_objectmis-object_used):
Remove functions.
* src/ImageSelect.py (GlobalMediaProperties.display_ref): Use new
sourceref detection; (DeleteMediaQuery__init__): Accept object handle
and lists; (DeleteMediaQuery.query_response): Use new mediaref removal.


svn: r4161
2005-03-12 00:44:11 +00:00
Alex Roitman
82c7948f22 * src/RelLib.py (SourceNote): Add methods for detection and removal
source references in itself and child objects; (SourceNote,Person,
Family,Event,Place,Source,MediaRef): Add method for determining child
sourceref-capable objects.
* src/Utils.py (get_source_referents): Add function.
* src/EditSource.py (display_references): Use new sourceref detection;
(DelSrcQuery.__init__): Accept object lists; (DelSrcQuery.query_response):
Use new sourceref removal.
* src/SourceView.py (on_delete_clicked): Use new sourceref detection;
(delete_source,is_used): Remove functions.


svn: r4160
2005-03-11 21:05:46 +00:00
Martin Hawlisch
1901e63677 * src/GenericFilter.py (PersonWithIncompleteEvent,
FamilyWithIncompleteEvent, ProbablyAlive,PeoplePrivate):
Add filter rules.
* src/gramps_main.py (init_filters): Add new filters to the menu.


svn: r4159
2005-03-11 20:53:53 +00:00
Martin Hawlisch
1869866af9 * src/plugins/NavWebPage.py: Catch invalid HomeNote object
svn: r4158
2005-03-10 22:19:19 +00:00
Alex Roitman
e3edfe4525 * src/GenericFilter.py (IsBookmarked,IncompleteNames,
HaveAltFamilies,HavePhotos,HaveChildren,NeverMarried,
MultipleMarriages,NoBirthdate): Add filter rules.
* src/gramps_main.py (init_filters): Add new filters to the menu.


svn: r4156
2005-03-10 19:01:00 +00:00
Alex Roitman
bba3da4d8d Update
svn: r4155
2005-03-10 18:55:18 +00:00
Alex Roitman
3c0dda05f7 * src/AddSpouse.py (select_spouse_clicked): Prevent adding child
of the family as a spouse in that family.


svn: r4154
2005-03-10 04:57:22 +00:00
Don Allingham
b1b8d68b83 * src/ChooseParents.py: Fix widget sensitivity problem, assign
integer value instead of string to relationship type
* src/FamilyView.py: fix child relationship display value
* src/GrampsBSDDB.py: upgrade to DB version 4 (remove string
relationship types)


svn: r4152
2005-03-10 01:38:08 +00:00
Don Allingham
ebedde9f09 * src/EditPerson.py: call new_after_edit instead of update_after_edit
for new people.


svn: r4151
2005-03-10 01:02:09 +00:00
Alex Roitman
ddff08d24e * src/FamilyView.py: Correct constants for birth relationship.
svn: r4150
2005-03-10 00:28:57 +00:00
Alex Roitman
8c1061b9a7 * src/ReadXML.py (start_childof): Use integer relations.
* src/WriteXML.py (write_xml_data): Properly test frel.
* src/rule.glade: Change button label; add "need to close" label.
* src/EditPlace.py: Typo.


svn: r4149
2005-03-10 00:04:50 +00:00
Alex Roitman
dce5cc2a9b Update
svn: r4148
2005-03-09 23:06:51 +00:00
Don Allingham
e21dac81bf * src/EditPerson.py: add srcref as a drag and drop item
* src/EditPlace.py: add srcref as a drag and drop item
* src/Marriage.py: add srcref as a drag and drop item
* src/WriteGedcom.py: catch empty event
* src/Sources.py: add drag-n-drop for source references


svn: r4147
2005-03-09 22:59:24 +00:00
Alex Roitman
a5c857809f * src/GenericFilter.py (IsDefaultPerson,IsSiblingOfFilterMatch):
Add filter rules.


svn: r4146
2005-03-09 17:47:23 +00:00
Don Allingham
9b7c7bc4f2 * srcNameEdit.py: assign date on close
svn: r4145
2005-03-09 17:12:58 +00:00
Alex Roitman
3ccc11f763 * src/data/gramps.schemas: Place dont-ask key into interface dir.
* src/Marriage.py (did_data_change): Compare gramps_id, not handle.


svn: r4144
2005-03-09 16:25:15 +00:00
Alex Roitman
38183c6024 * src/PedView.py: Import RelLib for accessing relationship constants.
* src/NameEdit.py: Use empty Date for newly created name.


svn: r4143
2005-03-09 16:06:22 +00:00
Alex Roitman
25624f61d9 * src/ChooseParents.py: Stop parent selection window from being
modal; fix child/parent relations from strings to integers.


svn: r4142
2005-03-09 04:50:10 +00:00
Don Allingham
761733ae1e * src/ChooseParents.py: change _nsort to _model
* src/GrampsBSDDB.py: fix event secondary index function to that
the event name is used instead of the GRAMPS id.


svn: r4141
2005-03-09 03:58:44 +00:00
Alex Roitman
5438164231 * src/plugins/FilterEditor.py (on_delete_event,close_filter_editor):
Update filter ComboBox in the main window.
* src/gramps_main.py (init_filters): Clear layout before rebuilding.


svn: r4140
2005-03-09 01:08:49 +00:00
Alex Roitman
d7fe0d91e6 * src/EditPerson.py (__init__): Only set update sources if possible
(calls from ChooseParents don't provide the correct parent, but then
the full update goes on anyway).
* src/ChooseParents.py (mother_list_select_row,
father_list_select_row): Comment out auto-selection of parents.


svn: r4139
2005-03-08 22:24:41 +00:00
Alex Roitman
cff7c00db4 * src/Marriage.py (on_add_clicked,on_event_update_clicked): Typos.
* src/AddSpouse.py (select_spouse_clicked): Typo.


svn: r4138
2005-03-08 22:02:49 +00:00
Alex Roitman
c22dae3716 * src/DbPrompter.py (ImportDbPrompter.chooser): Typo.
svn: r4137
2005-03-08 21:11:48 +00:00
Alex Roitman
c85c5cc4af * src/EditPerson.py: Remove numerous multiple definitions.
* src/AttrEdit.py (__init__): Set text to translated attribute type.
* src/const.py.in (display_attr): Add function.


svn: r4132
2005-03-08 17:18:33 +00:00
Alex Roitman
5867ce9c30 * src/AddrEdit.py: Typo.
* src/EditPerson.py (on_add_addr_clicked): Typos.
* src/EditSource.py (display_references): Add lots of missed
source references.
* src/ImageSelect.py: Use PluginsMgr instead of Plugins.


svn: r4131
2005-03-08 03:14:25 +00:00
Don Allingham
5e1d964551 * src/RelLib.py: more documentation
svn: r4130
2005-03-08 01:11:50 +00:00
Alex Roitman
b017df054a * src/gramps_main.py (post_load): Upgrade even if no callback.
svn: r4127
2005-03-07 13:49:14 +00:00
Alex Roitman
85e38877b4 Update
svn: r4126
2005-03-07 13:47:17 +00:00
Don Allingham
44c64eac09 * src/GrampsBSDDB.py: display upgrade messages to stdout
svn: r4125
2005-03-07 04:57:22 +00:00
Don Allingham
47efc514f4 * src/GrampsBSDDB.py: add upgrade to version 3 for new Name type
* src/NameEdit.py: add date editor field
* src/ReadXML.py: read date field attached to a name
* src/WriteXML.py: write date field attached to a name
* src/RelLib.py: add date field to Name
* src/gramps.glade: add date editor field to Name Editor dialog


svn: r4121
2005-03-06 23:47:26 +00:00
Alex Roitman
6fdd7e2556 * src/EditSource.py (display_references): List source's references
from personal and family gallery objects.


svn: r4120
2005-03-06 18:32:14 +00:00
Alex Roitman
b808432d36 * src/GenericFilter.py (HasAttribute.apply): Make work when no value
is given; (HasFamilyAttribute.apply): Make work when no value is given.


svn: r4117
2005-03-04 15:15:20 +00:00
Alex Roitman
91bcc33a22 * src/GenericFilter.py (HasAttribute.apply): Fix the rule.
(HasFamilyAttribute.apply): Fix the rule.
* src/Marriage.py (on_update_attr_clicked,on_add_attr_clicked):
Pass the window to the attribute editor.


svn: r4115
2005-03-03 15:00:55 +00:00
Alex Roitman
b99f1b4019 * src/plugins/Makefile.am: Stop shipping ReadNative.py.
svn: r4114
2005-03-03 05:43:41 +00:00
Don Allingham
31f3958a1c * src/ChooseParents.py: use integers instead of strings for
relationship types
* src/PedView.py: use integers instead of strings for
relationship types
* src/ReadGedcom.py: use integers instead of strings for
relationship types
* src/ReadXML.py: use integers instead of strings for
relationship types
* src/RelLib.py: use integers instead of strings for
relationship types
* src/SelectChild.py: use integers instead of strings for
relationship types
* src/WriteXML.py: use integers instead of strings for
relationship types
* src/const.py.in: use integers instead of strings for
relationship types
* src/gramps_main.py: call database update function
* src/GrampsBSDDB.py: add database upgrade function
* src/GrampsDbBase.py: add database upgrade function


svn: r4113
2005-03-03 05:33:22 +00:00
Alex Roitman
164cfe3983 * src/plugins/FilterEditor.py: Multiple fixes.
* src/GenericFilter.py: Multiple fixes.


svn: r4112
2005-03-03 05:13:47 +00:00
Don Allingham
bcee9aa364 * src/Marriage.py: fix lds menu
svn: r4110
2005-03-03 01:42:17 +00:00
Don Allingham
3f12ec9563 * src/AddSpouse.py: use ComboBox instead of ComboBoxEntry for
handling child/parent relationships
* src/ChooseParents.py: use ComboBox instead of ComboBoxEntry for
handling child/parent relationships
* src/FamilyView.py: use ModifyParents instead of EditRel
* src/SelectChild.py: use ComboBox instead of ComboBoxEntry for
handling child/parent relationships. Remove EditRel class
* src/gramps.glade: use ComboBox instead of ComboBoxEntry for
handling child/parent relationships, delete editrel


svn: r4109
2005-03-02 20:48:58 +00:00
Alex Roitman
028ed21efc * src/DbPrompter.py (ImportDbPrompter.chooser): Explicitly
import XML and GEDCOM.
* src/plugins/FilterEditor.py (MySelect.get_text): Typo.


svn: r4108
2005-03-02 14:00:51 +00:00
Alex Roitman
c36385735a * src/DbPrompter.py (format_maker): Add mnemonic activation target
to the format selector label; Use new import format; don't treat
native formats as plugins anymore.
* src/PluginMgr.py: Add format name to import registration.
* src/ReadGedcom.py: Cleanups; Don't register already native import.
* src/ReadXML.py: Don't register already native import.
* src/data/gramps.xml: Add magic patterns for XML, GEDCOM, and GW.
* src/plugins/ImportGeneWeb.py: Register with format name.
* src/plugins/ReadNative.py: Remove obsolete file.
* src/plugins/ReadPkg.py: Lots of cleanups; Register with format name.


svn: r4105
2005-02-28 01:51:21 +00:00
Alex Roitman
b93465e70e Update
svn: r4104
2005-02-28 01:25:12 +00:00
Don Allingham
572e90a270 * src/plugins/NavWebPage.py: add the ability to have notes
attached to the Introduction and Home pages


svn: r4103
2005-02-27 23:43:20 +00:00
Julio Sánchez
7dbcd4c421 * src/MergeData.py: preserve most data while merging families
* src/PeopleView.py: allow multiple selection in people list
* src/ReadGedcom.py: keep source information in families
* src/RelLib.py


svn: r4102
2005-02-27 22:05:02 +00:00
Julio Sánchez
249bb2f461 * src/MergeData.py: preserve most data while merging families
* src/PeopleView.py: allow multiple selection in people list
* src/ReadGedcom.py: keep source information in families
* src/RelLib.py


svn: r4100
2005-02-27 18:56:31 +00:00
Don Allingham
3b7952f7fc * src/AddrEdit.py: update main source list after source addition
* src/AttrEdit.py: update main source list after source addition
* src/EditPerson.py: update main source list after source addition
and place addition
* src/EventEdit.py: update main source list after source addition
and place addition
* src/FamilyView.py: update main source list after source addition
* src/Marriage.py: update main source list after source addition
* src/NameEdit.py: update main source list after source addition
* src/Sources.py: update main source list after source addition
* src/gramps_main.py: update main source list after source addition
* src/const.py.in: new constants


svn: r4099
2005-02-27 05:51:59 +00:00
Don Allingham
ddc6690752 * src/gramps_main.py: update places and sources after edit
svn: r4098
2005-02-26 05:19:38 +00:00
Alex Roitman
7e981442b0 * src/DbPrompter.py: Factory functions for file filters;
Support for explicit format selection for open and import dialogs.


svn: r4097
2005-02-26 02:34:11 +00:00
Alex Roitman
a813772ede * src/Sources.py (SourceEditor.draw): Do not discard reference
data when adding new source.


svn: r4096
2005-02-26 01:56:34 +00:00
Alex Roitman
08e17293a7 * src/EditPerson.py (on_event_update_clicked): Pass callback.
* src/EventEdit.py (__init__): Typo.


svn: r4095
2005-02-25 17:29:39 +00:00
Alex Roitman
6f290afb24 * src/gramps_main.py (undo_callback): Enable underscore in a label.
* src/NameDisplay (display_name): Return empty string for None.
* src/NameEdit.py (__init__): Compare displayed name with empty string,
(update_group_as): Only query grouping for existing name.


svn: r4093
2005-02-25 17:06:04 +00:00
Alex Roitman
b44960ff77 * src/EditPerson.py (EditPerson.__init__): Correct widget names.
svn: r4092
2005-02-25 16:36:47 +00:00
Alex Roitman
168ae08f73 * src/Sources.py (SourceEditor.update_display): Do not add source
for the second time.


svn: r4091
2005-02-25 16:26:26 +00:00
Alex Roitman
3ef8e12f42 * src/DbPrompter.py (GrampsFormatWidget): Add class;
(format_maker): Add_function; (NewSaveasDbPrompter.chooser): Support
for explicit format selection.


svn: r4090
2005-02-25 16:05:02 +00:00
Alex Roitman
f0317a95be * src/MediaView.py (on_select_row): Add garbage collection call.
svn: r4088
2005-02-25 01:13:27 +00:00
Don Allingham
d920d5f78c * src/DbPrompter.py: catch zero length filename
* src/FamilyView.py: fixed selection of spouse's parents
* src/gramps_main.py: update display after loading data


svn: r4086
2005-02-24 01:40:40 +00:00
Don Allingham
3731aad2b3 * src/AddMedia.py: use new find_mime_type_pixbuf instead of
find_icon
* src/ImageSelect.py: remove internal media widgets, use new
find_mime_type_pixbuf instead of find_icon
* src/ImgManip.py: catch pixbuf_new_from_file exception
* src/MediaView.py: use new find_mime_type_pixbuf instead of
find_icon
* src/SelectObject.py: use new find_mime_type_pixbuf instead of
find_icon
* various: replace the deprecated gtk.TRUE/gtk.FALSE with
True/False


svn: r4085
2005-02-24 00:25:34 +00:00
Alex Roitman
ab4ece1950 * src/gramps_main.py (on_new_clicked): Do not prematurely close db.
* src/DbPrompter.py (NewNativeDbPrompter.chooser): Close old db
if positively opening a new one.


svn: r4082
2005-02-23 04:46:51 +00:00
Alex Roitman
6eb7518698 * src/Exporter.py (native_export): Use real export.
* src/WriteGrdb.py (exportData): Provide default cl value.


svn: r4081
2005-02-23 04:39:05 +00:00