Commit Graph

2448 Commits

Author SHA1 Message Date
Alex Roitman
8c1919104c * src/AutoComp.py (StandardCustomSelector.fill): Adapt to new types.
svn: r6518
2006-05-02 17:32:54 +00:00
Alex Roitman
743dded002 * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Add broken witness note.
svn: r6517
2006-05-02 15:19:25 +00:00
Alex Roitman
6921e6e316 * src/DataViews/_PedigreeView.py (define_actions): Translate labels.
* src/DataViews/_SourceView.py (define_actions): Translate labels.
	* src/DataViews/_PlaceView.py (define_actions): Translate labels.
	* src/DataViews/_MediaView.py (define_actions): Translate labels.
	* src/DataViews/_RepositoryView.py (define_actions): Translate labels.
	* src/DataViews/_MapView.py (define_actions): Translate labels.
	* src/DataViews/_EventView.py (define_actions): Translate labels.
	* src/DataViews/_PersonView.py (define_actions) Translate labels.
	* src/PageView.py (BookMarkView.define_actions,
	PersonNavView.define_actions, ListView.define_actions): Translate
	labels.



svn: r6513
2006-05-02 05:50:46 +00:00
Alex Roitman
cc190517f8 * src/plugins/rel_sk.py: Typo.
svn: r6512
2006-05-02 05:07:47 +00:00
Alex Roitman
08821556e9 * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Skip broken witness.
svn: r6511
2006-05-02 04:20:40 +00:00
Don Allingham
3ce932ea76 * src/DataViews/_PersonView.py: view specific key mapping support
* src/ViewManager.py: remember last View
	* src/Config/GrampsConfigKeys.py: LAST_VIEW key
	* src/PageView.py: key binding support
	* data/gramps.schemas.in: LAST_VIEW key


svn: r6510
2006-05-02 03:50:46 +00:00
Alex Roitman
5e6cf4cdd1 * src/GrampsDb/_GrampsDbBase.py (find_backlink_handles): Correctly
loop over all primary classes looking for a given handle.
	* src/RelLib/_Source.py (serialize, unserialize): properly save
	and restore marker.
	* src/RelLib/_MediaObject.py (serialize, unserialize): properly
	save and restore marker.
	* src/RelLib/_Place.py (serialize, unserialize): properly save and
	restore marker.
	* src/RelLib/_Repository.py (serialize, unserialize): properly
	save and restore marker.
	* src/RelLib/_Event.py (serialize, unserialize): properly save and
	restore marker.


svn: r6507
2006-05-01 23:08:09 +00:00
Don Allingham
5791ff7fcd fix selectperson call
svn: r6506
2006-05-01 22:14:26 +00:00
Don Allingham
6c7affe80a expand/collapse all nodes in Person View
svn: r6505
2006-05-01 21:28:31 +00:00
Alex Roitman
3fe3482efb In .:
2006-05-01  Alex Roitman  <shura@gramps-project.org>
	* various: merge changes from gramps20.

In po:
2006-05-01  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new file.



svn: r6504
2006-05-01 21:11:26 +00:00
Alex Roitman
bb9f7dc74d 2006-04-30 Alex Roitman <shura@gramps-project.org>
* src/plugins/Verify.py (Verify.run_tool): Typo.
	


svn: r6503
2006-05-01 05:55:14 +00:00
Don Allingham
2e49a8ab34 2006-04-30 Don Allingham <don@gramps-project.org>
* src/DataViews.py/_PersonView.py: don't add handles of top level
	objects
	* src/GrampsWidgets.py: handle both types and tuples



svn: r6502
2006-04-30 23:26:38 +00:00
Brian Matherly
6937ac022c * src/plugins/CountAncestors.py: Use positive numbers for generations to be consistent with the rest of GRAMPS
svn: r6501
2006-04-30 21:43:45 +00:00
Don Allingham
70ea715cd9 2006-04-30 Don Allingham <don@gramps-project.org>
* src/RelLib/_Person.py: prevent duplicate entries in family lists



svn: r6500
2006-04-30 20:45:49 +00:00
Don Allingham
4063ae7172 * src/Editors/_EditFamily.py: fix Select Person calls
* src/docgen/Makefile.am: add ODSDoc.py
	* po/POTFILES.in: add ODSDoc.py


svn: r6499
2006-04-30 04:17:54 +00:00
Don Allingham
715fa45012 2006-04-29 Don Allingham <don@gramps-project.org>
* src/NEWS: Updated for 2.1.0 release



svn: r6498
2006-04-30 01:46:28 +00:00
Brian Matherly
c872bd6051 * src/plugins/CountAncestors.py: Add percent of theoretical ancestors
svn: r6496
2006-04-29 23:17:58 +00:00
Don Allingham
84e1f06b4e 2006-04-28 Don Allingham <don@gramps-project.org>
* src/AddMedia.py: assign handle to notes



svn: r6494
2006-04-29 02:13:47 +00:00
Brian Matherly
58a6f62125 Add ODSDoc.py and use it in EventCmp.py
svn: r6493
2006-04-28 23:47:19 +00:00
Don Allingham
289bd8bdc5 * src/DataViews/_MediaView.py (MediaView.add): Fix call to AddMedia
svn: r6492
2006-04-28 23:13:15 +00:00
Don Allingham
45853f8c75 * src/ViewManager.py: add ScratchPad to the View menu
* src/Editors/_EditFamily.py: Fix tooltips
	* src/glade/gramps.glade: remove predefined tooltips


svn: r6491
2006-04-28 22:58:43 +00:00
Don Allingham
21e98d4168 2006-04-28 Don Allingham <don@gramps-project.org>
* src/AutoComp.py (StandardCustomSelector.fill): handle unicode
	in addition to str
	* src/ScratchPad.py (ScratchPadWindow.__init__): fix call to
	set_window, passing proper arguments



svn: r6489
2006-04-28 19:48:48 +00:00
Alex Roitman
20606d2797 (ViewManager._init_lists): Translate menu labels.
svn: r6486
2006-04-28 17:02:53 +00:00
Alex Roitman
7fbc99f60f 2006-04-28 Alex Roitman <shura@gramps-project.org>
* src/ScratchPad.py (ScratchPadWindow.__init__): Allow only one
	instance; translate label; remove unneeded event handlers.
	* src/ViewManager.py (ViewManager.scratchpad): Catch exception.



