Commit Graph

187 Commits

Author SHA1 Message Date
Don Allingham
e2c149f41e * src/DateEdit.py: use global date displayer/parser
* src/DateHandler.py: provide global date displayer/parser
instead of having a bunch of different classes have their
own handler that needs to be updated with the handlers change.
* src/EditPerson.py: use global date displayer/parser
* src/EventEdit.py: use global date displayer/parser
* src/FamilyView.py: use global date displayer/parser
* src/GenericFilter.py: use global date displayer/parser
* src/GrampsCfg.py: remove unused statements
* src/ImageSelect.py: use global date displayer/parser
* src/Marriage.py: use global date displayer/parser
* src/ReadXML.py: use global date displayer/parser
* src/RelLib.py: don't require get_display_info, eliminate
needed for importing const and GrampsCfg
* src/SelectChild.py: don't require get_display_info
* src/Sources.py: use global date displayer/parser
* src/plugins/RelCalc.py: don't require get_display_info


svn: r3841
2004-12-29 05:06:10 +00:00
Don Allingham
5c1f204a1c * src/FamilyView.py: remove debug statement
* src/PeopleModel.py: abandon the attempt to use TreeFilter
* src/PeopleView.py: abandon the attempt to use TreeFilter


svn: r3792
2004-12-09 23:38:43 +00:00
Don Allingham
bd783405bf * src/ChooseParents.py: use new cursor for interation
* src/DbPrompter.py: reformat
* src/GenericFilter.py: add disconnected rule
* src/GrampsBSDDB.py: provide cursor access for iteration
* src/GrampsDbBase.py: provide cursor access for iteration
* src/GrampsInMemDB.py: provide cursor access for iteration
* src/Makefile.am: add gramps.desktop to install list
* src/PeopleModel.py: use new cursor for faster iteration
* src/PeopleView.py: reimplement filtering
* src/ReadGedcom.py: removed used source counting
* src/gedcomimport.glade: remove source field
* src/gramps.glade: fixed spacing in message
* src/gramps_main.py: add disconnected filter


svn: r3779
2004-12-05 04:15:48 +00:00
Don Allingham
e25236f85a * src/EditPerson.py: hide window while closing updating info
* src/FamilyView.py: Fix deleting of spouses and children
* src/GrampsDbBase.py: add remove_family, clear default person
if the person is deleted
* src/PeopleView.py: text clean up
* src/gramps_main.py: disable buttons while deleting a person


svn: r3776
2004-12-03 01:49:09 +00:00
Don Allingham
3db3d91c2d * src/EditPerson.py: simpler way of handling patronymic names
based of LANG
* src/FamilyView.py: clear childlist if no spouse exists


svn: r3768
2004-11-30 03:53:51 +00:00
Don Allingham
cd54e6ccf2 * src/FamilyView.py: Add check for empty family in
display_marriage


svn: r3753
2004-11-25 18:10:06 +00:00
Don Allingham
6fa49c166b * src/FamilyView.py: Handle reordering of spouses by drag
and drop
* src/RelLib.py: Allow the family list to be set externally
* src/gramps.glade: enable reordering flag for spouse list


svn: r3736
2004-11-19 01:14:37 +00:00
Don Allingham
3139f636f0 * src/DisplayModels.py: Added ChildModel to handle the
child list in the Family View
* src/gramps_main.py: add column editor for Family View
* src/GrampsDbBase.py: add storing/retrieving child column order
* src/FamilyView.py: use new ChildModel
* src/PlaceView.py: removed unused index


svn: r3735
2004-11-18 20:21:06 +00:00
Don Allingham
9aded03912 * src/NameEdit.py: integrate patches from Julio Sanchez to
fix surname prefix
* src/FamilyView.py: Handle add person post processing properly


