Commit Graph

111 Commits

Author SHA1 Message Date
Don Allingham
11aa47c41b * 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
e7b77ccb83 * 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
2439564ba2 * various: transactions are now required for commits
svn: r3186
2004-05-24 04:32:19 +00:00
Don Allingham
e82f8d1bba * various: undo messages
svn: r3181
2004-05-19 06:13:36 +00:00
Don Allingham
5b81ee5c12 pychecker fixes
svn: r3166
2004-05-13 22:45:51 +00:00
Alex Roitman
3adb17e2b1 * 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
6b74af3368 Fixes for undo
svn: r3089
2004-04-16 19:15:02 +00:00
Don Allingham
f58731f4ea * various: Add undo functionality
svn: r3065
2004-03-30 04:50:24 +00:00
Don Allingham
13837efea8 * 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
5ade7bac06 * src/SelectChild.py: use PersonModel
* src/plugins/FilterEditor.py: use new SelectPerson


svn: r3052
2004-03-23 05:01:19 +00:00
Don Allingham
aceaffcc97 Convert to new GenericTreeView models
svn: r3040
2004-03-22 04:41:35 +00:00
Don Allingham
1a1c30d8d3 db updates
svn: r2934
2004-02-29 02:29:48 +00:00
Alex Roitman
8af8f42239 update
svn: r2932
2004-02-29 01:19:20 +00:00
Alex Roitman
b2e741eb0f Eureka
svn: r2931
2004-02-29 01:05:45 +00:00
Alex Roitman
f5e32655f8 * src/FamilyView.py: Corrections.
* src/Marriage.py: Corrections.


svn: r2930
2004-02-29 00:08:12 +00:00
Don Allingham
89f2a1cfc7 * 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
75a1c4d3e6 * 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
ed8e38fe4b update
svn: r2915
2004-02-26 04:51:57 +00:00
Alex Roitman
9ca33d8bbc More
svn: r2913
2004-02-25 04:34:20 +00:00
Alex Roitman
7bf9bcc6d1 Update
svn: r2897
2004-02-23 04:41:37 +00:00
Alex Roitman
3e6e2ea2ea * 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
2d81ccd542 First DB pass
svn: r2884
2004-02-21 06:11:59 +00:00
Don Allingham
00965326e2 * 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
36ef08b358 get_id updates
svn: r2846
2004-02-15 23:10:12 +00:00
Don Allingham
1c94371e33 updates for IDs
svn: r2840
2004-02-15 20:49:34 +00:00
Don Allingham
1c52f85907 * 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
7ed2f0551e Move from object references to IDs
svn: r2822
2004-02-14 05:40:30 +00:00
Don Allingham
ad2c2d2bff * 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
4f9bd50d8d * 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
9f357f378e * src/FamilyView.py (delete_family_from): Remove extra "[0]".
svn: r2608
2004-01-08 15:39:33 +00:00
Don Allingham
18b411eed3 * 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
69b4f327a9 * 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
cac9c131ce * 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
344250abc1 Update
svn: r2417
2003-12-02 01:29:30 +00:00
Alex Roitman
0b748ead3c * 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
ff9b6287b5 * 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
23eb01d4ef * 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
477926d419 * src/FamilyView.py: Enable keyboard navigation in Family View.
svn: r2358
2003-11-20 04:59:36 +00:00
Alex Roitman
b382ac0476 * 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
c688da8615 * 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
5bb2d91afa * 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
1f9b8dafdd 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
73fcaec440 * 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
1b0b7b3377 * 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
8df8cae9b4 * 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
d8d91425e4 * 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
b104b23a9b * 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
d8def400f3 * 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
619634ca4b * 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
b7483de413 * 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