svn: r6485
2006-04-28 16:56:19 +00:00
Alex Roitman
d2698f566a 2006-04-27 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (ViewManager.build_plugin_menu): Use unique
	command-line name for action menu.
	* src/plugins/GraphViz.py: Fix report.
	* src/PluginUtils/_PluginMgr.py (_register_standalone): Remove
	unneeded import.
	* src/PluginUtils/_Plugins.py (build_tools_menu, build_report_menu,
	build_plugin_menu, by_menu_name): Remove functions already
	re-implemented in ViewManager.
	* src/plugins/EventCmp.py: Correct button label.
	* src/plugins/StatisticsChart.py: Fix report.



svn: r6481
2006-04-28 04:33:28 +00:00
Don Allingham
9d695790d0 2006-04-27 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py: fix custom event storing
	* src/GrampsDb/_GrampsBSDDB.py: fix custom event storing
	* src/Editors/_EditEventRef.py: fix custom event storing
	* src/Editors/_EditEvent.py: fix custom event storing
	* src/GrampsWidgets.py: fix custom data types
	* src/AutoComp.py: fix custom data types
	


svn: r6480
2006-04-28 03:32:04 +00:00
Brian Matherly
b0d282b75a * src/docgen/OpenSpreadSheet.py: fix manifest so files open in calc
svn: r6479
2006-04-28 01:17:33 +00:00
Don Allingham
c3a28a2367 2006-04-27 Don Allingham <don@gramps-project.org>
* src/Editors/_EditReference.py: fix warn_box call
	* src/DisplayTabs.py: handle canceled edit box for media
	* src/AddMedia.py: ManagedWindow support
	* src/SelectPerson.py: ManagedWindow support



svn: r6478
2006-04-28 00:33:44 +00:00
Don Allingham
88c6831430 * src/Editors/_EditPerson.py (EditPerson._create_tabbed_pages):
initialize load_image callback
	* src/DisplayTabs.py (GalleryTab): call callback if defined when
	the list is updated, handle reorder inserting of None objects


svn: r6476
2006-04-27 21:56:36 +00:00
Alex Roitman
513f6706bf 2006-04-27 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (reports_clicked, tools_clicked): handle
	exception.
	* src/PluginUtils/_Plugins.py (PluginDialog.on_apply_clicked):
	Correctly call gui_tool, fix wm.	



svn: r6475
2006-04-27 21:32:44 +00:00
Don Allingham
8a234d4bc1 * src/ViewManager.py: fix top on Config.set calls
* data/gramps.schemas.in: remove toolbar, now unused


svn: r6472
2006-04-27 20:52:58 +00:00
Don Allingham
801a3841e2 * src/TipOfDay.py (TipOfDay.__init__): switch to ManagedWindow
svn: r6471
2006-04-27 20:36:32 +00:00
Don Allingham
d4b2d21e0a 2006-04-27 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: provide add new parent option
	* src/Editors/_EditEvent.py: used set_window
	* src/glade/gramps.glade: add new buttons for add new parent



svn: r6470
2006-04-27 20:21:32 +00:00
Alex Roitman
621535599b * src/plugins/CmdRef.py: Fix tool.
svn: r6469
2006-04-27 19:35:43 +00:00
Alex Roitman
5505dc12d3 2006-04-27 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_PluginStatus.py: Fix wm.
	* src/PluginUtils/_Plugins.py: Fix Reload tool. The re-building of
	the menus still needs to be fixed.
	* src/plugins/Leak.py: Fix wm.
	* src/docgen/LPRDoc.py: Import Errors module before it is called.
	* src/plugins/DumpGenderStats.py: Fix wm.



svn: r6468
2006-04-27 19:19:10 +00:00
Don Allingham
2633b9abd4 * src/DisplayModels.py: flush cache on row update
svn: r6467
2006-04-27 18:31:41 +00:00
Don Allingham
af1157b141 * src/DisplayTabs.py: check of event==None when determining default type
svn: r6465
2006-04-27 17:20:19 +00:00
Don Allingham
f8a6f76900 2006-04-27 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: support for keypress events
	* src/gramps.py: fix gnome init



svn: r6464
2006-04-27 17:03:23 +00:00
Alex Roitman
1403965a82 * src/plugins/PatchNames.py (PatchNames.on_ok_clicked): Properly
call update.


svn: r6462
2006-04-27 03:38:30 +00:00
Alex Roitman
6836f020d5 * src/plugins/Verify.py: Fix wm.
* src/plugins/RelCalc.py: Fix wm.
	* src/plugins/SoundGen.py: Fix wm.


svn: r6461
2006-04-27 02:35:47 +00:00
Alex Roitman
86ec5e51b8 * src/plugins/Checkpoint.py: Fix wm.
svn: r6460
2006-04-27 02:04:05 +00:00
Alex Roitman
f8f0ac3e30 * src/plugins/ReorderIds.py: Adapt to new API; rebuild for Events
and Repositories.


svn: r6459
2006-04-27 01:56:42 +00:00
Alex Roitman
7b3030a87f * src/GrampsLogger/_ErrorReportAssistant.py
(ErrorReportAssistant._get_sys_information): Add LANG to report.



svn: r6458
2006-04-27 01:40:32 +00:00
Alex Roitman
7192a66122 * src/plugins/ChangeTypes.py: Fix wm; adapt to RelLib changes.
* src/plugins/ChangeNames.py: Fix wm.


svn: r6457
2006-04-27 00:10:07 +00:00
Alex Roitman
24a22b4930 * src/MergePeople.py: Adapt to RelLib changes.
* src/plugins/Merge.py: Properly call MergePeople; properly call
	update; set dbstate and uistate as instance attributes.



svn: r6456
2006-04-26 23:38:32 +00:00
Don Allingham
22aa1ff1fa connect goto_handle function for bookmark callback
svn: r6455
2006-04-26 22:43:59 +00:00
Alex Roitman
9406527176 2006-04-26 Alex Roitman <shura@gramps-project.org>
* src/plugins/Check.py: Adapt to new family relation types.



