Commit Graph

68 Commits

Author SHA1 Message Date
Alex Roitman
0cb999d41e * 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
b1a31deb0f * 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
69270a29f8 * 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
b8247fb0e2 * 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
2adcb8b8c7 * src/EditPerson.py: Fixed typo
svn: r2340
2003-11-14 22:50:03 +00:00
Alex Roitman
b5e029e27e * 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
385c80dcd2 * 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
8420160fb4 Update
svn: r2325
2003-11-11 00:38:24 +00:00
Alex Roitman
5eb64234ee * 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
Alex Roitman
874bee1f7c * src/edit_person.glade: Set meaningful id for the Notes tab label.
* src/EditPerson.py (__init__): Find notes_label from XML, call
chane_notes() if note is not empty; (change_notes): Add function.


svn: r2321
2003-11-09 23:14:18 +00:00
Don Allingham
b67e68f304 * src/gramps_main.py: pychecker cleanup
* src/PeopleView.py: pychecker cleanup
* src/PeopleStore.py: pychecker cleanup
* src/EditPerson.py: pychecker cleanup
* src/QuickAdd.py: remove file
* src/SelectChild.py: Remove ability to add new person, since a separate
function for this already exists.
* src/gramps.glade: remvoe add button from select child dialog
* src/Makefile.am: remove QuickAdd.py
* src/intl.py: remove
* src/intl.c: remove
* src/TextDoc.py: remove
* src/DrawDoc.py: remove


svn: r2293
2003-10-30 04:17:05 +00:00
Don Allingham
0785137dcb * src/RelLib.py: Person and Family now inherit from SourceNote
* src/EditPerson.py: Added source tab to apply generic sources
to a person
* src/Marriage.py: Added source tab to apply generic sources
to a person, add "complete" flag
* src/WriteXML.py: Store source information for Family and Person,
store complete flag for Family
* src/GrampsParser.py: Parse source information for Family and
Person, read complete flag for Famiy


svn: r2289
2003-10-29 05:04:43 +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
Don Allingham
fee585d80c * src/RelLib.py : support for capitalized name formats
* src/EditPerson.py: eliminate capitilzing names, instead rely on
the display formats
* src/Utils.py: new display formats for names
* src/GrampsCfg.py: eliminate name only option in status line,
add support for capitalized name formats
* src/preferences.glade : eliminate name only option in status line,
drop capitalize in favor of expanded name format


svn: r2238
2003-10-12 04:26:00 +00:00
Don Allingham
7047da9ffa update
svn: r2152
2003-09-20 19:56:27 +00:00
Alex Roitman
1021a5ef65 * src/SourceView.py (button_press,on_add_clicked,on_delete_clicked,
on_edit_clicked): Pass parent window to the child dialog.
* src/Sources.py (add_src_clicked): Likewise.
* src/EditSource.py (__init__): Add optional parent_window argument.
Make dialog modal and transient for its parent.
* src/gramps.glade (sourceEditor dialog): Delete unneeded handlers
for buttons.
* src/QuestionDialog.py (SaveDialog,QuestionDialog,OptionDialog,
ErrorDialog,WarningDialog,MissingMediaDialog): Set transient status
if parent is given.
* src/EventEdit.py (__init__): Make dialog modal and transient for
its parent.
* src/Witness.py: Make WittnessEditor dialog modal and transient for
its parent. Call SelectPerson with itself as a parent.
* src/SelectPerson.py (__init__): Make dialog transient for its parent.
* src/imagesel.glade: Define proper responses and delete unneeded handlers
for buttons. Make gtkFileEntry modal.
* src/dialog.glade (all dialogs): Define proper responses for buttons.
* src/EditPerson.py (on_add_aka_clicked, on_aka_update_clicked):
Call NameEdit with itself as a parent; (on_add_attr_clicked,
on_update_attr_clicked): Call AttributeEditor with itself as a parent;
(on_add_addr_clicked,on_update_addr_clicked): Call AddressEditor with
itself as a parent; (on_add_url_clicked,on_update_url_clicked): Call
UrlEditor with itself as a parent; (on_name_note_clicked,
on_ldsbap_note_clicked,on_ldsendow_note_clicked,
on_ldsseal_note_clicked): Call NoteEditor with itself as a parent.
* src/NameEdit.py (__init__): Make dialog modal and transient for
its parent.
* src/AttrEdit.py (__init__): Likewise.
* src/AddrEdit.py (__init__): Likewise.
* src/UrlEdit.py (__init__): Likewise.
* src/NoteEdit.py (__init__): Likewise.


svn: r2131
2003-09-15 04:11:30 +00:00
Don Allingham
ebdc5fbcc3 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +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
Alex Roitman
917a752688 * src/EditPerson.py (did_data_change): Add a unicode conversion to the
surname string.


svn: r1965
2003-08-07 04:38:06 +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
Tim Waugh
56dd6eda7a 2003-07-01 Tim Waugh <twaugh@redhat.com>
* src/EditPerson.py: Don't guess gender if it has already been set.


svn: r1808
2003-07-01 19:04:47 +00:00
Tim Waugh
33bd45bd15 2003-06-27 Tim Waugh <twaugh@redhat.com>
* src/EditPerson.py: Place keys are unicode.


