Commit Graph

50 Commits

Author SHA1 Message Date
Don Allingham
6b2bf53b49 * src/gramps.glade: remove name display options
* src/GrampsCfg.py: remove name displaying functions
* src/Makefile.am: add NameDisplay.py to list
* src/NameDisplay.py: New name displaying class
* src/Utils.py: use new NameDisplay class
* src/AddSpouse.py: use new NameDisplay class
* src/AddrEdit.py: use new NameDisplay class
* src/Bookmarks.py: use new NameDisplay class
* src/ChooseParents.py: use new NameDisplay class
* src/DisplayModels.py: use new NameDisplay class
* src/EditPerson.py: use new NameDisplay class
* src/EditPlace.py: use new NameDisplay class
* src/EditSource.py: use new NameDisplay class
* src/FamilyView.py: use new NameDisplay class
* src/GenericFilter.py: use new NameDisplay class
* src/ImageSelect.py: use new NameDisplay class
* src/Marriage.py: use new NameDisplay class
* src/MergeData.py: use new NameDisplay class
* src/NameEdit.py: use new NameDisplay class
* src/PedView.py: use new NameDisplay class
* src/PeopleModel.py: use new NameDisplay class
* src/ReadGedcom.py: use new NameDisplay class
* src/Report.py: use new NameDisplay class
* src/SelectChild.py: use new NameDisplay class
* src/SubstKeywords.py: use new NameDisplay class
* src/Witness.py: use new NameDisplay class
* src/WriteGedcom.py: use new NameDisplay class
* src/gramps_main.py: use new NameDisplay class
* src/plugins/Desbrowser.py: use new NameDisplay class
* src/plugins/Merge.py: use new NameDisplay class
* src/plugins/RelCalc.py: use new NameDisplay class


svn: r3852
2005-01-01 04:27:15 +00:00
Alex Roitman
e7122913f1 * src/PedView.py (get_distance): Remove function; use similar
from Relationship module.


svn: r3793
2004-12-10 00:22:05 +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
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
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
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
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
Alex Roitman
de2c28febb Fixes to context menu
svn: r3222
2004-06-21 21:23:35 +00:00
Alex Roitman
7cf73d3415 Update
svn: r3221
2004-06-21 19:59:48 +00:00
Alex Roitman
514e73aea0 * src/PedView.py: Fix anchors. Switch from storing person objects
to their IDs. Start on building Spouses and Siblings submenus
in the context menu.


svn: r3220
2004-06-21 17:08:51 +00:00
Don Allingham
bf5ad74a5d * src/EditSource.py: try_to_find_person_from_id fix
* src/PedView.py: try_to_find_person_from_id fix
* src/Utils.py: try_to_find_person_from_id fix


svn: r3197
2004-05-31 03:50:06 +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
1c995add59 * src/Bookmarks.py: use IDs instead of person references
* src/ChooseParents.py: allow for NOSORT option
* src/GrampsParser.py: removed
* src/GrampsXML.py: removed
* src/MediaView.py: allow for NOSORT option
* src/PedView.py: double click to edit
* src/PeopleView.py: allow for NOSORT option
* src/PlaceView.py: allow for NOSORT option
* src/RelLib.py: handle bookmarks in metadata
* src/ReadXML.py: merge GrampsParser
* src/SourceView.py: allow for NOSORT option
* src/const.py.in: fix paths for xml files
* src/gramps_main.py: bookmark fixes
* src/papersize.xml : move to data subdirectory
* src/plugins/ReadGedcom.py: fix menu string
* src/plugins/ReadNative.py: fix menu string
* src/plugins/ReadPkg.py: fix menu string


svn: r3085
2004-04-11 02:37:13 +00:00
Alex Roitman
f7037df414 * src/PedView.py (on_show_child_menu): Switch to id.
svn: r3045
2004-03-22 21:04:47 +00:00
Alex Roitman
b3f1f5ab0f More
svn: r2935
2004-02-29 03:01:03 +00:00
Don Allingham
e878549bfd First DB pass
svn: r2884
2004-02-21 06:11:59 +00:00
Don Allingham
015973462a Move from object references to IDs
svn: r2822
2004-02-14 05:40:30 +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
a1952f0a38 Cleanup
svn: r2583
2004-01-02 20:26:30 +00:00
Alex Roitman
a5bc5cbc37 * src/PedView.py (load_canvas): Produce generation labels based on
the anchor.