svn: r6454
2006-04-26 22:43:18 +00:00
Don Allingham
e462dafe93 force uimanager updates
svn: r6453
2006-04-26 22:15:22 +00:00
Don Allingham
0593cae180 multiple bookmark lists
svn: r6452
2006-04-26 21:48:13 +00:00
Martin Hawlisch
f2fe4dc6f9 * src/DataViews/_MapView.py: First badly hacked version of online map downloading.
svn: r6451
2006-04-26 20:15:10 +00:00
Alex Roitman
53c551afd5 * src/GrampsCfg.py (build_window_key): Remove, as there's no need
to override the base class anymore.


svn: r6450
2006-04-26 05:15:38 +00:00
Alex Roitman
bdf5731502 * src/plugins/PatchNames.py: Adapt to new wm.
* src/PluginUtils/_Tool.py (gui_tool): handle exception.


svn: r6449
2006-04-26 05:09:44 +00:00
Alex Roitman
1d74561459 update
svn: r6448
2006-04-26 05:04:11 +00:00
Alex Roitman
f1c3795edf 2006-04-25 Alex Roitman <shura@gramps-project.org>
* src/plugins/EventCmp.py (DisplayChart.on_write_table): Use
	FileChooser dialog.
	* src/plugins/eventcmp.glade: remove unused dialog.



svn: r6447
2006-04-26 05:03:56 +00:00
Don Allingham
8a8ef76233 * src/Bookmarks.py: Don't use goto submenu
svn: r6446
2006-04-26 04:24:54 +00:00
Don Allingham
01bfac7778 * src/ViewManager.py: new config changes, handle exception, enable Edit button
by default


svn: r6445
2006-04-26 04:03:04 +00:00
Don Allingham
50ee01250d * src/GrampsCfg/py: move and rename tabs, change Prefixes for Formats
svn: r6444
2006-04-26 03:46:33 +00:00
Don Allingham
1eb5f05424 * src/GrampsCfg/py: move and rename tabs
svn: r6443
2006-04-26 02:46:09 +00:00
Don Allingham
c9b922c156 * src/ViewManager.py: new config changes, handle exception
svn: r6442
2006-04-26 02:14:37 +00:00
Don Allingham
0e34ca8232 2006-04-25 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: new config changes
	* src/GrampsCfg.py: new config changes
	* src/Config/gen_schema_keys.py: new config changes
	* src/gramps_main.py: new config changes



svn: r6440
2006-04-26 02:00:24 +00:00
Alex Roitman
29e51b425d * src/plugins/Desbrowser.py: Window Management fixes.
svn: r6437
2006-04-25 22:29:03 +00:00
Alex Roitman
9759ab6aad * src/Bookmarks.py: Redraw "Go to bookmark" menu if changes were
made in the bookmard editor; Use fixed column widths in editor.



svn: r6436
2006-04-25 19:24:40 +00:00
Alex Roitman
77b40742b4 * src/plugins/EventCmp.py: Adapt to RelLib changes.
* src/GenericFilter.py (GenericFilter.check_and): Correct logic.
	* src/PluginUtils/_PluginStatus.py: Use new set_window.



svn: r6435
2006-04-25 18:36:52 +00:00
Alex Roitman
2f740c8ed1 2006-04-25 Alex Roitman <shura@gramps-project.org>
* src/Makefile.am: Include BaseDoc in the docmodules list.
	* src/GrampsDb/_GrampsBSDDB.py: Different order of closing.



svn: r6434
2006-04-25 17:02:37 +00:00
Brian Matherly
798207dbb4 make manual work in Windows
svn: r6433
2006-04-25 04:10:32 +00:00
Don Allingham
d8628f28ee * src/GrampsDb/_GrampsBSDDB.py: handle data_map during
reload of the database


svn: r6432
2006-04-25 02:55:41 +00:00
Don Allingham
5afa945819 Config method changed
svn: r6429
2006-04-24 21:04:01 +00:00
Don Allingham
999711b902 2006-04-23 Don Allingham <don@gramps-project.org>
* src/DataViews/_MediaView.py: Column editor changes
	* src/DataViews/_RepositoryView.py: Column editor changes
	* src/DataViews/_SourceView.py: Column editor changes
	* src/DataViews/_EventView.py: Column editor changes
	* src/DataViews/_FamilyView.py: Column editor changes
	* src/DataViews/_PlaceView.py: Column editor changes
	* src/DataViews/_PersonView.py: Column editor changes
	* src/GrampsDb/_DbUtils.py: fix add_child_to_family to handle refs
	* src/ColumnOrder.py: format changes
	* src/glade/gramps.glade: format changes
	* src/SelectFamily.py: ManagedWindow support



svn: r6428
2006-04-24 04:06:17 +00:00
Alex Roitman
cd4ee9ca0b 2006-04-23 Alex Roitman <shura@gramps-project.org>
* src/Utils.py: Make set_titles call ManagedWindow.set_titles
	with warning.
	* src/ManagedWindow.py: move set_titles here.
	* src/plugins/FilterEditor.py: Use new set_window method.
	* src/Editors/_Edit*.py: new set_window method.
	



svn: r6425
2006-04-23 22:18:01 +00:00
Don Allingham
3274d3dad9 * src/ColumnOrder.py: use ManagedWindow
* src/DataViews/_MediaView.py: ColumnOrder update
	* src/DataViews/_RepositoryView.py: ColumnOrder update
	* src/DataViews/_SourceView.py: ColumnOrder update
	* src/DataViews/_EventView.py: ColumnOrder update
	* src/DataViews/_PlaceView.py: ColumnOrder update
	* src/DataViews/_PersonView.py: ColumnOrder update


svn: r6424
2006-04-23 22:14:28 +00:00
Don Allingham
5f759817c4 * src/ColumnOrder.py: preserved column width
svn: r6423
2006-04-23 21:58:17 +00:00
Alex Roitman
2ac5030dc5 * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Delete column
metadata.