svn: r1795
2003-06-27 11:59:09 +00:00
Tim Waugh
642ac13135 2003-06-24 Tim Waugh <twaugh@redhat.com>
* src/GrampsParser.py: Use access methods rather than poking directly.
        * src/RelLib.py: Keep statistics on gender distribution among first
        names so that it can be used for guessing.
        * src/edit_person.glade: More event handlers.
        * src/EditPerson.py: Guess gender when appropriate.


svn: r1769
2003-06-24 14:16:47 +00:00
Don Allingham
cf54cbc309 pychecker fixes
svn: r1750
2003-06-16 04:57:25 +00:00
Alex Roitman
6143678cfe * src/EditPerson.py (did_data_change): When checking name type,
compare translated strings (otherwise they always differ).


svn: r1734
2003-06-14 04:57:20 +00:00
Don Allingham
198e3f1e2c * src/EditPerson.py: Removed the conflict of using pmap for two seperate
purposes - mapping places to iterators and places to keys. The place to
key map is now pdmap
* src/EditPlace.py: Handle drag and drop with places
* src/EditPerson.py: Handle exchange of perferred name and selected
name in the alternate name list


svn: r1723
2003-06-14 00:58:38 +00:00
Alex Roitman
5385792d1d * src/const.py.in: Add InverseNameTypesMap.
* src/plugins/IndivComplete.py: Use InverseNameTypesMap for
alternate names.
* src/EditPerson.py (on_name_select_row): Display translated
name type.


svn: r1722
2003-06-13 23:06:03 +00:00
Don Allingham
4670d84ab1 * src/EditPerson.py: Removed the conflict of using pmap for two seperate
purposes - mapping places to iterators and places to keys. The place to
key map is now pdmap


svn: r1719
2003-06-13 15:08:07 +00:00
Don Allingham
ec5e7e7bc7 update
svn: r1717
2003-06-13 04:03:44 +00:00
Don Allingham
5147048755 * src/EditPerson.py: Support for keeping track of names, addresses,
and urls after they are edited
* src/NameEdit.py: Support for keeping track of names after they are edited
* src/AddrEdit.py: Support for keeping track of names after they are edited
* src/UrlEdit.py: Support for keeping track of names after they are edited


svn: r1697
2003-06-11 03:26:02 +00:00
Don Allingham
59a6f4d79b * src/ListModel.py: Be able to select based off an iter
* src/ImageSelect.py: Support keeping selecting attributes after
they are edited
* src/EventEdit.py: Support keeping selecting events after
they are edited
* src/AttrEdit.py: Support keeping selecting attributes after
they are edited
* src/Marriage.py: Support keeping track of events and attributes
after they are edited.
* src/EditPerson.py: Support keeping track of events and attributes
after they are edited.


svn: r1690
2003-06-11 02:54:57 +00:00
Don Allingham
b470072cfb * src/EditPerson.py: Allow a default gender to be specified if a new
person is being added
* src/AddSpouse.py: All EditPerson dialog instead of QuickAdd


svn: r1669
2003-06-07 16:48:10 +00:00
Don Allingham
220351346d * src/EditPerson
Don't reset date value after a page switch


svn: r1665
2003-06-07 15:38:53 +00:00
Don Allingham
a046f09f80 Image gallery handling - use EXPOSE to draw initial window, make sure
images don't go over the edge


svn: r1594
2003-05-27 03:43:36 +00:00
Alex Roitman
e3d92c3b05 Translation cleanups
svn: r1591
2003-05-24 03:40:58 +00:00
Don Allingham
15fdf1787b Sort places in pulldown menus
svn: r1581
2003-05-23 02:12:55 +00:00
Alex Roitman
055e1d802d Retracting date warnings
svn: r1574
2003-05-22 12:24:12 +00:00
Alex Roitman
f73db5cbc0 Warning if non-date text is entered into date fields
svn: r1571
2003-05-22 03:37:33 +00:00
Don Allingham
17eced69ef Limit the number of characters in the description and source lists on the edit window
Prevent place duplication


svn: r1477
2003-04-26 23:17:51 +00:00
Don Allingham
7978cf7317 Bug fixes
svn: r1466
2003-04-20 03:52:54 +00:00
Don Allingham
35184f9d6f Translation changes
svn: r1432
2003-04-10 02:49:51 +00:00
Don Allingham
165efc5848 Find support
svn: r1423
2003-04-04 05:48:25 +00:00
Don Allingham
0979947abb Detect intl library successful loading
svn: r1401
2003-03-26 04:32:14 +00:00
Don Allingham
5d1897c379 Fixed sorting
svn: r1373
2003-03-21 04:25:55 +00:00
Don Allingham
d554f53049 Hide main window until it is completely initialized.
svn: r1348
2003-03-14 05:46:02 +00:00
Don Allingham
368378119d Window title strings
svn: r1327
2003-03-06 06:12:51 +00:00
Don Allingham
e3e2a02607 Interface compliance changes
svn: r1323
2003-03-03 04:32:53 +00:00
Don Allingham
a537a4bf49 Edit Person changes
svn: r1322
2003-02-28 04:49:18 +00:00
Don Allingham
072c64eb5e HIG improvements
svn: r1319
2003-02-27 00:29:37 +00:00
Don Allingham
0f616d0b90 Updated dialogs
svn: r1314
2003-02-24 04:51:57 +00:00