svn: r3604
2004-10-07 17:48:29 +00:00
Don Allingham
15eb34737b * src/docgen/PdfDoc.py: fixed register_book_doc call
* src/AddrEdit.py: pychecker fixes
* src/AttrEdit.py: pychecker fixes
* src/AutoComp.py: pychecker fixes
* src/ChooseParents.py: pychecker fixes
* src/DbPrompter.py: pychecker fixes
* src/DisplayModels.py: pychecker fixes
* src/EventEdit.py: pychecker fixes
* src/FamilyView.py: pychecker fixes
* src/Filter.py: pychecker fixes
* src/GenericFilter.py: pychecker fixes
* src/GrampsCfg.py: pychecker fixes
* src/GrampsGconfKeys.py: pychecker fixes
* src/ImgManip.py: pychecker fixes
* src/PlaceView.py: pychecker fixes
* src/Plugins.py: pychecker fixes
* src/ReadGedcom.py: pychecker fixes
* src/ReadXML.py: pychecker fixes
* src/SelectChild.py: pychecker fixes
* src/SelectObject.py: pychecker fixes
* src/SelectPerson.py: pychecker fixes
* src/Sort.py: pychecker fixes
* src/SourceView.py: pychecker fixes
* src/Utils.py: pychecker fixes
* src/Witness.py: pychecker fixes
* src/WriteGedcom.py: pychecker fixes
* src/WriteXML.py: pychecker fixes
* src/gramps_main.py: pychecker fixes


svn: r3599
2004-10-06 03:42:54 +00:00
Alex Roitman
5d5d0a36e2 * 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
2004-09-25 05:12:15 +00:00
Don Allingham
72880d4599 * src/EditPerson.py: change sort mechanism to new Date sort value
* src/FamilyView.py: change sort mechanism to new Date sort valu
* src/Sort.py: remove unused sorting functions


svn: r3569
2004-09-23 02:25:07 +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
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
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
Don Allingham
3a9130f5ad * various: Updated cleaned up API
svn: r3388
2004-08-13 04:34:07 +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
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
Don Allingham
95e62181d3 * src/RelLib.py, etc.: convert get_id to get_handle
svn: r3290
2004-07-28 02:29:07 +00:00
Alex Roitman
e776ef23bf * src/data/gramps.schemas: Cleanup.
* src/data/Makefile.am: Clen up install rule. Add uninstall rule.
* src/StartupDialog.py: Correct use of keys.
* src/GrampsCfg.py: Correct usage of gconf.
* src/DbPrompter.py: Remove unused module.
* src/SelectChild.py: Remove unused module.
* src/SelectObject.py: Remove unused module.
* src/WriteXML.py: Remove unused module.
* src/gramps_main.py: Convert to new gconf usage.
* src/FamilyView.py: Convert to new gconf usage.
* src/AddSpouse.py: Convert to new gconf usage.
* src/ChooseParents.py: Convert to new gconf usage.
* src/EditPerson.py: Convert to new gconf usage.
* src/EditPlace.py: Convert to new gconf usage.
* src/EditSource.py: Convert to new gconf usage.
* src/EventEdit.py: Convert to new gconf usage.
* src/ImageSelect.py: Convert to new gconf usage.
* src/Marriage.py: Convert to new gconf usage.
* src/MediaView.py: Convert to new gconf usage.
* src/MergeData.py: Convert to new gconf usage.
* src/PedView.py: Convert to new gconf usage.
* src/Plugins.py: Convert to new gconf usage.
* src/RelLib.py: Convert to new gconf usage.
* src/TipOfDay.py: Convert to new gconf usage.
* src/plugins/AncestorChart2.py: Remove unused module.
* src/plugins/AncestorChart.py: Remove unused module.
* src/plugins/BookReport.py: Remove unused module.
* src/plugins/FanChart.py: Remove unused module.
* src/plugins/Partition.py: Remove unused module.
* src/plugins/Desbrowser.py: Convert to new gconf usage.
* src/plugins/Merge.py: Convert to new gconf usage.
* src/plugins/RelCalc.py: Convert to new gconf usage.
* src/plugins/WebPage.py: Convert to new gconf usage.