svn: r6422
2006-04-23 21:32:11 +00:00
Don Allingham
c44729fb3a 2006-04-23 Don Allingham <don@gramps-project.org>
* src/GrampsCfg.py: remove familyview stuff
	* src/plugins/TestcaseGenerator.py: fix BIRTH, DEATH constants



svn: r6421
2006-04-23 21:17:50 +00:00
Alex Roitman
e1085b42f8 2006-04-23 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_PluginStatus.py (PluginTrace.__init__): Set
	scrolling policy to auto;
	(PluginTrace.close_window): Add method.



svn: r6420
2006-04-23 20:59:21 +00:00
Brian Matherly
2c198ad4aa typo
svn: r6419
2006-04-23 04:41:30 +00:00
Don Allingham
5b8749ba73 * src/GrampsDb/_GrampsDbBase.py: pychecker
* src/GrampsDb/_GrampsBSDDB.py: pychecker
	* src/RelLib/_CalSdn.py: pychecker
	* src/RelLib/_PrivateSourceNote.py: pychecker
	* src/RelLib/_GenderStats.py: pychecker
	* src/MergePeople.py: pychecker
	* src/SelectObject.py: pychecker
	* src/ScratchPad.py: pychecker
	* src/ImgManip.py: pychecker
	* src/docgen/ODFDoc.py: pychecker
	* src/docgen/OpenOfficeDoc.py: pychecker
	* src/docgen/LPRDoc.py: pychecker
	* src/SelectEvent.py: pychecker


svn: r6418
2006-04-23 04:29:14 +00:00
Brian Matherly
e275aef029 Keep reports up with RelLib changes
svn: r6417
2006-04-23 02:58:53 +00:00
Don Allingham
7bae68c6f1 * src/DataViews/_MediaView.py: Shorten tab name
* src/DataViews/_RepositoryView.py: Shorten tab name
	* src/DataViews/_SourceView.py: Shorten tab name
	* src/DataViews/_EventView.py: Shorten tab name
	* src/DataViews/_FamilyView.py: Shorten tab name
	* src/DataViews/_FamilyList.py: Shorten tab name
	* src/DataViews/_PedigreeView.py: Shorten tab name
	* src/DataViews/_PlaceView.py: Shorten tab name
	* src/DataViews/_PersonView.py: Shorten tab name
	* src/DataViews/_MapView.py: Shorten tab name
	* src/glade/gramps.glade: remove unused option
	* src/const.py.in: bugtracker address fix


svn: r6416
2006-04-22 22:09:16 +00:00
Don Allingham
78db7a4ce5 2006-04-22 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadXML.py: fix Type str_from_xml calls



svn: r6415
2006-04-22 19:08:47 +00:00
Brian Matherly
99c3ae0e44 misc reports: keep up with RelLib changes
svn: r6414
2006-04-22 06:56:48 +00:00
Alex Roitman
b9371e2e08 2006-04-21 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_ReportUtils.py (buried_str): Typo.
	* src/plugins/DetDescendantReport.py (write_children): Use child_refs.
	* src/plugins/DetAncestralReport.py (write_children): Use child_refs.
	* src/plugins/IndivComplete.py (write_fact): Use new event type.
	* src/docgen/KwordDoc.py (KwordDoc.close): Use tarile.



svn: r6413
2006-04-22 05:13:21 +00:00
Don Allingham
3ee48954ea * src/StartupDialog.py: fix close
* src/plugins/Desbrowser.py: Use ActivPersonTool
	* src/PluginUtils/_Tool.py: active person tool added


svn: r6412
2006-04-22 04:48:40 +00:00
Don Allingham
64b7cb7ad1 * src/plugins/FilterEditor.py: fix close arguments
* src/plugins/ChangeNames.py: fix close arguments
	* src/plugins/Merge.py: fix close arguments
	* src/plugins/ChangeTypes.py: fix close arguments
	* src/plugins/PatchNames.py: fix close arguments


svn: r6411
2006-04-22 04:06:10 +00:00
Don Allingham
a353ab6c53 * src/plugins/Desbrowser.py: check for active person
svn: r6410
2006-04-22 04:04:02 +00:00
Don Allingham
768a1356aa fix typos on XML import
svn: r6405
2006-04-21 22:24:54 +00:00
Don Allingham
95dfa345a1 Fix warnboxes
svn: r6403
2006-04-21 20:45:10 +00:00
Don Allingham
0c45b01fb6 Remove get_child_handle_list call
svn: r6402
2006-04-21 20:39:30 +00:00
Don Allingham
a78ca88de8 Fix warnboxes
svn: r6401
2006-04-21 20:34:26 +00:00
Alex Roitman
d35324d3ea In .:
* src/GrampsDb/_ConstXML.py: Remove.
In po:
2006-04-21  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Remove obsolete file.



svn: r6399
2006-04-21 20:10:37 +00:00
Martin Hawlisch
267741996a * src/DataViews/_PedigreeView.py: Set dirty flag to force redrawing when changing tree style
* src/plugins/TestcaseGenerator.py: Update to new GrampsTypes



svn: r6398
2006-04-21 20:03:09 +00:00
Alex Roitman
524c5fe207 * src/RelLib/_GrampsType.py (set_from_xml_str): Remove extra def.
svn: r6397
2006-04-21 19:59:16 +00:00
Don Allingham
7e88c6c037 Fix warnboxes
svn: r6396
2006-04-21 19:56:16 +00:00
Alex Roitman
9d4fdf1bb2 2006-04-21 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_PluginStatus.py: Many small fixes.
	* src/ManagedWindow.py (GrampsWindowManager.display_menu_list):
	Fix building the menu for child-less windows.



svn: r6395
2006-04-21 19:37:09 +00:00
Don Allingham
32f6564a01 Attribute Types
svn: r6392
2006-04-21 18:15:23 +00:00
Don Allingham
dcfc832ca3 updated PluginStatus dialog
svn: r6390
2006-04-21 17:08:34 +00:00
Don Allingham
471694030c * src/DataViews/_EventView.py: pychecker fixes
* src/ViewManager.py: call scratchpad properly
	* src/GrampsCfg.py: pychecker fixes
	* src/Editors/_EditEvent.py
	* src/DisplayModels.py:pychecker fixes
	* src/DisplayTabs.py: pychecker fixes
	* src/ScratchPad.py: use ManagedWindow
	* src/GenericFilter.py: pychecker fixes
	* src/ImgManip.py: pychecker fixes
	* src/PageView.py: pychecker fixes
	* src/ArgHandler.py: pychecker fixes


