Commit Graph

1049 Commits

Author SHA1 Message Date
Don Allingham
4ec5ccd047 * src/DbPrompter.py: cleanup dialogs
* src/EditPerson.py: update screen properly
* src/PeopleModel.py: handle stored maps correctly
* src/PeopleView.py: handle stored maps correctly
* src/gramps_main.py: eliminate unnecessary rebuilds, display
loading dialog
* src/gramp.glade: loading dialog


svn: r3519
2004-08-29 05:45:40 +00:00
Don Allingham
7fe1cc5113 * src/RelLib.py: guess_gender fix
* src/gramps_main.py: drop unused goto_active_person parameter


svn: r3518
2004-08-29 02:36:00 +00:00
Don Allingham
e07ffbcdd4 * src/EditPerson.py: make a distiction between adding a person
and editing a person.
* src/PeopleView.py: drop unused goto_active_person parameter
* srcgramps_main.py: drop unused goto_active_person parameter


svn: r3517
2004-08-28 19:49:34 +00:00
Tim Waugh
9459c36c2e 2004-08-27 Tim Waugh <twaugh@redhat.com>
* src/SelectObject.py (SelectObject.redraw): Use GRAMPS ID for
        user display.


svn: r3516
2004-08-27 13:35:24 +00:00
Don Allingham
b147e4e72f * src/DisplayModels.py: fix place and source lists
* src/PlaceView.py: fix place lists
* src/SourceView.py: fix source lists


svn: r3515
2004-08-27 03:41:57 +00:00
Don Allingham
f9f9ea670b * src/Sort.py: use locale.strcoll for sorting
* src/RelLib.py: don't use accent for sort name
* src/EditPerson.py: compare edited ID value properly
* src/Marriage.py: compare edited ID value properly
* src/PeopleModel.py: use locale.strcoll for comparing
* src/GrampsBSDDB.py: use locale.strcoll for comparing/sorting
* src/GrampsDbBase.py: use locale.strcoll for comparing/sorting
* src/DbPrompter.py: handle bad filenames a bit better


svn: r3514
2004-08-26 21:54:14 +00:00
Don Allingham
4ab4faa6ba * src/gramps_main.py: update properly after an edit
* src/Utils.py: generate correct path name, using gramps id
instead of handle
* src/ImageSelect.py: select correct path name for thumbnail

* src/PeopleModel.py: move to a table driven format for
handling columns


svn: r3513
2004-08-26 04:03:11 +00:00
Tim Waugh
e1024a5cc8 2004-08-25 Tim Waugh <twaugh@redhat.com>
* src/WriteGedcom.py (GedcomWriter.write_person): Removed
        debugging noise.


svn: r3511
2004-08-25 07:57:05 +00:00
Tim Waugh
b29af77888 2004-08-25 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py (Person.parents_too_old): Fixed typo.


svn: r3510
2004-08-25 07:53:44 +00:00
Don Allingham
1f12cdd680 * src/DisplayModels.py: handle a closed database in on_get_value
* src/PeopleModel.py: handle a closed database in on_get_value


svn: r3509
2004-08-25 03:37:48 +00:00
Don Allingham
2c2655d899 * src/ImageSelect.py: Display GRAMPS ID, not DB handle
* src/WriteGedcom.py: handle image file problems when exporting


svn: r3508
2004-08-25 03:25:23 +00:00
Don Allingham
b163c0304d * src/ReadXML.py: Fix file copy problem, handle copy failure
* src/src/ImageSelect.py: Display GRAMPS ID, not DB handle

* src/plugins/WebPage.py: web page enhancements, including
a place index.


svn: r3507
2004-08-25 03:02:25 +00:00
Tim Waugh
a8627b81b3 2004-08-24 Tim Waugh <twaugh@redhat.com>
* src/MediaView.py (MediaView.on_select_row): Use the correct
        column for DB handle.
        (MediaView.on_select_row): Display GRAMPS ID, not DB handle.
        (MediaView.build_context_menu): Use the correct column for DB
        handle.
        (MediaView.on_edit_clicked): Likewise.
        (MediaView.on_delete_clicked): Likewise.


svn: r3506
2004-08-24 18:05:18 +00:00
Tim Waugh
c5bad7a635 2004-08-24 Tim Waugh <twaugh@redhat.com>
* src/WriteXML.py: Write out 'default' tag on people node for
        compatibility with GRAMPS 1.0.x.


svn: r3505
2004-08-24 10:24:17 +00:00
Alex Roitman
0929184cad * src/GrampsDbBase.py (get_object_from_gramps_id,
get_source_from_gramps_id, get_place_from_gramps_id): Add placeholder
functions with assertions.