svn: r3274
2004-07-15 02:54:04 +00:00
Don Allingham
9d96849481 * src/FamilyView.py: handle deleting of parent properly
* src/plugins/WriteGedcom.py: revert to using GRAMPS ID values
* src/plugins/WriteXML.py: use proper ID values

* src/FamilyView.py: fix removal of parents


svn: r3265
2004-07-11 23:53:02 +00:00
Don Allingham
3421c1971a * src/FamilyView.py: fix reordering of children
* src/ChooseParents.py: get filters working again
* src/AddSpouse.py: update display after addition of person
* src/Utils.py: new id generation algorithm


svn: r3245
2004-06-30 04:06:10 +00:00
Don Allingham
29d18998d1 * src/ChooseParents.py: fix parent selection
* src/FamilyView.py: fix update of parents after selction
* src/PeopleView.py: fix update of parents after selction
* src/gramps_main.py: fix update of parents after selction
* src/EditPerson.py: fix person id reference


svn: r3244
2004-06-29 03:51:49 +00:00
Don Allingham
97377f426d * src/gramps_main.py: fix import problem
svn: r3234
2004-06-27 18:08:19 +00:00
Don Allingham
4c76be91dd * src/gramps_main.py: dropped New Database message. After all, it should
be incredibly obvious.
* src/Utils.py: create_id to generate random internal ID
* src/RelLib.py: new internal ID support
* src/AddSpouse.py: bug fixes
* src/ChooseParents.py: bug fixes
* src/PeopleModel.py: bug fixes
* src/PeopleView.py: bug fixes
* src/FamilyView.py: bug fixes
* src/Bookmarks.py: support for new internal IDs
* src/EditPerson.py: support for new internal IDs
* src/plugins/ReadGedcom.py: handle new internal IDs


svn: r3233
2004-06-27 03:10:06 +00:00
Don Allingham
c9a392961f * src/RelLib.py: fix index for place map
* src/FamilyView.py: include person ID's


svn: r3212
2004-06-15 03:43:33 +00:00
Alex Roitman
7cc5d39fc9 * src/RelLib.py (Transaction.__len__): Redefine length.
* src/ChooseParents.py, src/EditPerson.py, src/EditSource.py,
src/EventEdit.py, src/FamilyView.py, src/gramps_main.py,
src/ImageSelect.py, src/Marriage.py, src/MediaView.py,
src/PedView.py, src/PeopleModel.py, src/PlaceView.py,
src/SelectChild.py, src/SelectObject.py, src/Sources.py,
src/SourceView.py, src/Utils.py, src/Witness.py,
src/WriteXML.py: Switch from find_* to try_to_find_* methods.


svn: r3193
2004-05-26 03:26:18 +00:00
Don Allingham
eba1ed0ea1 * various: transactions are now required for commits
svn: r3186
2004-05-24 04:32:19 +00:00
Don Allingham
79d9a39a9e * various: undo messages
svn: r3181
2004-05-19 06:13:36 +00:00
Don Allingham
2bd66d6b4c pychecker fixes
svn: r3166
2004-05-13 22:45:51 +00:00
Alex Roitman
df37c5296f * src/EditPerson.py: Switch to Sort.py.
* src/FamilyView.py: Switch to Sort.py.
* src/RelLib.py: Remove unneeded import.
* src/plugins/DescendReport.py: Switch to Sort.py.


svn: r3128
2004-05-05 02:21:47 +00:00
Don Allingham
54e1dd71fa Fixes for undo
svn: r3089
2004-04-16 19:15:02 +00:00
Don Allingham
8592fa2cc9 * various: Add undo functionality
svn: r3065
2004-03-30 04:50:24 +00:00
Don Allingham
06d3497ea6 * src/gramps_main.py: remove unused functions, fix history
* src/FamilyView.py: improve reordering of children