svn: r6389
2006-04-21 04:14:00 +00:00
Don Allingham
112a0aa332 * src/Editors/_EditFamily.py: Handle marker type in UI
svn: r6388
2006-04-21 02:59:15 +00:00
Don Allingham
0210b056d8 2006-04-20 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyViews.py: clean up
	* src/DataViews/_PedigreeViews.py: clean up
	* src/RelLib/_Name.py: fix type on set_type



svn: r6387
2006-04-21 02:05:56 +00:00
Alex Roitman
44884e9244 * src/GrampsDb/_GrampsBSDDB.py: Upgrade to new types.
* src/GrampsDb/_ReadGedcom.py: Adapt to new types.
	* src/RelLib/_Event.py: Properly set type.
	* src/RelLib/_EventRef.py: Properly set type.
	* src/RelLib/_Family.py: Properly set type.
	* src/RelLib/_Name.py: Properly set type.
	* src/RelLib/_Person.py: Properly set type.
	* src/RelLib/_PrimaryObject.py: Properly set type.
	* src/RelLib/_RepoRef.py: Properly set type.
	* src/RelLib/_Repository.py: Properly set type.
	* src/RelLib/_Url.py: Properly set type.


svn: r6386
2006-04-21 00:03:27 +00:00
Brian Matherly
d631037137 Fix space at beginning of paragraph for ODF doc.
svn: r6385
2006-04-20 23:01:35 +00:00
Don Allingham
313c93cd03 fix display of shared info warning box
svn: r6384
2006-04-20 22:32:17 +00:00
Alex Roitman
232e32b2c1 2006-04-20 Alex Roitman <shura@gramps-project.org>
* src/RelLib/_EventRef.py (unserialize): Avoid class constructor.
	* src/RelLib/_Person.py (unserialize): Avoid class constructor.
	* src/RelLib/_Name.py (unserialize): Avoid class constructor.
	* src/RelLib/_Repository.py (unserialize): Avoid class constructor.
	* src/RelLib/_RepoRef.py (unserialize): Avoid class constructor.
	* src/GrampsDb/_WriteXML.py: Update to export new types.



svn: r6382
2006-04-20 18:20:55 +00:00
Alex Roitman
b3c5c9816a Update
svn: r6381
2006-04-20 17:52:05 +00:00
Martin Hawlisch
079d168b4e * src/plugins/ImportGeneWeb.py: Use new type classes; Start of parsing relationships (unfinished)
svn: r6380
2006-04-20 16:26:12 +00:00
Don Allingham
a735bff770 use correct field for building surname key
svn: r6379
2006-04-20 15:05:56 +00:00
Don Allingham
91fd96968e svn: r6377 2006-04-20 03:50:57 +00:00
Don Allingham
2f5aa02120 * src/RelLib/_Family.py: add remove_child_handle
svn: r6376
2006-04-20 03:44:11 +00:00
Don Allingham
bd7b3136e8 2006-04-19 Don Allingham <don@gramps-project.org>
* src/DataViews/_EventView.py: more GrampsTypes changes
	* src/DataViews/_PedigreeView.py: more GrampsTypes changes
	* src/RelLib/_ChildRef.py: more GrampsTypes changes
	* src/RelLib/_Family.py: more GrampsTypes changes
	* src/RelLib/_Repository.py: more GrampsTypes changes
	* src/RelLib/_Event.py: more GrampsTypes changes
	* src/Editors/_EditPerson.py: more GrampsTypes changes
	* src/Editors/_EditEventRef.py: more GrampsTypes changes
	* src/Editors/_EditEvent.py: more GrampsTypes changes
	* src/PeopleModel.py: more GrampsTypes changes
	* src/DisplayTabs.py: more GrampsTypes changes
	* src/GrampsWidgets.py: more GrampsTypes changes
	* src/Utils.py: more GrampsTypes changes
	* src/PageView.py: more GrampsTypes changes



svn: r6373
2006-04-20 03:10:23 +00:00
Alex Roitman
cd5518015b 2006-04-19 Alex Roitman <shura@gramps-project.org>
* src/Utils.py: Remove obsolete code.
	* src/DisplayTabs.py (EventRefModel.column_role): Adapt to new types.
	* src/PeopleModel.py: Adapt to new types.
	* src/plugins/TestcaseGenerator.py: Adapt to new types.
	* src/RelLib/Makefile.am: Ship new files.
	* src/RelLib/_EventRef.py: Adapt to new types.
	* src/RelLib/_PrimaryObject.py: Adapt to new types.
	* src/RelLib/_EventRoleType.py: Add new module.
	* src/RelLib/_RepoRef.py: Adapt to new types.
	* src/RelLib/_MarkerType.py: Add new module.
	* src/RelLib/_Family.py: Adapt to new types.
	* src/RelLib/_Person.py: Adapt to new types.
	* src/RelLib/_SourceMediaType.py: Add new module.
	* src/RelLib/__init__.py: Expose new modules.
	* src/Editors/_EditPerson.py: Use new type.
	* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Adapt to new types.
	* src/GrampsDb/_ConstXML.py: Comment out obsolete code.
	* src/GrampsDb/_ReadXML.py: Adapt to new types.
	* src/GrampsDb/_GrampsDbBase.py (commit_person): Properly use marker.
	* src/GrampsDb/_ReadGedcom.py: Adapt to new types.
	* src/DataViews/_FamilyView.py (write_relationship): Use new type.
	* src/DataViews/_PedigreeView.py (format_relation): Use new type.