svn: r3503
2004-08-24 05:09:50 +00:00
Alex Roitman
f596ef108a * src/ArgHandler.py (auto_save_load): Remove new db creation for BSDDB.
svn: r3502
2004-08-24 04:55:32 +00:00
Alex Roitman
c99cf190cd * src/EdirPerson.py (__init__): Typos.
svn: r3501
2004-08-24 04:51:11 +00:00
Don Allingham
aa0165c0a7 a person is not alive.
svn: r3500
2004-08-24 04:15:23 +00:00
Don Allingham
0e9346bfff * src/PeopleModel.py: enhanced column_spouse
* src/RelLib.py: enhance probably_alive to check for "Cause
of Death", "Burial", and "Cremation" events to indicate that
a person is not alive.
* src/const.py.in: add support for "Marriage Banns"

* src/ReadXML.py: set last change time, support handles


svn: r3499
2004-08-24 04:14:08 +00:00
Don Allingham
e0eb81544c * src/Utils.py: produce less line noise when generating
handles
* src/WriteGedcom.py: save CHAN records
* src/WriteXML.py: save handles and time stamps
* src/GrampsDbBase.py: make the find_xxx_from_handle functions
consistent and correct (handle ids correctly)
* src/DisplayModels.py: add last change column
* src/PeopleModel.py: add last change column
* src/PeopleView.py: add last change column
* src/MediaView.py: add last change column
* src/SourceView.py: add last change column
* src/EditPerson.py: display last change timestamps
* src/EditPlace.py: display last change timestamps
* src/Marriage.py: display last change timestamps
* src/ReadXML.py: set last change time
* src/gramps.glade: updates for last change display