svn: r2582
2004-01-02 07:02:12 +00:00
Alex Roitman
0ed89c7f95 * src/PedView.py (load_canvas): Ditch anchor button in favor of
context menu items; (make_anchor_button,on_anchor_clicked): Remove
functions; (on_anchor_set, on_anchor_remove): Add functions;
(build_nav_menu): Add anchor-related context menut items.


svn: r2581
2004-01-02 01:02:13 +00:00
Don Allingham
55a864a37c * src/PedView.py (PedigreeView.load_canvas): switched anchor label from a label
to a CanvasText


svn: r2579
2004-01-01 21:04:45 +00:00
Alex Roitman
1ee840ef00 * src/PedView.py (load_canvas): Add ahcnor button and label;
(make_anchor_button,make_anchor_label,on_anchor_clicked): Add functions.


svn: r2573
2004-01-01 09:21:37 +00:00
Alex Roitman
3a6a1debd6 * src/PedView.py: Remove references to self.presel_descendants
(closes bug #854626).


svn: r2447
2003-12-06 05:47:07 +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
Don Allingham
b371dec8f6 * src/PedView.py (PedigreeView.find_children): used italics instead of
'*' to indicate children in popup menu


svn: r2407
2003-11-30 06:19:00 +00:00
Don Allingham
87a72111f7 * src/PedView.py: add a '*' to the popup menu if the child has children
svn: r2400
2003-11-28 21:23:59 +00:00
Alex Roitman
4e8c2a3886 * src/PedView.py: Correct colors so that they work with dark and
high-contrast themes.


svn: r2276
2003-10-22 03:20:59 +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
313faca8da * src/PedView.py (PedigreeView.__init__): Add parent argument to the
constructor. Connect to the handling function on button press over the
canvas to enable context menu;
(on_canvas_press, build_nav_menu): Add functions to enable context menu.
* src/gramps_main.py (init_interface): Call PedView with self as parent.
* src/PlaceView.py (merge): Change error message from people to places.


svn: r2042
2003-08-25 14:00:26 +00:00
Don Allingham
ebdc5fbcc3 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +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
3c0376029c * src/PedView.py (DispBox.__init__): Conditional display of "b."
and "d." strings depending on the availability of the appropriate date.
* NEWS: Start new section for 0.9.3 release.


svn: r1754
2003-06-16 17:22:09 +00:00
Alex Roitman
e3d92c3b05 Translation cleanups
svn: r1591
2003-05-24 03:40:58 +00:00
Don Allingham
b2be35af0a Shift-click to edit spouse, re-implemented family name guessing
svn: r1537
2003-05-18 04:18:12 +00:00
Don Allingham
ec119ab64a Fixed marriage problem and startup dialog
svn: r1515
2003-05-12 19:39:49 +00:00
Don Allingham
7978cf7317 Bug fixes
svn: r1466
2003-04-20 03:52:54 +00:00
Don Allingham
165efc5848 Find support
svn: r1423
2003-04-04 05:48:25 +00:00
Don Allingham
8637d33501 Clear displays after a new database is created.
svn: r1305
2003-02-14 02:20:59 +00:00
Don Allingham
695688b357 Handle gtk.TextView API change
svn: r1296
2003-02-10 04:13:15 +00:00
Don Allingham
a9f8fe034f ansel/utf8 encodings
svn: r1258
2003-01-19 06:25:20 +00:00
Don Allingham
7f514dac82 pychecker fixes, GEDCOM import/export improvements, calendar improvements
svn: r1250
2003-01-10 05:21:32 +00:00
Don Allingham
1e89380047 Removed unneeded pygtk calls
svn: r1210
2002-11-27 05:56:23 +00:00
Don Allingham
f53f056885 use pygtk.require to determine database
svn: r1205
2002-11-26 04:06:23 +00:00
Don Allingham
5875df7c48 Initial revision
svn: r1140
2002-10-20 14:25:16 +00:00