svn: r6372
2006-04-20 00:44:44 +00:00
Don Allingham
41a9e9205c GrampsType support for FamilyRelations, Events
svn: r6371
2006-04-19 22:59:33 +00:00
Martin Hawlisch
41b4119796 * src/plugins/TestcaseGenerator.py: Use the new types
svn: r6370
2006-04-19 20:56:46 +00:00
Alex Roitman
90832a683e In .:
* src/RelLib/Makefile.am: Ship new file.
	* src/PluginUtils/_ReportUtils.py: Use fam relations from new module.
	* src/Relationship.py: Use family relations from new module.
	* src/Utils.py: Remove family relations.
	* src/RelLib/__init__.py: Expose new module.
	* src/RelLib/_Family.py: Adapt to new types.
	* src/GrampsDb/_ReadXML.py: Adapt to new types.
	* src/GrampsDb/_ConstXML.py: Remove family relations.
	* src/RelLib/_FamilyRelType.py: Add new class
In po:
2006-04-19  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r6369
2006-04-19 18:27:51 +00:00
Alex Roitman
4944e06cef * src/RelLib/_Event.py: Revert this change.
svn: r6368
2006-04-19 17:54:17 +00:00
Alex Roitman
60d1659c9a 2006-04-19 Alex Roitman <shura@gramps-project.org>
* src/RelLib/_Event.py: Add "personal" attribute to events.



svn: r6367
2006-04-19 17:31:20 +00:00
Alex Roitman
ca5e698290 * data/grampsxml.dtd: Update.
* data/grampsxml.rng: Update.


svn: r6366
2006-04-19 05:14:37 +00:00
Don Allingham
f6d8887f35 * src/Editors/_EditChildRef.py: fix call for MonitoredDataType
svn: r6365
2006-04-19 04:44:20 +00:00
Don Allingham
46cc128ee0 * src/Editors/_EditName.py: fix call for MonitoredDataType
svn: r6364
2006-04-19 04:42:49 +00:00
Don Allingham
40205ec2be 2006-04-18 Don Allingham <don@gramps-project.org>
* src/RelLib/__init__.py: added _EventType
	* src/RelLib/_EventType.py: added
	* src/RelLIb/Makefile.am: added _EventType.py



svn: r6363
2006-04-19 04:41:07 +00:00
Brian Matherly
54957e0a21 Update for RelLib changes
svn: r6361
2006-04-19 04:06:27 +00:00
Don Allingham
b82376fb66 * src/GrampsDb/_ReadXML.py: new types
* src/GrampsDb/_ConstXML.py: new types
	* src/GrampsDb/_WriteXML.py: new types
	* src/Editors/_EditUrl.py: new types
	* src/Editors/_EditPerson.py: new types
	* src/Editors/_EditRepository.py: new types
	* src/Editors/_EditName.py: new types
	* src/Editors/_EditChildRef.py: new types
	* src/RelLib/__init__.py: new types
	* src/RelLib/_Url.py: new types
	* src/RelLib/_RepositoryType.py: new types
	* src/RelLib/_GrampsType.py: new types
	* src/RelLib/_UrlType.py: new types
	* src/RelLib/_Repository.py: new types
	* src/RelLib/_NameType.py: new types
	* src/RelLib/_ChildRefType.py: new types
	* src/DisplayTabs.py: new types
	* src/GrampsWidgets.py: new types
	* src/Utils.py: new types


svn: r6360
2006-04-19 03:57:10 +00:00
Alex Roitman
d55901a3a4 * src/GrampsDb/_ReadXML.py: Parse old and new XML.
* src/GrampsDb/_WriteXML.py (dump_child_ref, dump_person_ref): Add
	methods.
	* src/RelLib/_ChildRef.py (ChildRef.set_mother_relation): Adapt to
	new types;
	(ChildRef.set_father_relation): Adapt to new types.
	* src/RelLib/_GrampsType.py (GrampsType.get_custom): Add method.
	(GrampsType.set): Allow setting from the same class instance.
	(GrampsType.is_default): Add method.


svn: r6358
2006-04-19 02:23:08 +00:00
Don Allingham
01ad261c0a 2006-04-18 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: button messages
	* src/DisplayTabs.py: remove property button stuff



svn: r6357
2006-04-18 23:22:21 +00:00
Alex Roitman
2b8d9ca521 2006-04-18 Alex Roitman <shura@gramps-project.org>
* src/DisplayTabs.py (BackRefList.create_buttons): Allow an
	additional argument to keep the caller happy.



svn: r6356
2006-04-18 22:34:50 +00:00
Don Allingham
0bfac09cef * src/DataViews/_PersonView.py: removal of inversion
* src/GenericFilter.py: Interface changes for filtering


svn: r6355
2006-04-18 22:12:19 +00:00
Don Allingham
6b54577315 * src/Editors/__init__.py: added EditChildRef
* src/Editors/Makefile.am: added EditChildRef
	* src/Editors/_EditChildRef.py: added
	* src/Editors/_EditFamily.py: add child reference editor
	* src/DisplayTabs.py: add optional properties button
	* src/glade/gramps.glade: add child reference editor


svn: r6354
2006-04-18 20:27:53 +00:00
Don Allingham
3c31f1e2ec 2006-04-18 Don Allingham <don@gramps-project.org>
* src/plugins/Desbrowser.py: bring up to speed with ManagedWindow
	* src/GrampsWidgets.py: fix the type return value 



svn: r6353
2006-04-18 19:10:13 +00:00
Don Allingham
3ae608af89 image and screen updates
svn: r6352
2006-04-18 02:09:43 +00:00
Don Allingham
6aa2d3e50f Set author for source on gedcom import
svn: r6351
2006-04-17 22:33:13 +00:00
Brian Matherly
36816a7562 src/plugins/DescendReport.py: Don't sort children (Bug #1453010)
svn: r6350
2006-04-17 04:09:00 +00:00
Don Allingham
0ce28d7339 event description on xml import
svn: r6349
2006-04-16 04:37:02 +00:00
Alex Roitman
49a8a2e62c 2006-04-15 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Adapt to 
	ChildRefType.



svn: r6347
2006-04-15 19:48:12 +00:00
Don Allingham
6fe0f08334 handle child type callback
svn: r6346
2006-04-15 06:24:35 +00:00
Alex Roitman
4a373a8a37 2006-04-14 Alex Roitman <shura@gramps-project.org>
* src/DisplayTabs.py (edit_button_clicked): Proceed only if
	selection exists.