svn: r3058
2004-03-25 04:04:35 +00:00
Don Allingham
bf92d284ab * src/SelectChild.py: use PersonModel
* src/plugins/FilterEditor.py: use new SelectPerson


svn: r3052
2004-03-23 05:01:19 +00:00
Don Allingham
4a7d9131aa Convert to new GenericTreeView models
svn: r3040
2004-03-22 04:41:35 +00:00
Don Allingham
06cc477ae8 db updates
svn: r2934
2004-02-29 02:29:48 +00:00
Alex Roitman
32371cf8bd update
svn: r2932
2004-02-29 01:19:20 +00:00
Alex Roitman
915bf08e8b Eureka
svn: r2931
2004-02-29 01:05:45 +00:00
Alex Roitman
ae6f7749b7 * src/FamilyView.py: Corrections.
* src/Marriage.py: Corrections.


svn: r2930
2004-02-29 00:08:12 +00:00
Don Allingham
93542c93f5 * src/gramps_main.py: switch to DB as default, remove save option
* src/RelLib.py: setup DB environment better
* src/DbPrompter.py: handle save/open with new DBs


svn: r2924
2004-02-28 18:46:40 +00:00
Don Allingham
044f8d742a * src/AddMedia.py: media reference fixes
* src/MediaView.py: media reference fixes
* src/FamilyView.py: commit child changes
* src/PlaceView.py: ID fixes


svn: r2917
2004-02-27 04:07:23 +00:00
Don Allingham
978f388abf update
svn: r2915
2004-02-26 04:51:57 +00:00
Alex Roitman
058a56ef4c More
svn: r2913
2004-02-25 04:34:20 +00:00
Alex Roitman
e6693e4df2 Update
svn: r2897
2004-02-23 04:41:37 +00:00
Alex Roitman
71f8f5476b * src/EditPerson.py: Corrections.
* src/EditSource.py: Use parent class. Use windows menu.
* src/ImageSelect.py: Corrections.
* src/Sources.py: Corrections.
* src/gramps.glade: Add handlers.
* src/NoteEdit.py: Corrections.
* src/dialog.glade: Add handler.
* src/Witness.py: Corrections.
* src/RelLib.py: Include witnesses in comparing events.
* src/FamilyView.py: Pass parent on to child classes.
* src/AddSpouse.py: Pass parent on to EditPerson.
* src/ChooseParents.py: Pass parent on to EditPerson.
* src/gramps_main.py: Pass Gramps class to child classes.
* src/MergeData.py: Pass parent on to EditPerson.


svn: r2885
2004-02-21 06:40:44 +00:00
Don Allingham
e878549bfd First DB pass
svn: r2884
2004-02-21 06:11:59 +00:00
Don Allingham
d5c70b519d * src/RelLib.py: switch to event/event_ids
* src/WriteXML.py: switch to event/event_ids
* src/GrampsParser.py: switch to event/event_ids
* src/FamilyView.py: switch to event/event_ids
* src/EventEdit.py: switch to event/event_ids
* src/Marriage.py: switch to event/event_ids


svn: r2868
2004-02-19 05:05:43 +00:00
Don Allingham
2e9976510b get_id updates
svn: r2846
2004-02-15 23:10:12 +00:00
Don Allingham
5ec7809000 updates for IDs
svn: r2840
2004-02-15 20:49:34 +00:00
Don Allingham
61ef781898 * src/Marriage.py: fix title and places
* src/FamilyView.py: fix child relations and spouse's parents


svn: r2829
2004-02-15 02:33:44 +00:00
Don Allingham
015973462a Move from object references to IDs
svn: r2822
2004-02-14 05:40:30 +00:00
Don Allingham
8d2cf299ea * src/FamilyView.py: new text string for "unknown" spouse
* src/ImageSelect.py: integer conversions for event.x, event.y
* src/const.py.in: copyright date update


