Don Allingham
e8dd8dde0b
* src/EditPerson,py: allow reordering of event columns
...
* src/TransTable.py: allow to be initialized with a list instead of a map
* src/gramps.glade: allow reordering of event columns
* src/gramps_main.py: catch program_init exception
* src/ListModel.py: allow reordering of columns
svn: r3230
2004-06-23 04:54: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
e97365dedf
update
...
svn: r3117
2004-05-02 04:10:33 +00:00
Don Allingham
f58731f4ea
* various: Add undo functionality
...
svn: r3065
2004-03-30 04:50:24 +00:00
Don Allingham
08f4675fd3
* src/gramps_main.py: remove unused functions, fix history
...
* src/FamilyView.py: improve reordering of children
svn: r3059
2004-03-25 15:05:56 +00:00
Alex Roitman
748ae7fcc1
* src/EditPerson.py (draw_lds): Don't include main family twice.
...
svn: r3047
2004-03-22 23:59:37 +00:00
Don Allingham
aceaffcc97
Convert to new GenericTreeView models
...
svn: r3040
2004-03-22 04:41:35 +00:00
Don Allingham
c4a640394d
* src/EditPerson.py: TreeView enhancements
...
* src/PeopleModel.py: TreeView enhancements
* src/PeopleView.py: TreeView enhancements
* src/gramps_main.py: TreeView enhancements
svn: r2984
2004-03-09 05:12:14 +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
125654323a
update
...
svn: r2912
2004-02-25 04:08:51 +00:00
Alex Roitman
b6cb43b1ea
Update
...
svn: r2910
2004-02-25 03:20:53 +00:00
Alex Roitman
f2272091d7
* src/AddrEdit.py, src/AttrEdit.py, src/EditPerson.py,
...
src/EditSource.py, src/EventEdit.py, src/ImageSelect.py,
src/Marriage.py, src/NameEdit.py, src/NoteEdit.py,
src/Sources.py, src/UrlEdit.py, src/Witness.py:
Register windows opened for existing objects. Prevent editing
same object twice.
svn: r2905
2004-02-24 05:37:06 +00:00
Alex Roitman
aadfb20ce4
* src/EditPerson.py: Rename photo into media.
...
* src/EditPlace.py: Rename photo into media.
* src/EditSource.py: Rename photo into media.
* src/ImageSelect.py: Rename photo into media.
* src/Marriage.py: Rename photo into media.
svn: r2896
2004-02-23 02:45:36 +00:00
Alex Roitman
7159bbc26f
Update
...
svn: r2889
2004-02-22 05:08:40 +00:00
Don Allingham
72659f98ac
Additional Reference fixes
...
svn: r2888
2004-02-22 04:57:06 +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
Alex Roitman
6d1afa704d
Update
...
svn: r2882
2004-02-20 03:57:54 +00:00
Alex Roitman
40ebb9fde3
Fixes
...
svn: r2880
2004-02-20 02:38:31 +00:00
Alex Roitman
96f0b63b0e
Update
...
svn: r2875
2004-02-20 00:52:24 +00:00
Alex Roitman
da5acff6d5
Update
...
svn: r2873
2004-02-19 21:27:53 +00:00
Alex Roitman
1b98a6266a
Update
...
svn: r2872
2004-02-19 20:34:58 +00:00
Alex Roitman
fdaaef219c
Update
...
svn: r2871
2004-02-19 19:15:27 +00:00
Alex Roitman
f2a684d957
* src/EditPerson.py: Use parent class. Add/remove itself from/to
...
the Windows menu.
* src/NameEdit.py: Make non-modal.
* src/gramps.glade: Add Windows menu.
* src/gramps_main.py: Get Windows menu and its submenu.
Pass Gramps class to the children -- first-class object editors.
svn: r2870
2004-02-19 13:40:09 +00:00
Don Allingham
ccb88f8d46
* 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
* src/EventEdit.py: switch to event/event_ids
* src/PeopleView.py: switch to event/event_ids
* src/EditPerson.py: switch to event/event_ids
svn: r2869
2004-02-19 05:07:46 +00:00
Don Allingham
45c712e8cd
* src/RelLib.py: fix syntax error
...
* src/EditPerson.py: fix reordering of children
*
svn: r2827
2004-02-15 01:57:07 +00:00
Don Allingham
7ed2f0551e
Move from object references to IDs
...
svn: r2822
2004-02-14 05:40:30 +00:00
Alex Roitman
50332acbfd
* src/gramps.glade: Define handler for the gallery's Edit button.
...
* src/EditSource.py: Connect callback to the gallery's Edit button.
* src/ImageSelect.py: Remember old photo list.
* src/EditPlace.py: Revert photos on Cancel.
* src/EditPerson.py: Revert photos on Cancel.
* src/Marriage.py: Revert photos on Cancel.
svn: r2783
2004-02-06 20:57:01 +00:00
Don Allingham
b90dafd701
* src/const.py.in: handle new translation table class
...
* src/NameEdit.py.in: handle new translation table class
* src/EditPerson.py.in: handle new translation table class
* src/TransTable.py: new Translation table class
* src/GenericFilter.py: handle translated rule names
* src/plugins/FilterEditor.py: handle translated rule names
svn: r2679
2004-01-20 23:30:15 +00:00
Don Allingham
1424ea9e65
* src/EditPerson.py (EditPerson.__init__): use AutoCombo for name type
...
* src/edit_person.glade: allow a name type that is not in the list
* src/ImageSelect.py: make sure that description doesn't exceed the image
size
* src/MediaView.py: mark <local copy> for translation
* src/gramps.glade: eliminate fixed size for side panel, helps with translations.
svn: r2593
2004-01-07 04:58:51 +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
Alex Roitman
9f84452198
* src/Sources.py: Unicode conversion from gtk.TextView.
...
* src/Witness.py: Unicode conversion from gtk.TextView.
* src/Report.py: Unicode conversion from gtk.TextView.
* src/NameEdit.py: Unicode conversion from gtk.TextView.
* src/Marriage.py: Unicode conversion from gtk.TextView.
* src/ImageSelect.py: Unicode conversion from gtk.TextView.
* src/EventEdit.py: Unicode conversion from gtk.TextView.
* src/EditSource.py: Unicode conversion from gtk.TextView.
* src/EditPlace.py: Unicode conversion from gtk.TextView.
* src/EditPerson.py: Unicode conversion from gtk.TextView.
* src/AutoComp.py: Unicode conversion from gtk.TextView.
* src/AttrEdit.py: Unicode conversion from gtk.TextView.
* src/AddrEdit.py: Unicode conversion from gtk.TextView.
* src/plugins/BookReport.py: Unicode conversion from gtk.Entry
and gtk.TextView.
* src/plugins/ChangeTypes.py: Unicode conversion.
* src/plugins/EventCmp.py: Unicode conversion.
* src/plugins/FilterEditor.py: Unicode conversion.
* src/plugins/SimpleBookTitle.py: Unicode conversion.
* src/plugins/TimeLine.py: Unicode conversion.
* src/plugins/WebPage.py: Unicode conversion.
* src/plugins/WriteGedcom.py: Unicode conversion.
* src/plugins/WritePkg.py: Unicode conversion.
* src/plugins/eval.py: Unicode conversion.
* src/plugins/soundgen.py: Unicode conversion.
svn: r2536
2003-12-17 16:06:36 +00:00
Don Allingham
0ae41e3ee8
* src/PlaceView.py: Make sure to add new place after edit
...
* src/AddMedia.py: unicode conversion from gtk.Entry
* src/AddSpouse.py: unicode conversion from gtk.Entry
* src/AddrEdit.py: unicode conversion from gtk.Entry
* src/AttrEdit.py: unicode conversion from gtk.Entry
* src/AutoComp.py: unicode conversion from gtk.Entry
* src/ChooseParents.py: unicode conversion from gtk.Entry
* src/DateEdit.py: unicode conversion from gtk.Entry
* src/EditPerson.py: unicode conversion from gtk.Entry
* src/EditPlace.py: unicode conversion from gtk.Entry
* src/EditSource.py: unicode conversion from gtk.Entry
* src/EventEdit.py: unicode conversion from gtk.Entry
* src/Find.py: unicode conversion from gtk.Entry
* src/GrampsCfg.py: unicode conversion from gtk.Entry
* src/ImageSelect.py: unicode conversion from gtk.Entry
* src/LocEdit.py: unicode conversion from gtk.Entry
* src/Marriage.py: unicode conversion from gtk.Entry
* src/MergeData.py: unicode conversion from gtk.Entry
* src/NameEdit.py: unicode conversion from gtk.Entry
* src/PeopleView.py: unicode conversion from gtk.Entry
* src/Report.py: unicode conversion from gtk.Entry
* src/SelectChild.py: unicode conversion from gtk.Entry
* src/Sources.py: unicode conversion from gtk.Entry
* src/StartupDialog.py: unicode conversion from gtk.Entry
* src/StyleEditor.py: unicode conversion from gtk.Entry
* src/UrlEdit.py: unicode conversion from gtk.Entry
* src/Utils.py: unicode conversion from gtk.Entry
* src/VersionControl.py: unicode conversion from gtk.Entry
* src/Witness.py: unicode conversion from gtk.Entry
svn: r2534
2003-12-17 05:23:16 +00:00
Alex Roitman
3d85a41c88
* src/places.glade: Add format controls for notes.
...
* src/imagesel.glade: Add format controls for notes.
* src/EditPlace.py: Add note format support.
* src/ImageSelect.py: Add note format support.
* src/EditPerson.py: Clean up note format support.
* src/Marriage.py: Add note format support.
svn: r2526
2003-12-16 00:37:47 +00:00
Alex Roitman
0f273ef5ea
* src/edit_person.glade: Add from file and Add from database buttons.
...
* src/EditPerson.py (__init__): Add handler for a new button.
* src/ImageSelect.py (Gallery.on_select_photo_clicked): Add function.
* src/marriage.glade: Add from file and Add from database buttons.
* src/Marriage.py (__init__): Add handler for a new button.
* src/gramps.glade (sourceEditor): Add from file and Add from database
buttons.
* src/EditSource.py (__init__): Add handler for a new button.
* src/places.glade: Add from file and Add from database buttons.
* src/EditPlace.py (__init__): Add handler for a new button.
svn: r2511
2003-12-12 05:36:38 +00:00
Alex Roitman
4c42ecc199
* src/edit_person.glade: Add notes format radiobuttons.
...
* src/EditPerson.py: Support format for the person's notes.
* src/RelLib.py: More support for the notes' format.
svn: r2496
2003-12-10 14:21:48 +00:00
Don Allingham
857a7cb777
update
...
svn: r2480
2003-12-09 06:02:36 +00:00
Alex Roitman
65aef4214d
* src/edit_person.glade: Add completeness check button.
...
* src/RelLib.py (Person.setComplete, Person.getComplete): Add functions.
* src/WriteXML.py (write_id): Save completeness info.
* src/GrampsParser.py (GrampsParser.start_person,
GrampsImportParser.start_person, GrampsImportParser.start_family):
Parse completeness.
* src/EditPerson.py: Add support for completeness.
svn: r2430
2003-12-03 03:49:39 +00:00
Alex Roitman
e6cdcddd9d
* src/preferences.glade: Add Help button.
...
* src/GrampsCfg.py (on_propertybox_help): Add function.
* src/imagesel.glade: Add Help buttons.
* src/ImageSelect.py (ImageSelect.on_help_imagesel_clicked,
GlobalMediaProperties.on_help_clicked): Add functions.
* src/AddMedia.py (on_help_imagesel_clicked): Add function.
* doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/keybind.xml: Update.
* src/AddSpouse.py: Call yelp with sect2 argument.
* src/AddrEdit.py: Likewise.
* src/AttrEdit.py: Likewise.
* src/ChooseParents.py: Likewise.
* src/EditPerson.py: Likewise.
* src/EditPlace.py: Likewise.
* src/EditSource.py: Likewise.
* src/EventEdit.py: Likewise.
* src/Marriage.py: Likewise.
* src/NameEdit.py: Likewise.
* src/SelectChild.py: Likewise.
* src/Sources.py: Likewise.
svn: r2420
2003-12-02 04:27:23 +00:00
Alex Roitman
7a216129d5
* src/gramps.glade: Add Help buttons to dialogs.
...
* src/AddSpouse.py (on_spouse_help_clicked): Add function.
* src/SelectChild.py (on_child_help_clicked): Add function.
* src/Marriage.py (on_help_clicked): Add function.
* src/EditPerson.py (on_help_clicked): Add function.
* src/marriage.glade: Add Help button to a dialog.
* src/edit_person.glade: Add Help button to a dialog.
* src/dialog.glade: Add Help buttons to dialogs.
* src/AddrEdit.py (on_help_clicked): Add function.
* src/AttrEdit.py (on_help_clicked): Add function.
* src/EventEdit.py (on_help_clicked): Add function.
svn: r2347
2003-11-18 04:26:06 +00:00
Don Allingham
f6a14dfe8a
* src/EditPerson.py: handle LDS status setting properly
...
* src/RelLib.py: use LDS status for equality comparison
svn: r2344
2003-11-17 00:41:32 +00:00
Don Allingham
11a6ccbb90
* src/EditPerson.py: Fixed typo
...
svn: r2340
2003-11-14 22:50:03 +00:00
Alex Roitman
0074cb7eea
* src/EditPerson.py: Fix LDS tab label behavior.
...
* src/Marriage.py: Fix LDS tab label behavior. Fix get_place for LDS (was
using Utils.get_place_from_list which uses deprecated gtk.List and does not
work).
svn: r2336
2003-11-13 21:44:09 +00:00
Alex Roitman
c2bb96a905
* src/Utils.py (bold_label, unbold label): Add functions.
...
* src/EditPerson.py (bold_label, unbold label): Remove functions;
Call them from Utils in every instance.
* src/ImageSelect.py (Gallery.load_images): Change label upon load.
* src/Sources.py (SourceTab.redraw): Change label upon redraw.
* src/AddrEdit.py (__init__): Find sources label from XML;
(on_switch_page): Add function.
* src/AttrEdit.py (__init__): Find sources label from XML;
(on_switch_page): Add function.
* src/dialog.glade: Set meaningful label ids, remove bold markup.
* src/EditPlace.py (__init__): Find soucre label from XML.
* src/places.glade: Set meaningful label ids, remove bold markup.
* src/Marriage.py (__init__): Find soucre label from XML;
(on_switch_page): Add function.
* src/marriage.glade: Set meaningful label ids, remove bold markup.
* src/EditSource.py (__init__): Find soucre label from XML.
* src/gramps.glade: Set meaningful label ids, remove bold markup.
* src/EventEdit.py: (__init__): Find soucre label from XML;
(on_switch_page): Add function.
* src/Witness.py (WitnessTab.redraw): Change label upon redraw.
* src/NameEdit.py: (__init__): Find soucre label from XML;
(on_switch_page): Add function.
svn: r2327
2003-11-12 18:45:07 +00:00
Alex Roitman
c3c8e207de
Update
...
svn: r2325
2003-11-11 00:38:24 +00:00
Alex Roitman
5908567be6
* src/edit_person.glade: Set meaningful ids for all tab labels.
...
* src/EditPerson.py (__init__): Find labels from XML, call
bold_label() if contents is not empty;
(bold_label, unbold label): Add functions;
(redraw_*): Call bold_label or unbold_label based on contents.
svn: r2324
2003-11-11 00:32:28 +00:00