svn: r6345
2006-04-14 22:31:23 +00:00
Don Allingham
c463c8e846 Handle ChildRefType on XML import
svn: r6344
2006-04-14 16:00:46 +00:00
Martin Hawlisch
ec90f9f0e2 typo
svn: r6343
2006-04-14 12:40:07 +00:00
Martin Hawlisch
75e4f7b39b * src/DataViews/_PedigreeView.py: Fix ChildRef, Show person references
* src/Editors/_EditFamily.py: Typo
* src/GrampsDb/_GrampsDbBase.py (get_active_person): Handle case of no active person
* src/plugins/TestcaseGenerator.py: really generate shared events; use new GrampsType; randomize name type
* src/DataViews/_PersonView.py: DnD only for lines of persons; Fix set for python 2.3; fix get_parent_family_handle_list usage



svn: r6342
2006-04-14 12:39:17 +00:00
Don Allingham
e99a795581 Start of new type classes
svn: r6340
2006-04-14 04:36:25 +00:00
Don Allingham
efd56461dd ASSO tag support
svn: r6339
2006-04-13 20:24:19 +00:00
Martin Hawlisch
d03c217524 more ChildRef changes
svn: r6338
2006-04-13 19:44:35 +00:00
Don Allingham
253da2a4a7 Fix family/child refs
svn: r6337
2006-04-13 19:34:07 +00:00
Martin Hawlisch
b2d59995e3 Adapt to changes in RelLib
svn: r6336
2006-04-13 19:29:36 +00:00
Martin Hawlisch
64a54f8de4 Updates to use ChildRef
svn: r6335
2006-04-13 19:20:11 +00:00
Alex Roitman
46ba3c97b5 * src/RelLib/_PersonRef.py (serialize): Typo.
svn: r6334
2006-04-13 18:33:29 +00:00
Don Allingham
62165e4c12 Remove bad tab
svn: r6333
2006-04-13 18:30:17 +00:00
Alex Roitman
a59ef557fa * src/GrampsDb/_GrampsBSDDB.py: Upgrade path to new RelLib.
* src/RelLib/_Family.py: Require non-empty child_ref.