svn: r3498
2004-08-24 03:48:15 +00:00
Alex Roitman
ce2b902131 * src/DbPrompter.py (ExistingDbPrompter.chooser,
ImportDbPrompter.chooser): Destroy file chooser on failure (#1014254).


svn: r3497
2004-08-23 22:50:35 +00:00
Alex Roitman
73d8bdafdc * src/const.py.in: Add gramps-package mime type.
* src/ArgHandler.py (auto_save_load): Subclass database depending
on the format.


svn: r3496
2004-08-23 22:39:41 +00:00
Alex Roitman
7f2b5265da * src/data/Makefile.am: Kill gconfd using SIGTERM -- HUP did not work.
svn: r3495
2004-08-23 22:17:09 +00:00
Alex Roitman
fb8b2ff943 * src/Plugins.py: Add native_format flag to import plugin registration.
* src/ReadXML.py, src/ReadGedcom.py: Register as native formats
to prevent loading twice on File->Open.
* src/data/gramps.schemas: Add keys for last import and export dirs.
* src/GrampsCfg.py (get_last_import_dir, save_last_import_dir,
get_last_export_dir, save_last_export_dir): Add functions.
* src/Exportder.py (suggest_filename): Try last export and last
import folders before falling back to Home; (save): Save export folder.
* src/Utils.py (get_new_filename): Add optional folder argument.
* src/DbPrompter.py (ExistingDbPrompter.chooser): Only add
importers for non-native formats, the rest is already taken care of;
Try last file, last import, last export, then home folders;
(ImportDbPrompter.chooser): Save import folder; Try last import,
last file, last export, then home folders.
(NewNativeDbPrompter): Try last file, last import, last export folders,
then fall back to home.


svn: r3493
2004-08-23 22:05:55 +00:00
Alex Roitman
0153cf36bc * src/plugins/WebPage.py: Use gramps ID for naming the files
and creating links.


svn: r3492
2004-08-23 18:40:25 +00:00
Alex Roitman
6d709a5c94 * src/docgen/AbiWord2Doc.py, src/docgen/AsciiDoc.py,
src/docgen/HtmlDoc.py, src/docgen/KwordDoc.py,
src/docgen/OpenOfficeDoc.py, src/docgen/PdfDoc.py,
src/docgen/RTFDoc.py: Translate type descriptions; correct print_label.


svn: r3491
2004-08-23 17:30:47 +00:00
Alex Roitman
5e49c95b5b Update
svn: r3490
2004-08-23 17:04:58 +00:00
Alex Roitman
7eada1b47d * src/plugins/Ancestors.py (event_info): Check whetehr place
exists before getting its title (#1014412).


svn: r3489
2004-08-23 17:04:14 +00:00
Alex Roitman
934a763ae2 * src/plugins/DetAncestralReport.py (write_children):
Check whether event exists (#1014414).
* src/plugins/IndivComplete.py (write_alt_names): Correct the
use of handle (#1014411); (write_fact, write_sources, write_person):
Use gramps id, not handle, for displaying source references.


svn: r3488
2004-08-23 16:59:13 +00:00
Alex Roitman
ab83541b89 * src/EdirPerson.py (__init__): Use handle instead of ID (#1014224).
svn: r3487
2004-08-23 16:27:02 +00:00
Alex Roitman
87eb0778e2 * src/NameEdit.py: Proper use of ComboBoxEntry widgets (#1014238).
svn: r3486
2004-08-23 16:22:38 +00:00
Alex Roitman
acde3be300 * src/RelLib.py: (probably_alive): Fixed typo (bug #1014223).
svn: r3485
2004-08-23 16:05:22 +00:00
Tim Waugh
5d1c8f45e2 2004-08-23 Tim Waugh <twaugh@redhat.com>
* install-sh: Removed this generated file.


svn: r3484
2004-08-23 15:43:27 +00:00
Tim Waugh
237ff088c7 2004-08-23 Tim Waugh <twaugh@redhat.com>
* src/WriteGedcom.py (GedcomWriter.write_sources): Write sources
        in ID order for easier change tracking.


svn: r3483
2004-08-23 11:26:24 +00:00
Tim Waugh
aaf6a71702 (XmlWriter.write_ref): Fixed typo.
svn: r3482
2004-08-23 11:14:38 +00:00
Tim Waugh
1795b036c9 2004-08-23 Tim Waugh <twaugh@redhat.com>
* src/GrampsDbBase.py (GrampsDbBase.find_source_from_handle): Set
        GRAMPS ID on new source (bug #1014246).


svn: r3481
2004-08-23 10:42:36 +00:00
Don Allingham
f8b1715b41 * src/Marriage.py: pychecker fixes
* src/RelLib.py: pychecker fixes
* src/SelectChild.py: pychecker fixes
* src/SelectObject: pychecker fixes
* src/SourceView.py: pychecker fixes
* src/Sources.py: pychecker fixes
* src/StyleEditor.py: pychecker fixes
* src/TarFile.py: pychecker fixes
* src/TipOfDay.py: pychecker fixes
* src/Utils.py: pychecker fixes
* src/WriteXML.py: pychecker fixes


svn: r3480
2004-08-22 23:16:57 +00:00
Tim Waugh
b9c493f2af 2004-08-23 Tim Waugh <twaugh@redhat.com>
* src/WriteGedcom.py (GedcomWriter.write_families): Write families
        in GRAMPS ID order for easier change tracking.


svn: r3479
2004-08-22 23:11:30 +00:00
Tim Waugh
8e5fde6f38 (GedcomWriter.fid): Use GRAMPS ID not DB handle.
svn: r3477
2004-08-22 16:33:31 +00:00
Tim Waugh
8afdb56aee * src/WriteGedcom.py (GedcomWriter.export_data): Write individuals
out in GRAMPS ID order.


svn: r3476
2004-08-22 16:30:43 +00:00
Tim Waugh
3660a257ed 2004-08-22 Tim Waugh <twaugh@redhat.com>
* src/ReadXML.py (GrampsParser.start_object): Set GRAMPS ID.


svn: r3474
2004-08-22 16:18:33 +00:00
Tim Waugh
49e9629d04 (XmlWriter.write_xml_data): Fixed families output by preventing
confusion between handles and GRAMPS IDs.


svn: r3473
2004-08-22 12:52:33 +00:00
Tim Waugh
53f650655a (XmlWriter.write_family_handle): Use GRAMPS ID not DB handle.
(XmlWriter.write_xml_data): Sort family IDs before writing.


svn: r3472
2004-08-22 12:45:47 +00:00
Tim Waugh
243aacca4f (XmlWriter.write_xml_data): Fixed people output by preventing
confusion between handles and GRAMPS IDs.


svn: r3471
2004-08-22 12:37:44 +00:00
Tim Waugh
89ca5db49f (XmlWriter.write_xml_data): Sort person handles before writing.
svn: r3470
2004-08-22 12:21:01 +00:00
Tim Waugh
f581818afa 2004-08-22 Tim Waugh <twaugh@redhat.com>
* src/WriteXML.py (write_xml_data): Fixed typo causing XML export to
        omit all place definitions.


svn: r3469
2004-08-22 12:06:19 +00:00
Tim Waugh
afbd8750aa 2004-08-22 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py (probably_alive): Fixed typo (bug #1012347).


svn: r3468
2004-08-22 09:15:26 +00:00
Alex Roitman
74c1a75bfe * src/WriteGedcom.py (write_sources, write_person, write_ord):
Use gramps id instead of handle.
* src/GenericFilter.py: Check object for being not None.


svn: r3467
2004-08-22 05:33:37 +00:00
Alex Roitman
136d64ab89 * src/plugins/Check.py: Import const module.
* src/PedView.py: Add person to the list even if there are no parents.


svn: r3466
2004-08-22 01:41:53 +00:00
Alex Roitman
076fa45195 * src/ReadGedcom.py (parse_record, parse_individual, parse_ord,
parse_adopt_event): Don't include "@" signs into family gramps id.
* src/PedView.py (find_tree): Correctly retrieve parents.


svn: r3465
2004-08-21 20:43:34 +00:00
Alex Roitman
5222330f5c * src/plugins/Verify.py (on_apply_clicked): Use gramps id for
display; (get_year): Corrections.


svn: r3464
2004-08-21 19:09:52 +00:00
Alex Roitman
1790aef639 * src/GrampsDbBase.py (find_event_from_handle):
Add transaction argument


svn: r3463
2004-08-21 18:58:19 +00:00
Alex Roitman
a75338f737 * src/AddSpouse.py, src/ChooseParents.py, src/EditPerson.py,
src/EditPlace.py, src/EditSource.py, src/EventEdit.py,
src/FamilyView.py, src/GenericFilter.py,
src/Marriage.py, src/PedView.py, src/PeopleModel.py,
src/PlaceView.py, src/RelLib.py, src/SelectChild.py,
src/Sort.py, src/SourceView.py, src/SubstKeywords.py,
src/WriteGedcom.py, src/WriteXML.py, src/plugins/AncestorReport.py,
src/plugins/Ancestors.py, src/plugins/ChangeTypes.py,
src/plugins/DescendReport.py, src/plugins/DetDescendantReport.py,
src/plugins/EventCmp.py, src/plugins/FamilyGroup.py,
src/plugins/FanChart.py, src/plugins/FtmStyleAncestors.py,
src/plugins/FtmStyleDescendants.py, src/plugins/GraphViz.py,
src/plugins/IndivComplete.py, src/plugins/IndivSummary.py,
src/plugins/Merge.py, src/plugins/RelCalc.py, src/plugins/RelGraph.py,
src/plugins/Summary.py, src/plugins/TimeLine.py, src/plugins/Verify.py,
src/plugins/WebPage.py, src/plugins/WriteCD.py,
src/plugins/WritePkg.py, src/plugins/DetAncestralReport.py:
Use get_event_from_handle (not find_ ).


svn: r3462
2004-08-21 18:56:01 +00:00
Alex Roitman
55a76f77e1 * src/ReadGedcom.py (parse_record): Get objects from handles;
(handle_source): Refer to handle, not the object;
(parse_source): Use gramps id (not handle) to form the title.
* src/GrampsDbBase.py (get_person_from_handle): Typo;
(find_event_from_handle): Correctly create new event if not found.
* src/Sources.py (draw): Correctly sort, use gramps id when
displaying sources; (redraw): Use gramps id in the list view.


svn: r3461
2004-08-21 18:13:18 +00:00
Alex Roitman
4a41bfa1a0 * src/data/gramps.schemas: Add /apps/gramps/interface/size-checked key.
* src/GrampsCfg.py (get_screen_size_checked,
save_screen_size_checked): Add functions.
* src/gramps_main.py: Enable sidebar depending on the screen
if the screen size has not been checked yet.
* src/ChooseParents.py: Set the size request depending on the screen.
* src/Marriage.py: Set the size request depending on the screen.
* src/gramps.glade (marriageEditor): Unset the height request
for the event list.


svn: r3459
2004-08-21 04:33:55 +00:00
Don Allingham
3e5827b671 * src/gramps_main.py: update family display after EditPerson
* src/EditPerson.py: fix callback


svn: r3456
2004-08-21 03:36:00 +00:00
Alex Roitman
37b30dbc2c * src/plugins/Verify.py (on_apply_clicked): Append warnings
to errors instead of overwriting; determine actual dates of burial
and baptism; (get_year): Correctly compare calendar names.
* src/plugins/rel_it.py: removed translatable strings (should be
already italian).
* src/plugins/IndivComplete.py (_get_report_filters):
Set both ancestor and descendant filters to be inclusive.
* src/plugins/RelGraph.py (get_report_filters):
Set both ancestor and descendant filters to be inclusive.
* src/plugins/TimeLine.py (_get_report_filters):
Set both ancestor and descendant filters to be inclusive.
* src/plugins/WebPage.py (get_report_filters):
Set both ancestor and descendant filters to be inclusive.
* src/plugins/WriteFtree.py (__init__):
Set both ancestor and descendant filters to be inclusive.
* src/plugins/Ancestors.py (person_name): Use translated name type.


svn: r3454
2004-08-20 21:55:29 +00:00
Alex Roitman
fe4427adf8 * src/WriteGedcom.py (get_option_box): Make filters inclusive.
* src/plugins/merge.glade: Switch button order to comply with HIG.
* src/mergedata.glade: Switch button order to comply with HIG.
* src/plugins/RelGraph.py (get_default_basename): Add function.
* src/plugins/AncestorReport.py (write_report): Translate
string properly.
* src/EventEdit.py (update_event): Use transtable.
* src/EditPerson.py (on_event_add_clicked, on_edit_birth_clicked,
on_edit_death_clicked, on_event_update_clicked):
Pass TransTable to the event editor.
* src/Marriage.py (on_add_clicked, on_event_update_clicked):
Pass TransTable to the event editor.
* src/plugins/FtmStyleAncestors.py,
src/plugins/FtmStyleDescendants.py:
Remove extra space between vars in "%(.*_place)s %(.*_notes)s"
* src/plugins/verify.glade: Translate button label.
* src/plugins/IndivSummary.py: Proper handling of translation.
* src/docgen/OpenOfficeDoc.py (pt2cm): Add function;
(draw_text): Convert points to cm for the box width;
 Use self.string_width() method.
* src/BaseDoc.py (string_width): Add a method to compute width.
* src/docgen/LPRDoc.py (string_width): Override method.
* src/docgen/PdfDoc.py: Use self.string_width() method.
* src/docgen/SvgDrawDoc.py: Use self.string_width() method.
* src/plugins/AncestorChart2.py: Use self.doc.string_width() method.
* src/plugins/AncestorChart.py: Use self.doc.string_width() method.
* src/plugins/DesGraph.py: Use self.doc.string_width() method.
* src/plugins/FanChart.py: Use self.doc.string_width() method.
* src/plugins/TimeLine.py: Use self.doc.string_width() method.
* src/plugins/eval.glade: HIG compliance.


svn: r3453
2004-08-20 21:26:51 +00:00
Alex Roitman
0dd92d0a5c * src/plugins/rel_da.py: Convert to new interface. Add to CVS.
* src/plugins/rel_fi.py: Convert to new interface. Add to CVS.
* src/plugins/rel_fr.py: Convert to new interface. Add to CVS.
* src/plugins/rel_no.py: Convert to new interface. Add to CVS.
* src/plugins/rel_sv.py: Convert to new interface. Add to CVS.
* src/plugins/Makefile.am: Ship new files.
* src/Relationship.py (apply_filter): Keep gender info of all
member in the relationship chain, not just number of generations;
(is_spouse): correctly compare handles; (get_relationship_distance,
get_relationship, get_grandparents_string): correctly use apply_filter.
* src/plugins/rel_it.py (get_relationship): Correctly use apply_filter.
* src/plugins/rel_hu.py (get_relationship): Correctly use apply_filter.
* src/plugins/rel_de.py (is_spouse): Remove function;
(get_relationship): Correctly use apply_filter.
* src/plugins/rel_ru.py (is_spouse): Remove function;
(get_relationship): Correctly use apply_filter.


svn: r3452
2004-08-20 19:10:01 +00:00
Tim Waugh
a79457e20b 2004-08-20 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py (Event.are_equal): Fixed comparison with None.


svn: r3451
2004-08-20 13:44:48 +00:00
Don Allingham
f741527b55 * src/plugins/RelCalc.py: use empty string instead of None
* src/EditPerson.py: pychecker fixes
* src/EditPlace.py: pychecker fixes
* src/EditSource.py: pychecker fixes
* src/GenericFilter.py: pychecker fixes
* src/GrampsCfg.py: pychecker fixes
* src/ImageSelect.py: pychecker fixes
* src/ListModel.py: pychecker fixes
* src/MediaView.py; pychecker fixes
* src/MergeData.py: pychecker fixes
* src/PedView.py: pychecker fixes
* src/PeopleView.py: pychecker fixes
* src/PlaceView.py: pychecker fixes
* src/Plugins.py: pychecker fixes
* src/RelImage.py: pychecker fixes
* src/Relationship.py: pychecker fixes


svn: r3450
2004-08-20 12:11:56 +00:00
Tim Waugh
7a22617b52 2004-08-20 Tim Waugh <twaugh@redhat.com>
* src/plugins/RelCalc.py (__init__): Handle unknown birth dates.


svn: r3449
2004-08-20 11:58:06 +00:00
Tim Waugh
fad53895fe 2004-08-20 Tim Waugh <twaugh@redhat.com>
* src/Calendar.py (calendar_names): Fixed typo.


svn: r3448
2004-08-20 11:14:15 +00:00
Don Allingham
c38890095d * src/AutoComp.py: remove double display of data
* src/FamilyView.py: remove unused check
* src/GrampsBSDDB.py: search by gramps_id
* src/GrampsDbBase.py: search by gramps_id, unicode/str conversions
* src/Marriage.py: handle gramps_id editing
* src/ReadXML.py: fix handle/gramps_id on import
* src/plugins/RelCalc.py: display date instead of event handle
* src/Relationship.py: family handles working
* src/PeopleModel.py: comment out unused functions
* src/PeopleModel.py: simplify model interface
* src/AddSpouse.py: get_family_from_handle fixes
* src/EditPerson.py: get_family_from_handle fixes
* src/EditSource.py: get_family_from_handle fixes
* src/GraphLayout.py: get_family_from_handle fixes
* src/ImageSelect.py: get_family_from_handle fixes
* src/MediaView.py: get_family_from_handle fixes
* src/MergeData.py: get_family_from_handle fixes
* src/PlaceView.py: get_family_from_handle fixes
* src/ReadXML.py: get_family_from_handle fixes
* src/RelLib.py: get_family_from_handle fixes
* src/Relationship.py: get_family_from_handle fixes
* src/SelectChild.py: get_family_from_handle fixes
* src/SourceView.py: get_family_from_handle fixes
* src/SubstKeywords.py: get_family_from_handle fixes
* src/WriteXML.py: get_family_from_handle fixes
* src/gramps_main.py: get_family_from_handle fixes


svn: r3446
2004-08-20 02:20:06 +00:00
Don Allingham
bfc08ca83a * PeopleModel.py: simplify model interface
* EditPerson.py: get_family_from_handle fixes
* EditSource.py: get_family_from_handle fixes
* GraphLayout.py: get_family_from_handle fixes
* ImageSelect.py: get_family_from_handle fixes
* MediaView.py: get_family_from_handle fixes
* MergeData.py: get_family_from_handle fixes
* PlaceView.py: get_family_from_handle fixes
* ReadXML.py: get_family_from_handle fixes
* RelLib.py: get_family_from_handle fixes
* Relationship.py: get_family_from_handle fixes
* SelectChild.py: get_family_from_handle fixes
* SourceView.py: get_family_from_handle fixes
* SubstKeywords.py: get_family_from_handle fixes
* WriteXML.py: get_family_from_handle fixes
* gramps_main.py: get_family_from_handle fixes
* plugins/AncestorChart.py: get_family_from_handle fixes
* plugins/AncestorChart2.py: get_family_from_handle fixes
* plugins/AncestorReport.py: get_family_from_handle fixes
* plugins/Ancestors.py: get_family_from_handle fixes
* plugins/Check.py: get_family_from_handle fixes
* plugins/CountAncestors.py: get_family_from_handle fixes
* plugins/Desbrowser.py: get_family_from_handle fixes
* plugins/DescendReport.py: get_family_from_handle fixes
* plugins/DetAncestralReport.py: get_family_from_handle fixes
* plugins/DetDescendantReport.py: get_family_from_handle fixes
* plugins/FamilyGroup.py: get_family_from_handle fixes
* plugins/FanChart.py: get_family_from_handle fixes
* plugins/FtmStyleAncestors.py: get_family_from_handle fixes
* plugins/FtmStyleDescendants.py: get_family_from_handle fixes
* plugins/GraphViz.py: get_family_from_handle fixes
* plugins/IndivComplete.py: get_family_from_handle fixes
* plugins/IndivSummary.py: get_family_from_handle fixes
* plugins/Merge.py: get_family_from_handle fixes
* plugins/RelGraph.py: get_family_from_handle fixes
* plugins/Verify.py: get_family_from_handle fixes
* plugins/WebPage.py: get_family_from_handle fixes
* plugins/WriteCD.py: get_family_from_handle fixes
* plugins/WritePkg.py: get_family_from_handle fixes
* plugins/rel_de.py: get_family_from_handle fixes
* plugins/rel_hu.py: get_family_from_handle fixes
* plugins/rel_ru.py: get_family_from_handle fixes


svn: r3443
2004-08-19 21:35:16 +00:00
Tim Waugh
2f7713e586 2004-08-19 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py (probably_alive): Use get_family_from_handle instead
        of find_family_from_handle.


svn: r3441
2004-08-19 17:07:37 +00:00
Tim Waugh
3fa7d9d620 2004-08-19 Tim Waugh <twaugh@redhat.com>
* src/WriteGedcom.py (get_persons_sources): Remove extra calls to
        get_handle() to prevent traceback.


svn: r3440
2004-08-19 17:04:55 +00:00
Don Allingham
d9a18f1aa8 * src/DisplayModels.py: simplify internal iter handling.
Move to a single list instead of multiple dictionaries.


svn: r3439
2004-08-19 16:49:16 +00:00
Tim Waugh
376924ab95 2004-08-19 Tim Waugh <twaugh@redhat.com>
* src/gramps_main.py (import_tool_callback): Set home person.


svn: r3438
2004-08-19 16:35:07 +00:00
Don Allingham
f163c5628e * src/ChooseParents.py: use get_family_from_handle instead
of find_family_from_handle


svn: r3437
2004-08-19 16:00:40 +00:00
Don Allingham
369424d4a1 * src/EditPerson.py: fix None gramps_id for new person
* src/PeopleModel.py: add sort_name back in


svn: r3435
2004-08-19 03:44:10 +00:00
Alex Roitman
ec9ab8a6d9 * configure.in: Check for pygtk instead of pygtk-dev.
* src/accent.py: Replace unknown chars with "?".


svn: r3434
2004-08-19 03:33:11 +00:00
Don Allingham
44870279d4 * src/accent.py: provide sorting on i18n characters without
accents
* src/Makefile.am: add accent.py to list


svn: r3433
2004-08-19 02:37:35 +00:00
Alex Roitman
7d338c8a43 Update
svn: r3431
2004-08-18 04:48:23 +00:00
Don Allingham
ec9723a390 * src/RelImage.py: remove PIL
* src/Imgmanip.py: remove PIL
* src/MediaView.py: remove PIL
* src/accent.py: support of unaccenting characters for comparison,
and sorting
* src/RelLib.py: build sort name using unaccented version
* src/PeopleView.py: get bold working again
* src/PeopleModel.py: sort using unaccented characters


svn: r3428
2004-08-18 03:55:55 +00:00
Tim Waugh
baa5ec71f4 2004-08-17 Tim Waugh <twaugh@redhat.com>
* src/FamilyView.py (spouse_changed): Update display.


svn: r3418
2004-08-17 16:58:34 +00:00
Tim Waugh
97bb9eebd2 2004-08-16 Tim Waugh <twaugh@redhat.com>
* src/gramps_main.py (__init__): Update display after initialization.
        This fixes a display problem when family view is the default.


svn: r3409
2004-08-16 13:31:35 +00:00
Tim Waugh
a5068998c3 2004-08-16 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py: Fixed typo.


svn: r3408
2004-08-16 13:28:41 +00:00
Tim Waugh
27b4664b42 2004-08-16 Tim Waugh <twaugh@redhat.com>
* gramps.spec.in, gramps-mdk.spec.in: Fixed.


svn: r3404
2004-08-16 11:12:22 +00:00
Tim Waugh
24eaecfc66 2004-08-16 Tim Waugh <twaugh@redhat.com>
* src/data/gramps.desktop: Fixed.


svn: r3403
2004-08-16 11:11:15 +00:00
Tim Waugh
c1a1ecfd7d 2004-08-16 Tim Waugh <twaugh@redhat.com>
* src/data/Makefile.am: Fix 'distcheck' as much as possible.


svn: r3402
2004-08-16 09:32:07 +00:00
Tim Waugh
33ce8339d9 2004-08-15 Tim Waugh <twaugh@redhat.com>
* src/data/Makefile.am: Make 'distcheck' get further.


svn: r3398
2004-08-15 21:31:28 +00:00
Tim Waugh
9282bf8407 2004-08-15 Tim Waugh <twaugh@redhat.com>
* src/Makefile.am: Removed src/Find.py.


svn: r3395
2004-08-15 19:46:02 +00:00
Don Allingham
3a9130f5ad * various: Updated cleaned up API
svn: r3388
2004-08-13 04:34:07 +00:00
Don Allingham
49a98dba83 * src/GenericFilter.py: fixed find/get_family_from_handle
* src/WriteGedcom.py: fixed find/get_family_from_handle


svn: r3375
2004-08-11 17:00:38 +00:00
Don Allingham
90de8501ff * src/AddrEdit.py: setCountry -> set_country
* src/RelLib.py: Add concept of PrimaryObject
* src/GrampsDbBase.py: add local constants
* src/ReadGedcom.py: support new API


svn: r3374
2004-08-11 16:22:36 +00:00
Tim Waugh
f1dad71117 2004-08-11 Tim Waugh <twaugh@redhat.com>
* src/GrampsDbBase.py: Fixed some missed str()s.


svn: r3373
2004-08-11 16:12:08 +00:00
Alex Roitman
7a8aade876 * src/Makefile.am: Ship new files: GrampsDbBase.py, GrampsXMLDB.py,
and GrampsGEDDB.py.


svn: r3372
2004-08-11 05:06:28 +00:00
Don Allingham
93c5dbebcd * src/RelLib.py: rework of the API
* src/*.py: rework of the api


svn: r3371
2004-08-11 03:42:38 +00:00
Don Allingham
082907d675 * various: change try_to_find_*_from_handle to
get_*_from_handle


svn: r3355
2004-08-07 05:16:57 +00:00
Don Allingham
0843d5033a * src/AutoComp.py: switch over entirely to ComboBox for
autocompletion
* src/GenericFilter.py: support ComboBox
* src/TransTable.py: sort items on getting keys
* src/plugins/FilterEditor.py: support ComboBox
* src/plugins/SoundGen.py: support ComboBox
* src/plugins/soundex.glade: support ComboBox


svn: r3346
2004-08-06 03:08:27 +00:00
Don Allingham
e2122c9d67 * src/AttrEdit.py: use ComboBox
* src/NameEdit.py: use ComboBox
* src/gramps.glade: use ComboBox
* src/plugins/ChangeTypes.py: use ComboBox
* src/plugins/changetype.glade: use ComboBox


svn: r3333
2004-08-05 04:14:21 +00:00
Don Allingham
1f7594cfee * src/WriteXML.py: always write the default location for a place
* src/EditPerson.py: don't for write of multimedia objects if
not edited
* src/ImageSelect.py: don't for write of multimedia objects if
not edited
* src/AutoComp.py: build ListStore for ComboBox and Entry
* src/AddSpouse.py: use ComboBox
* src/Marriage.py: use ComboBox
* src/gramps.glade: Switch from gtk.Combo to gtk.ComboBox and
gtk.ComboxEntry
* src/EventEdit.py: handle autocompletion
* src/RelLib.py: remove cPickle import
* src/GrampsDbBase.py: fix has_handle functions


svn: r3325
2004-08-04 04:53:29 +00:00
Don Allingham
4be4ae9e76 * src/WriteGedcom.py: move up from plugins directory
* src/ReadGedcom.py: move up from plugins directory
* src/gedcomimport.glade: move up from plugins directory
* src/gedcomexport.glade: move up from plugins directory


svn: r3310
2004-08-01 21:38:50 +00:00
Don Allingham
eda23b8ecc * src/AddSpouse.py: fix gender selection
* src/DbPrompter.py: support other DB formats
* src/GrampsBSDDB.py: BSDDB format, derived from GrampsDbBase
* src/GrampsDbBase.py: base class for database classes
* src/GrampsGEDDB.py: GEDCOM format, derived from GrampsDbBase
* src/GrampsXMLDB.py: XML format, derived from GrampsDbBase
* src/PeopleModel.py: handle rebuilds better
* src/RelLib.py: use try_to_find_person_from_handle
* src/WriteXML.py: use gramps ids instead of handles
* src/const.py.in: handle family relations correctly
* src/gramps_main.py: remove prefix settings
* src/data/gnome-mime-application-x-gramps-xml.png: new icon
* src/data/gramps.applications: support for x-gramps-xml
* src/data/gramps.keys: support for x-gramps-xml
* src/data/gramps.mime: support for x-gramps-xml
* src/data/gramps.schemas: added event format
* src/data/gramps.xml: support for x-gramps-xml
* src/plugins/ReadGedcom.py: start of GEDDB support
* src/plugins/WriteGedcom.py: start of GEDDB support


svn: r3306
2004-08-01 04:21:31 +00:00
Don Allingham
1cd90a8bb0 * src/const.py.in: fix relationship types
svn: r3303
2004-07-31 03:51:34 +00:00
Don Allingham
74917677ad * src/GrampsBSDDB.py: broke out support for database class to
make it easier to support multiple backends in the future
* src/RelLib.py: broke out support for database class to
make it easier to support multiple backends in the future
* src/AddSpouse.py: better support for gay unions
* src/ChooseParents.py: better support for gay unions
* src/FamilyView.py: better support for gay unions
* src/Marriage.py: better support for gay unions
* src/ReadXML.py: better support for gay unions
* src/gramps.glade: better support for gay unions
* src/gramps_main.py: better support for gay unions
* src/Check.py: better support for gay unions
* src/ReadGedcom.py: better support for gay unions


svn: r3302
2004-07-30 18:56:49 +00:00
Alex Roitman
e74691df11 * src/GrampsCfg.py: Remove unneeded id_edit widget.
* src/gramps.glade: Manually switch toolbar items from
to ToolButtons to buttons to work around libglade bug. Remove
unused id_edit widget and the label.
* src/mergedata.glade: Switch button order to comply with HIG.
* src/plugins/merge.glade: Switch button order to comply with HIG.


svn: r3294
2004-07-29 04:40:09 +00:00
Alex Roitman
be8ec8fd9d * src/data/Makefile.am: Uninstall everything that we install.
svn: r3291
2004-07-28 23:38:34 +00:00
Don Allingham
95e62181d3 * src/RelLib.py, etc.: convert get_id to get_handle
svn: r3290
2004-07-28 02:29:07 +00:00