svn: r2767
2004-02-04 04:42:06 +00:00
Alex Roitman
4669904d1c * src/PedView.py (build_nav_menu): Ditch stock Home item.
* src/FamilyView.py (build_ap_menu, build_nav_menu,
build_parents_nosel_menu, build_sp_parents_nosel_menu,
build_child_menu, build_spouse_menu, build_parents_menu,
build_sp_parents_menu): Ditch stock Home item.


svn: r2670
2004-01-20 16:06:17 +00:00
Alex Roitman
3736aa58ef * src/FamilyView.py (delete_family_from): Remove extra "[0]".
svn: r2608
2004-01-08 15:39:33 +00:00
Don Allingham
e0855a56f3 * src/revision.glade: removed unused call (on_help_dbopen_clicked)
* src/gramps_main.py: don't add places twice after an edit of a person
* src/AddSpouse.py: don't add places twice after an edit of a person
* src/ChooseParents.py: don't add places twice after an edit of a person
* src/EditPerson.py: don't add places twice after an edit of a person
* src/FamilyView.py: don't add places twice after an edit of a person


svn: r2538
2003-12-17 18:38:02 +00:00
Don Allingham
6e76f8bd4b * src/FamilyView.py (FamilyView.new_child_after_edit):
call display_marriage instead of load_family. Prevents the
active person from being changed.


svn: r2493
2003-12-10 04:20:23 +00:00
Don Allingham
85bbe23c5f * src/FamilyView.py (FamilyView.really_remove_spouse): remove the
corret person from the family when deleting the spouse

* src/po/it.po: updated Italian translation


svn: r2455
2003-12-07 04:15:54 +00:00
Alex Roitman
088e3ccd2d Update
svn: r2417
2003-12-02 01:29:30 +00:00
Alex Roitman
c5088f1f40 * src/FamilyView.py (add_child_clicked): Return tuple of two
empty strings when the surname guessing is set to None (otherwise
it produced traceback and did nothing).
* doc/gramps-manual/C/custom.xml: Update.
* doc/gramps-manual/C/gramps-manual-C.omf: Update.
* doc/gramps.1.in: Update.


svn: r2416
2003-12-02 00:20:46 +00:00
Alex Roitman
448fc5db0b * NEWS: Update.
* src/FamilyView.py (on_child_list_button_press): Add edit person
callback on Shift+click; (sp_key_press, child_key_press): Replace
Ctrl+Insert with Shift+Insert for adding new people.
* src/PedView.py (on_show_child_menu): Markup children with children.
* doc/gramps-manual/C/keybind.xml: Update.
* doc/gramps-manual/C/faq.xml: Update.
* doc/gramps-manual/C/filtref.xml: Update.