svn: r6332
2006-04-13 18:25:52 +00:00
Alex Roitman
39cf9582f7 Updates
svn: r6330
2006-04-13 17:10:29 +00:00
Don Allingham
f477a3cdf3 Start childref conversion
svn: r6327
2006-04-13 16:16:00 +00:00
Martin Hawlisch
fbd8b4546c * src/RelLib/*: fix different typos.
* src/DataViews/_FamilyView.py: adapt changes in RelLib
	



svn: r6326
2006-04-13 11:21:33 +00:00
Alex Roitman
f0d9aed4c1 * src/NameDisplay.py: Add constants to number name components.
* src/PeopleModel.py: Correct constants.


svn: r6324
2006-04-13 05:26:19 +00:00
Alex Roitman
7a61396025 Add ChildRef class, reorganize RelLib.
svn: r6320
2006-04-13 03:15:22 +00:00
Brian Matherly
0eb3838f92 Add graph preview based on MIME type.
svn: r6319
2006-04-13 03:01:12 +00:00
Alex Roitman
a5a961584b Fix typo
svn: r6318
2006-04-12 16:41:33 +00:00
Alex Roitman
0b4e863e9e * src/RelLib/_PersonRef.py: Add to repository.
* src/RelLib/Makefile.am: Ship new file.
	* src/RelLib/_Person.py: Add person_ref_list to store person-to-
	person references.


svn: r6317
2006-04-12 06:57:14 +00:00
Alex Roitman
984ba66431 * src/GrampsDb/_DbUtils.py (remove_parent_from_family): If removing family, also remove it from the child's parent_family_list.
svn: r6314
2006-04-12 03:06:25 +00:00
Alex Roitman
fa333d489d Update
svn: r6313
2006-04-11 22:28:32 +00:00
Martin Hawlisch
1509ce913f * src/images/mk_blue_marble.py: Provide fallback if jpegtrans does not work/exist.
svn: r6311
2006-04-11 17:04:42 +00:00
Martin Hawlisch
a480bd4ded * src/images/mk_blue_marble.py: Properly exit on error to let make stop in that case.
svn: r6310
2006-04-11 11:31:02 +00:00
Martin Hawlisch
83a6d06277 * src/DataViews/_MapView.py: Reworked to display multiple smaller tiled map images
* src/images/mk_blue_marble.py: Script to create the map tiles out of the nasa blue marble image
* src/images/Makefile.am: Add map tile images and bootstrap them using mk_blue_marble.py



svn: r6307
2006-04-10 21:41:42 +00:00
Don Allingham
a6ccb47a55 Handle active person and Pedigree startup issues
svn: r6306
2006-04-10 20:56:09 +00:00
Alex Roitman
2f67795c39 * src/GrampsDb/_ReadGedcom.py: LDS fixes.
* src/Editors/_EditLdsOrd.py: LDS fixes.
	* src/lds.py: LDS fixes.


svn: r6304
2006-04-10 18:38:13 +00:00
Alex Roitman
edfe00dd54 * src/ArgHandler.py: Get rid of obsolete self.parent.
svn: r6302
2006-04-10 18:17:00 +00:00
Don Allingham
e37110ba5b Fix adding spouse after family exists
svn: r6301
2006-04-10 16:11:03 +00:00
Alex Roitman
82e7835f87 Update
svn: r6300
2006-04-10 05:50:06 +00:00
Alex Roitman
8fc68feaca * src/ViewManager.py (ViewManager.create_pages): Use toggle
buttons on the sidebar.
	(ViewManager.change_page): Turn off previously active button.


svn: r6299
2006-04-10 05:49:20 +00:00
Alex Roitman
3c5912df5f Update
svn: r6298
2006-04-10 05:44:59 +00:00
Brian Matherly
cbcef67f59 Improve graphic alignment in OO reports. (Bug 1370498)
svn: r6297
2006-04-10 04:29:29 +00:00
Alex Roitman
9b3b2fe2e5 (GrampsBSDDB._delete_primary_from_reference_map): Accept txn
argument; pass it on to self._remove_reference().
	* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB._do_remove_object):
	Work out both regular and batch transactions.


svn: r6296
2006-04-10 01:45:36 +00:00
Alex Roitman
dc434a5736 * src/Makefile.am: Clean byte-compiled files.
* src/DataViews/Makefile.am: Clean byte-compiled files.
	* src/GrampsDb/Makefile.am: Clean byte-compiled files.
	* src/Config/Makefile.am: Clean byte-compiled files.
	* src/RelLib/Makefile.am: Clean byte-compiled files.
	* src/Editors/Makefile.am: Clean byte-compiled files.
	* src/plugins/Makefile.am: Clean byte-compiled files.
	* src/ObjectSelector/Makefile.am: Clean byte-compiled files.
	* src/TreeViews/Makefile.am: Clean byte-compiled files.
	* src/Models/Makefile.am: Clean byte-compiled files.
	* src/Mime/Makefile.am: Clean byte-compiled files.
	* src/GrampsLogger/Makefile.am: Clean byte-compiled files.
	* src/PluginUtils/Makefile.am: Clean byte-compiled files.
	* src/docgen/Makefile.am: Clean byte-compiled files.
	* src/DateHandler/Makefile.am: Clean byte-compiled files.


svn: r6295
2006-04-10 01:02:50 +00:00
Don Allingham
fb27b07fc1 Start of migrating tools to Managed Windows
svn: r6294
2006-04-09 22:53:53 +00:00
Don Allingham
4cc621cc56 remove empty families
svn: r6293
2006-04-08 05:56:31 +00:00
Brian Matherly
0d8e481893 * src/docgen/PdfDoc.py: fix columns, error check images
* src/docgen/RTFDoc.py: error check images

svn: r6292
2006-04-08 01:59:33 +00:00
Don Allingham
4b2c5d5136 EditName call in EditPerson
svn: r6289
2006-04-07 20:28:41 +00:00
Don Allingham
d3cefa135e restore attr_edit in glade file
svn: r6286
2006-04-07 04:32:43 +00:00
Don Allingham
54a86db801 select parents from relationship view
svn: r6283
2006-04-07 02:54:33 +00:00
Alex Roitman
57d6df04c9 * various: Revert back to using gettext except for the modules that need context -- those will use TransUtils.sgettext
svn: r6282
2006-04-06 22:02:46 +00:00
Alex Roitman
ecc87ea678 * POTFILES.in: Add new files to the list.
* gramps.pot: regenerate the template.
	* src/Makefile.am (gdir_PYTHON): Add new files to the list.


svn: r6281
2006-04-06 21:51:33 +00:00
Alex Roitman
1d24bc8f13 * src/Editors/_EditLdsOrd.py (EditLdsOrd): Formatting.
* src/GrampsWidgets.py (MonitoredMenu): Factor out commong code.


svn: r6280
2006-04-06 21:28:19 +00:00
Don Allingham
bc96c75e39 remove missing recent files
svn: r6279
2006-04-06 16:50:05 +00:00
Don Allingham
0c0ac91881 default types for events
svn: r6278
2006-04-06 04:10:30 +00:00
Don Allingham
a3f8782e32 add family selector
svn: r6277
2006-04-06 03:35:19 +00:00
Don Allingham
20a55cdaa2 xml import/export with new lds scheme
svn: r6276
2006-04-06 02:34:58 +00:00
Don Allingham
1943138e42 gedcom import/export with new lds scheme
svn: r6275
2006-04-06 01:42:14 +00:00
Don Allingham
ac9501eed4 Fix place selecton on LDS ords
svn: r6273
2006-04-05 21:30:27 +00:00
Don Allingham
a817cb4a3d handle temple not set for LdsOrd
svn: r6272
2006-04-05 18:48:45 +00:00
Don Allingham
5c13395626 fix lds unserialize
svn: r6271
2006-04-05 17:15:44 +00:00
Brian Matherly
ed211a6aab Fix image handling problems for reports.
svn: r6269
2006-04-05 04:41:56 +00:00
Don Allingham
050c4e3f08 lds status type to a constant
svn: r6268
2006-04-05 04:16:16 +00:00
Alex Roitman
6e9bf848a2 Update
svn: r6263
2006-04-04 21:50:11 +00:00
Don Allingham
f3af587b75 Start of better LDS support
svn: r6261
2006-04-04 18:07:23 +00:00
Martin Hawlisch
82e6106da0 * src/plugins/TestcaseGenerator.py: Fix lds ord; Add new option to put a linebreak into each textfield
svn: r6260
2006-04-04 15:28:43 +00:00
Brian Matherly
d52f881814 minor report improvements
svn: r6259
2006-04-04 04:14:51 +00:00
Don Allingham
74d20665d7 place autocompletion
svn: r6257
2006-04-02 18:35:12 +00:00
Brian Matherly
cca50ad870 src/plugins/FamilyGroup.py: various fixes, add Marriage info
svn: r6256
2006-04-02 05:35:25 +00:00
Don Allingham
ae2486081d dbstate.active fixes
svn: r6255
2006-04-02 04:15:11 +00:00
Brian Matherly
9653c3e6de Narrative Web Page should work now
svn: r6254
2006-04-01 17:38:34 +00:00
Martin Hawlisch
206c8d5e1e * src/DisplayTabs.py (EventEmbedList.edit_button_clicked): Fix params of EditEventRef call
svn: r6253
2006-04-01 13:05:27 +00:00
Martin Hawlisch
08f0192af4 * src/DataViews/_PedigreeView.py: Work around the bug of dbstate.active not being updated when the active person was edited.
svn: r6251
2006-04-01 12:31:04 +00:00
Don Allingham
96c6a2b9b3 ManagedWindow
svn: r6249
2006-04-01 03:59:42 +00:00
Don Allingham
371c34ef1b remember custom attributes/events
svn: r6248
2006-03-31 23:46:34 +00:00
Don Allingham
6541f59986 restore lds baptism status values
svn: r6244
2006-03-31 20:01:46 +00:00