svn: r2412
2003-12-01 04:22:15 +00:00
Alex Roitman
c9750198bb * src/FamilyView.py: Do not pass the window to the ChooseParents class.
* src/WriteXML.py (write_witness): Fix the name string before writing
(fixes #847600).


svn: r2365
2003-11-23 20:53:20 +00:00
Alex Roitman
34483dbbd9 * src/FamilyView.py: Enable keyboard navigation in Family View.
svn: r2358
2003-11-20 04:59:36 +00:00
Alex Roitman
188bfa24a9 * src/ChooseParents.py (ModifyParents.__init__): Make the dialog modal
and a transient for its parent; (ModifyParents.on_help_clicked): Add
function; (ChooseParents.__init__): Make the dialog modal and a
transient for its parent; (ChooseParents.on_help_clicked):
Add function.
* src/FamilyView.py: Pass the window to the ChooseParents classes.


svn: r2349
2003-11-19 03:14:14 +00:00
Don Allingham
1112e78678 * src/FamilyView.py: delete unused code
* src/PeopleView.py: handle uncaught exception
* src/RelLib.py: rebuild person table
* src/gramps_main.py: rebuild display after preferences


svn: r2338
2003-11-14 05:12:38 +00:00
Don Allingham
8e60af7310 * src/FamilyView.py: Change column sizes on the FamilyView to
fit with the new column


svn: r2328
2003-11-13 04:24:13 +00:00
Tim Waugh
fc26fe0ff4 2003-11-05 Tim Waugh <twaugh@redhat.com>
* src/gramps_main.py, src/FamilyView.py: Fix children enumeration
        in family view.


svn: r2318
2003-11-05 11:37:00 +00:00
Alex Roitman
f7158aa398 * src/SourceView.py: Correct behavior for right-click popup menu.
* src/EditPerson.py: Likewise.
* src/FamilyView.py: Likewise.
* src/ImageSelect.py: Likewise.
* src/PedView.py: Likewise.
* src/PlaceView.py: Likewise.
* src/plugins/BookReport.py: Likewise.
* src/PeopleView.py: Likewise.


svn: r2270
2003-10-20 02:47:03 +00:00
Alex Roitman
56c2b3a66d * src/FamilyView.py (set_widgets): Do not connect buttons if this
view is already initialized.
* src/GrampsCfg.py: Set GNOME toolbar prefs as the default.
Correct existing gconf key detection.


svn: r2264
2003-10-17 04:24:36 +00:00
Don Allingham
a86d4b66a7 * src/FamilyView.py: fixed paths to redisplay_person_list
* src/ListModel.py: convert indices to strings. Sometimes a object just
doesn't work as a dictionary key
* src/PeopleStore.py: modify status bar, unroll loop while adding values


svn: r2262
2003-10-17 03:12:05 +00:00
Alex Roitman
2fd773bda4 * src/gramps_main.py (edit_button_clicked): Modify edit person call
to always handle currently active person in family view;
(delete_person_clicked): Use single person mlist for family views;
(delete_person_response): Replace Back with just setting active
person to current history index (remove_from_history already places
hindex in the correct place). Always call redraw_histmenu().
* src/FamilyView.py (spouse_swap): Use change_active_person() call
in order to correctly build history.


svn: r2246
2003-10-13 04:23:34 +00:00
Alex Roitman
9e56adc006 * src/FamilyView.py (new_spouse_after_edit): Rename function (used
to be called spouse_after_edit);
(add_spouse): Call new_spouse_after_edit.
(spouse_after_edit): Add function to be called after editing existing
spouse's personal data. Takes care of display issues only;
(new_child_after_edit): Rename function (used to be called
child_after_edit);
(add_child_clicked): Call new_child_after_edit.
(edit_relationship): Change callback to get consistent behavior.


svn: r2245
2003-10-13 03:26:05 +00:00
Don Allingham
f9ed086ef8 * src/gramps_main.py: fix reference paths
* src/PeopleView.py: remove gobject import
* src/FamilyView.py: return name prefix/surname tuple
* Makefile.am: installation path from grampslib.so


svn: r2224
2003-10-11 02:22:51 +00:00
Don Allingham
74272b389a * src/plugins/Verify.py: handle different calendars properly
* src/FamilyView.py: fix references to add_to_person_list


svn: r2215
2003-10-08 04:24:11 +00:00
Don Allingham
644ba0f74c * src/SelectChild.py: handle surname prefixes
* src/FamilyView.py: handle surname prefixes
* src/QuickAdd.py: handle surname prefixes
* src/PeopleView.py: force a selection with a new person
* src/PeopleStore.py: select correct model


svn: r2198
2003-10-06 04:29:50 +00:00
Alex Roitman
99cc57c470 * src/gramps_main.py: Really fix start-up view when family
view style is the default. Clean up the use of views.
(post_load): Select the person with the alphabetically lowest ID
to be active if no home person is set. Fixes 793127.
(goto_active_person): Create alpha page if it does not exist.
* src/FamilyView.py (init_interface): Do not connect handlers to
events if they already exist;
(set_widgets): Set correct page before hiding the old one. Fixes
resizing issue on applying preferences after changing Family View
layout.


svn: r2087
2003-09-03 04:57:36 +00:00
Don Allingham
87ef9d437c * src/docgen/PdfDoc.py: Support drawing functions.
* src/docgen/PdfDrawDoc.py: remove - all functions integrated into
PdfDoc.py
* src/DbPrompter.py: change title from "Save" to "Create" when
opening a new database, prompt with last database saved.
* src/FamilyView.py: don't add columns to the child list if it
is already initialized


svn: r2065
2003-08-31 03:29:12 +00:00
Alex Roitman
77a0a7f728 * src/gramps_main.py: Enable context menu for an empty people view.
* src/FamilyView.py: Cleanups for the case of empty database.


svn: r2063
2003-08-30 23:14:00 +00:00
Alex Roitman
bffe42bbac * src/plugins/TimeLine.py: Likewise.
* src/FamilyView.py: New items for context menus.


svn: r2061
2003-08-30 01:16:40 +00:00
Alex Roitman
18454e96b5 * src/docgen/LaTeXDoc.py: Do not register as a book format (have to
support both text and graphics).
* src/plugins/AncestorChart.py:  Minor code cleanup.
* src/plugins/BookReport.py: Add context menus to the dialog.
* src/FamilyView.py: Properly refer to gtk stock items.
* src/gramps_main.py: Likewise.


svn: r2056
2003-08-29 03:08:02 +00:00
Don Allingham
1491d701fc * src/FamilyView.py: don't add columns to family view items
if they have already be added.


svn: r2054
2003-08-28 01:50:29 +00:00
Don Allingham
74667d39bc * src/gramps.glade: move alternate family view tab, assign a
few object names
* src/FamlyView.py: handle alternate family view
* src/preferences.glade: allow user to choose family view
* src/GrampsCfg.py: allow user to choose family view
* src/gramps_main.py: allow user to choose family view


svn: r2047
2003-08-26 03:45:41 +00:00
Alex Roitman
8b0c5528b0 Update
svn: r2040
2003-08-25 03:54:08 +00:00
Alex Roitman
4ca9ab2667 * src/FamilyView.py (edit_active_person, build_ap_menu,
build_child_menu, build_spouse_menu, build_parents_menu,
build_sp_parents_menu, edit_parents, edit_sp_parents):
Add navigation portion to all context menus.


svn: r2035
2003-08-24 23:42:42 +00:00
Don Allingham
ebdc5fbcc3 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Alex Roitman
17087ebc30 * src/FrenchRepublic.py: Insert encoding line because non-ascii
charatcers are used. This behavior is deprecated and causes warnings
in python 2.3.
* src/const.py.in: Likewise.
* src/FamilyView.py: Likewise.
* src/SelectChild.py: Likewise.
* src/plugins/rel_ru.py: Likewise.


svn: r2009
2003-08-14 22:33:30 +00:00
Don Allingham
a5d499fe20 * src/AddMedia.py: set title for image select dialog
* src/DbPrompter.py: set default path in database file entry box
* src/gramps_main.py: set default path in database file entry box
* src/ImageSelect.py: set default path in image select file entry box,
keep track of last directory used
* src/Report.py: set default path in report file entry box
* src/imagesel.glade: enlarge image select dialog box


svn: r1997
2003-08-13 04:28:07 +00:00
Alex Roitman
cc79597b34 * configure.in: Set version to 0.9.4 (since the release is 0.CVS...).
Otherwise it becomes older-version that the latest release.
* src/EditPerson.py: Change const.save_fevent() calls to
const.save_event().
* src/EventEdit.py: Display event name with const.display_event()
(was backwards).
* src/GrampsParser.py: Call const.save_event() and const.attr()
when parsing XML. This should take care of prior data with standard
events and attributes recorded in $LANG.
* src/FamilyView.py (nameof): Translate parent's relation to a child.


svn: r1986
2003-08-11 00:59:16 +00:00
Don Allingham
ed763c75d6 * src/FamilyView.py: set menu title
svn: r1969
2003-08-08 03:17:38 +00:00
Alex Roitman
8e6195eaa9 * src/FamilyView.py (load_family): Enable translation for family
relation.
* src/const.py.in: Add new functions: display_event(), save_event(),
display_attr(), and save_attr() which work for either personal or
family events/attributes. Correct silly typo.
* src/WriteXML.py (dump_my_event): Call const.save_event() before
saving; (write_family_id): Call const.save_frel() before saving;
(write_attribute_list): Call const.save_attr() before saving.
* src/Marriage.py (redraw_event_list): Call const.display_fevent()
before saving; (on_add_clicked): change const.save_fevent() to
const.display_fevent(); (on_event_update_clicked): Likewise.
* src/EventEdit.py (EventEditor.__init__): Call self.trans() before
displaying event name.


svn: r1964
2003-08-07 03:54:10 +00:00
Don Allingham
40619fa17f * src/gramps_main.py: handle status bar message with autosave
* src/FamilyView.py: add right-context menus in the family view


svn: r1947
2003-08-01 03:38:51 +00:00
Don Allingham
604cb39f5b * src/plugins/DetAncestralReport.py: add import of string
* src/plugins/DetDescendantReport.py: add import of string
* src/Date.py: compare date modes when comparing dates
* src/EditPerson.py: save date strings which comparing for changes
* src/FamilyView.py: Scope Person.male properly


svn: r1839
2003-07-08 00:42:26 +00:00
Don Allingham
34f6e2d99d * src/FamilyView.py: keep focus on correct family after a new
child is added


* src/plugins/WriteGedcom.py: catch filter exceptions
* src/GenericFilter.py: eliminate loop detection


svn: r1761
2003-06-19 03:54:45 +00:00
Don Allingham
64729b6807 * src/FamilyView.py: keep focus on correct family after a new
child is added


* src/plugins/WriteGedcom.py: catch filter exceptions
* src/GenericFilter.py: eliminate loop detection


svn: r1760
2003-06-18 23:57:03 +00:00
Tim Waugh
17899f2bac 2003-06-18 Tim Waugh <twaugh@redhat.com>
* src/FamilyView.py (add_child_clicked): No reason to assume children
        are female.


svn: r1759
2003-06-18 16:30:49 +00:00
Don Allingham
a381263a01 * src/gramps.glade: Add a dialog to allow a child's relationships
to his/her parents to be altered.
* src/FamilyView.py: Add popup menu for childlist to allow the
enabling of the new child relationship editor dialog
* src/SelectChild.py: Child relationship editor
* src/RelLib.py: Allow for altering of relationships of the
AltFamilyList


svn: r1756
2003-06-17 04:15:58 +00:00
Tim Waugh
3900b53f30 2003-06-16 Tim Waugh <twaugh@redhat.com>
* src/FamilyView.py (north_american): Fixed traceback when adding
        a new child in the family view.


svn: r1752
2003-06-16 16:24:17 +00:00
Don Allingham
06e1a01c05 * src/gramps.glade: added select/edit buttions to family view
* src/SelectChild.py: change title from Add Children to Add Child
to Family
* src/FamilyView: add support for adding spouse/child with full
Edit Person window, along with old method of adding via selectors


svn: r1746
2003-06-15 04:13:16 +00:00
Don Allingham
0d591399ff * src/FamilyView.py: Call marriage editor with callback to update
the family view
* src/Marriage.py: Call the family view callback after saving to update
the display with changed marriage information


svn: r1667
2003-06-07 16:30:44 +00:00