Commit Graph

3898 Commits

Author SHA1 Message Date
Alex Roitman
bb39c0c19d * src/glade/gramps.glade: typo.
svn: r6563
2006-05-06 05:25:12 +00:00
Alex Roitman
d78ef15ade * src/Editors/_EditSourceRef.py (_create_tabbed_pages): Add data
and repository tabs.


svn: r6562
2006-05-06 05:20:19 +00:00
Don Allingham
0594736fe0 * src/DisplayTabs/_BackRefList.py: handle edit of events
* src/DisplayTabs/_NoteTab.py: stock_notes icon
	* src/DisplayTabs/_GrampsTab.py: handle named icons
	* src/glade/gramps.glade: hide date edit by default


svn: r6561
2006-05-06 05:12:33 +00:00
Alex Roitman
474df15920 2006-05-05 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py (undo, redo): Add repository map
	to the tuple of tables.



svn: r6560
2006-05-06 04:48:30 +00:00
Don Allingham
8465a7f580 * src/DateEdit.py: ManagedWindow
* src/Editors/_EditAddress.py: new DateEdit interface
	* src/Editors/_EditLdsOrd.py: new DateEdit interface
	* src/Editors/_EditSourceRef.py: new DateEdit interface
	* src/Editors/_EditEventRef.py: new DateEdit interface
	* src/Editors/_EditMedia.py: new DateEdit interface
	* src/Editors/_EditName.py: new DateEdit interface
	* src/Editors/_EditEvent.py: new DateEdit interface
	* src/GrampsWidgets.py: new DateEdit interface


svn: r6559
2006-05-06 03:14:13 +00:00
Don Allingham
62dfbcee3b 2006-05-05 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: import ChildModel



svn: r6558
2006-05-06 02:35:47 +00:00
Alex Roitman
404cf87c93 In .:
2006-05-05  Alex Roitman  <shura@gramps-project.org>
	* src/UndoHistory.py: Add new file.
	* src/ViewManager.py: undo history support.
	* src/GrampsDb/_GrampsDbBase.py (Transaction.__init__): Add
	timestamp to the transaction.
	(GrampsDbBase.redo): Update undo history window.
	(GrampsDbBase.undo): Update undo history window.
	(GrampsDbBase.transaction_commit): Update undo history window.
	(GrampsDbBase.transaction_commit): Set transaction timestamp.
	(GrampsDbBase.__init__): Define undo_history_callback.
	* src/Makefile.am (gdir_PYTHON): Ship new file.

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



svn: r6557
2006-05-05 21:55:01 +00:00
Alex Roitman
43bc6b3e8c * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Add nickname
upgrade.


svn: r6556
2006-05-05 21:25:48 +00:00
Don Allingham
e6b7375948 nickname/call name changes
svn: r6555
2006-05-05 21:16:24 +00:00
Alex Roitman
4bc8483916 2006-05-05 Alex Roitman <shura@gramps-project.org>
* src/DisplayTabs/_MediaBackRefList.py: Import model.



svn: r6554
2006-05-05 17:47:52 +00:00
Don Allingham
6cead5c76b add undo history menu item
svn: r6553
2006-05-05 17:37:38 +00:00
Alex Roitman
5d188b9b90 svn: r6552 2006-05-05 14:17:17 +00:00
Don Allingham
9447558f99 * src/glade/gramps.glade: add call name field, add id fields
* src/glade/edit_person.glade: add call name field
	* src/DataViews/_PersonView.py: start of filter sidebar,
	use hbox instead of hpaned
	* src/Editors/_EditPlace.py: add ID field
	* src/Editors/_EditSource.py: add ID field
	* src/Editors/_EditEventRef.py: add ID field
	* src/Editors/_EditEvent.py: add ID field


svn: r6551
2006-05-05 13:25:24 +00:00
Jérôme Rapinat
c2f74558e3 update fr.po
svn: r6550
2006-05-05 10:19:43 +00:00
Alex Roitman
84b2275799 In .:
* src/Makefile.am (gdir_PYTHON): Remove DisplayTabs.py.
	* src/plugins/Makefile.am (pkgdata_PYTHON): Ship rel_sk.py.

In po:
	Update.
	* gramps.pot: Update.


svn: r6549
2006-05-05 06:06:10 +00:00
Alex Roitman
055dc58dbd Update
svn: r6548
2006-05-05 05:36:47 +00:00
Alex Roitman
f6c27f7552 * src/Filters/Rules/Makefile.am (pkgdata_PYTHON): Add mising files.
svn: r6547
2006-05-05 00:42:17 +00:00
Alex Roitman
4266dd4ec0 In .:
2006-05-04  Alex Roitman  <shura@gramps-project.org>
	* src/DisplayTabs.py: remove file.
	* src/DisplayTabs: Add package.

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



svn: r6546
2006-05-05 00:39:11 +00:00
Don Allingham
d8efc63cb8 2006-05-04 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: start of filter sidebar



svn: r6545
2006-05-04 23:48:53 +00:00
Alex Roitman
e5089fa799 (DataEmbedList): Hook up data map for sources.
svn: r6544
2006-05-04 20:45:07 +00:00
Alex Roitman
49b9de1063 2006-05-04 Alex Roitman <shura@gramps-project.org>
* src/SelectObject.py: Convert to managed window.
	* src/SelectEvent.py: Convert to managed window.
	* src/SelectSource.py: Convert to managed window.
	* src/DisplayTabs.py: Properly call selectors.



svn: r6543
2006-05-04 18:30:36 +00:00
Alex Roitman
9e8b7ad996 * src/DisplayTabs.py (NoteTab.build_interface): Add spacing to
radiobuttons.


svn: r6542
2006-05-04 04:53:55 +00:00
Alex Roitman
2fbe259fd5 2006-05-03 Alex Roitman <shura@gramps-project.org>
* src/plugins/ReorderIds.py (ReorderIds.reorder): Switch from
	cursors to keys iteration.



svn: r6541
2006-05-04 04:05:57 +00:00
Alex Roitman
4ea2ca6a28 * src/PluginUtils/_Tool.py (BatchTool): Add class taking care of
tools with batch transactions.
	(ActivePersonTool.pass): Remove method.
	* src/plugins/Check.py (Check): Derive from BatchTool.
	* src/plugins/ReorderIds.py (ReorderIds): Use batch transactions;
	derive from BatchTool.
	* src/plugins/ChangeTypes.py (ChangeTypes): Use batch
	transactions; derive from BatchTool. 
	* src/plugins/ChangeNames.py (ChangeNames): Derive from BatchTool.
	* src/plugins/PatchNames.py (PatchNames): Use batch transactions;
	derive from BatchTool.
	* src/glade/gramps.glade: Make both buttons' lables in
	questiondialog use underline property.
	(ViewManager.import_data): Add undo warning for imports.


svn: r6540
2006-05-04 02:05:50 +00:00
Don Allingham
23b7ec08d6 2006-05-03 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: do a better job of building the buttons.



svn: r6539
2006-05-04 01:33:37 +00:00
Alex Roitman
83d5625566 svn: r6538 2006-05-04 00:38:25 +00:00
Alex Roitman
896142ea23 (GrampsDbBase.transaction_begin): No aborting after batch transaction.
(GrampsBSDDB.transaction_begin): No aborting after batch transaction.


svn: r6537
2006-05-03 23:36:10 +00:00
Alex Roitman
a8b358725d * src/GrampsDb/_GrampsInMemDB.py (abort_changes): Remove method.
* src/GrampsDb/_GrampsDbBase.py (abort_changes): Remove method.
	* src/GrampsDb/_GrampsBSDDB.py (undo,redo): Use the status from
	GrampsDbBase undo/redo;
	(abort_changes): Remove method.
	* src/ViewManager.py (abort): Add method for abandoning changes.



svn: r6536
2006-05-03 23:21:49 +00:00
Alex Roitman
d7063762a6 2006-05-03 Alex Roitman <shura@gramps-project.org>
* configure.in: Set release to 0.SVN.
	* src/DataViews/_PersonView.py (define_actions): Change label.



svn: r6535
2006-05-03 22:43:28 +00:00
Don Allingham
cfcd1e4b62 sidebar-text option
svn: r6534
2006-05-03 22:21:59 +00:00
Don Allingham
15c3aee386 update RelView with db changes
svn: r6533
2006-05-03 18:33:31 +00:00
Don Allingham
3c29580307 Move ColumnEdit to local
svn: r6532
2006-05-03 17:39:06 +00:00
Alex Roitman
134a778b05 2006-05-03 Alex Roitman <shura@gramps-project.org>
* src/Editors/_EditPlace.py (_setup_fields): Typo.



svn: r6531
2006-05-03 16:59:22 +00:00
Alex Roitman
696afdffa0 svn: r6530 2006-05-03 06:40:02 +00:00
Alex Roitman
e5dffce271 * src/Filters/Rules/*: Add object-specific rules.
svn: r6529
2006-05-03 06:29:07 +00:00
Alex Roitman
2b5ee009d0 Update
svn: r6528
2006-05-03 06:25:50 +00:00
Alex Roitman
64768bb556 * src/GrampsWidgets.py (WarnButton): Replace event box with button.
svn: r6527
2006-05-03 03:03:41 +00:00
Alex Roitman
a20a57de81 * src/GrampsWidgets.py (IconButton): Replace event box with button.
svn: r6526
2006-05-03 02:33:29 +00:00
Alex Roitman
e7bb10b27c Update
svn: r6524
2006-05-03 01:08:53 +00:00
Alex Roitman
8d04ee5f96 Update
svn: r6523
2006-05-03 01:07:38 +00:00
Alex Roitman
bec8625957 In .:
* configure.in: Generate new Makefiles.
In po:
2006-05-02  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r6522
2006-05-03 01:05:46 +00:00
Alex Roitman
daedc4961b * src/GenericFilters.py: Remove.
* src/Filters: Move filtering to its own package.
	


svn: r6521
2006-05-03 01:02:54 +00:00
Don Allingham
34b9d39076 2006-05-02 Don Allingham <don@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: add family-warn back in
	* data/gramps.schemas.in: add family-warn back in
	


svn: r6520
2006-05-02 19:13:05 +00:00
Alex Roitman
77f43f971e * src/RelLib/_BaseObject.py (PrivacyBase): Remove class, as it
already has its own module.


svn: r6519
2006-05-02 19:06:27 +00:00
Alex Roitman
3e4ec76b0a * src/AutoComp.py (StandardCustomSelector.fill): Adapt to new types.
svn: r6518
2006-05-02 17:32:54 +00:00
Alex Roitman
968b2dc4ba * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Add broken witness note.
svn: r6517
2006-05-02 15:19:25 +00:00
Jérôme Rapinat
c23ea88a90 update fr.po
svn: r6516
2006-05-02 13:59:12 +00:00
Jérôme Rapinat
a8cea23ca1 update fr.po
svn: r6515
2006-05-02 11:26:21 +00:00
Alex Roitman
a3554a8706 Update
svn: r6514
2006-05-02 05:54:26 +00:00
Alex Roitman
86762728be * 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
62d2e97e15 * src/plugins/rel_sk.py: Typo.
svn: r6512
2006-05-02 05:07:47 +00:00
Alex Roitman
0275896e11 * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Skip broken witness.
svn: r6511
2006-05-02 04:20:40 +00:00
Don Allingham
cacb294975 * 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
cd700b9019 Update
svn: r6509
2006-05-02 00:39:05 +00:00
Alex Roitman
a1a24ccefb Update
svn: r6508
2006-05-02 00:18:10 +00:00
Alex Roitman
3b3197d702 * 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
41761b960d fix selectperson call
svn: r6506
2006-05-01 22:14:26 +00:00
Don Allingham
0ff454d71a expand/collapse all nodes in Person View
svn: r6505
2006-05-01 21:28:31 +00:00
Alex Roitman
f9942e1e10 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
45ebde94e6 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
097aef7956 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
2945365fe8 * 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
fd356770ce 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
6d8c37f381 * 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
cd3e17ba9f 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
Don Allingham
546859418b svn: r6497 2006-04-30 01:25:56 +00:00
Brian Matherly
503405f167 * src/plugins/CountAncestors.py: Add percent of theoretical ancestors
svn: r6496
2006-04-29 23:17:58 +00:00
Brian Matherly
139bfe5b1e Fix style editor color picker (Bug #0000065)
svn: r6495
2006-04-29 15:44:44 +00:00
Don Allingham
0c2e17e0d2 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
95a8b121a6 Add ODSDoc.py and use it in EventCmp.py
svn: r6493
2006-04-28 23:47:19 +00:00
Don Allingham
147fec220a * src/DataViews/_MediaView.py (MediaView.add): Fix call to AddMedia
svn: r6492
2006-04-28 23:13:15 +00:00
Don Allingham
835154caba * 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
892a08232f svn: r6490 2006-04-28 22:42:07 +00:00
Don Allingham
8867cbeacc 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
6eb42a3d5b Update
svn: r6488
2006-04-28 19:24:19 +00:00
Alex Roitman
e6d75bd914 Update
svn: r6487
2006-04-28 19:21:31 +00:00
Alex Roitman
2d17423e25 (ViewManager._init_lists): Translate menu labels.
svn: r6486
2006-04-28 17:02:53 +00:00
Alex Roitman
04448c2de3 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
Don Allingham
edaf5fd8ae svn: r6484 2006-04-28 15:05:43 +00:00
Alex Roitman
4bb9dd4f71 Update
svn: r6483
2006-04-28 04:55:08 +00:00
Alex Roitman
05351200c0 Update
svn: r6482
2006-04-28 04:51:44 +00:00
Alex Roitman
1e88f042b8 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
e34ae58466 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
03d261d10c * src/docgen/OpenSpreadSheet.py: fix manifest so files open in calc
svn: r6479
2006-04-28 01:17:33 +00:00
Don Allingham
81f6548c5c 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
Alex Roitman
5f7cf6a91a 2006-04-27 Alex Roitman <shura@gramps-project.org>
* pt_BR.po: Convert to utf8 encoding.
	* zh_CN.po: Convert to utf8 encoding.
	* pl.po: Convert to utf8 encoding.
	* no.po: Convert to utf8 encoding.
	* it.po: Convert to utf8 encoding.
	* sk.po: Convert to utf8 encoding.
	* da.po: Convert to utf8 encoding.
	* nb.po: Convert to utf8 encoding.



svn: r6477
2006-04-28 00:32:34 +00:00
Don Allingham
4f50bc6922 * 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
abfb1ec422 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
e8b97cb8da svn: r6474 2006-04-27 21:18:59 +00:00
Alex Roitman
b321b4a6c9 Update
svn: r6473
2006-04-27 21:13:50 +00:00
Don Allingham
296611251b * 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
951ac300ef * src/TipOfDay.py (TipOfDay.__init__): switch to ManagedWindow
svn: r6471
2006-04-27 20:36:32 +00:00
Don Allingham
0a12053f59 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
7bd6984dcc * src/plugins/CmdRef.py: Fix tool.
svn: r6469
2006-04-27 19:35:43 +00:00
Alex Roitman
0f6e4ff82a 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
2ccd918953 * src/DisplayModels.py: flush cache on row update
svn: r6467
2006-04-27 18:31:41 +00:00
Jérôme Rapinat
07a81d3bd6 update fr.po
svn: r6466
2006-04-27 17:32:17 +00:00
Don Allingham
f4a15e1b15 * src/DisplayTabs.py: check of event==None when determining default type
svn: r6465
2006-04-27 17:20:19 +00:00
Don Allingham
2713516e97 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
8ca6f4ab30 svn: r6463 2006-04-27 03:59:47 +00:00
Alex Roitman
f2cfa32f3b * src/plugins/PatchNames.py (PatchNames.on_ok_clicked): Properly
call update.


svn: r6462
2006-04-27 03:38:30 +00:00
Alex Roitman
9622d539f2 * 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
bb1ec48897 * src/plugins/Checkpoint.py: Fix wm.
svn: r6460
2006-04-27 02:04:05 +00:00
Alex Roitman
583c18fc16 * 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
f4f370c63c * src/GrampsLogger/_ErrorReportAssistant.py
(ErrorReportAssistant._get_sys_information): Add LANG to report.



svn: r6458
2006-04-27 01:40:32 +00:00
Alex Roitman
2c49ec5d56 * 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
b695db42c4 * 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
0d35757371 connect goto_handle function for bookmark callback
svn: r6455
2006-04-26 22:43:59 +00:00
Alex Roitman
5522b9a112 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
cda7469626 force uimanager updates
svn: r6453
2006-04-26 22:15:22 +00:00
Don Allingham
d9515abc30 multiple bookmark lists
svn: r6452
2006-04-26 21:48:13 +00:00
Martin Hawlisch
a8bc2ebc47 * src/DataViews/_MapView.py: First badly hacked version of online map downloading.
svn: r6451
2006-04-26 20:15:10 +00:00
Alex Roitman
982105bc5d * 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
4340fa7bd7 * 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
15d24114c0 update
svn: r6448
2006-04-26 05:04:11 +00:00
Alex Roitman
bcf38601b5 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
50ec018a36 * src/Bookmarks.py: Don't use goto submenu
svn: r6446
2006-04-26 04:24:54 +00:00
Don Allingham
839d4f4a6b * 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
d2c2a5d13b * src/GrampsCfg/py: move and rename tabs, change Prefixes for Formats
svn: r6444
2006-04-26 03:46:33 +00:00
Don Allingham
be93dc3abf * src/GrampsCfg/py: move and rename tabs
svn: r6443
2006-04-26 02:46:09 +00:00
Don Allingham
fdada9fe16 * src/ViewManager.py: new config changes, handle exception
svn: r6442
2006-04-26 02:14:37 +00:00
Alex Roitman
ad80306897 Update
svn: r6441
2006-04-26 02:12:59 +00:00
Don Allingham
d1ceee1503 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
Don Allingham
ac2bd8892f svn: r6439 2006-04-26 01:44:03 +00:00
Alex Roitman
fb5b4aaa91 * src/plugins/Desbrowser.py: Window Management fixes.
svn: r6438
2006-04-25 22:29:46 +00:00
Alex Roitman
7b35c41965 * src/plugins/Desbrowser.py: Window Management fixes.
svn: r6437
2006-04-25 22:29:03 +00:00
Alex Roitman
46db6643cc * 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
05b7e26cf7 * 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
ffb8a386c2 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
dff0fc3e95 make manual work in Windows
svn: r6433
2006-04-25 04:10:32 +00:00
Don Allingham
faf6d52a06 * src/GrampsDb/_GrampsBSDDB.py: handle data_map during
reload of the database


svn: r6432
2006-04-25 02:55:41 +00:00
Don Allingham
8cce2aa0e8 fix typo
svn: r6431
2006-04-24 21:46:54 +00:00
Don Allingham
9cf0553fda fix typo
svn: r6430
2006-04-24 21:22:34 +00:00
Don Allingham
9f04f55701 Config method changed
svn: r6429
2006-04-24 21:04:01 +00:00
Don Allingham
58a772e451 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
34755c4ebb Update
svn: r6427
2006-04-23 22:52:23 +00:00
Alex Roitman
ccb0ce6fe1 Update
svn: r6426
2006-04-23 22:43:36 +00:00
Alex Roitman
25949b819e 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
2895926a1d * 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
af404006c9 * src/ColumnOrder.py: preserved column width
svn: r6423
2006-04-23 21:58:17 +00:00
Alex Roitman
4dfb3d1608 * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Delete column
metadata.


svn: r6422
2006-04-23 21:32:11 +00:00
Don Allingham
3bce7bb1cc 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
0f1dd36ca3 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
2b574eacfc typo
svn: r6419
2006-04-23 04:41:30 +00:00
Don Allingham
291173dc52 * 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
acde4393f8 Keep reports up with RelLib changes
svn: r6417
2006-04-23 02:58:53 +00:00
Don Allingham
cc1a0275e9 * 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
5b35a24272 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
6651f17ace misc reports: keep up with RelLib changes
svn: r6414
2006-04-22 06:56:48 +00:00
Alex Roitman
6f6d2f5ad2 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
527d01a583 * 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
a0f9a7c5eb * 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
9a50249f14 * src/plugins/Desbrowser.py: check for active person
svn: r6410
2006-04-22 04:04:02 +00:00
Don Allingham
6fbe1c9e70 pychecker fixes
svn: r6409
2006-04-22 04:00:58 +00:00
Don Allingham
0158575672 close button fixes
svn: r6408
2006-04-22 03:31:29 +00:00
Don Allingham
d894db5ce8 pychecker fixes
svn: r6407
2006-04-22 03:23:57 +00:00
Alex Roitman
33decd724d svn: r6406 2006-04-21 23:32:22 +00:00
Don Allingham
0b35225daa fix typos on XML import
svn: r6405
2006-04-21 22:24:54 +00:00
Don Allingham
28a48093ee Fix typo
svn: r6404
2006-04-21 20:51:45 +00:00
Don Allingham
8edee66a28 Fix warnboxes
svn: r6403
2006-04-21 20:45:10 +00:00
Don Allingham
7b76ddc625 Remove get_child_handle_list call
svn: r6402
2006-04-21 20:39:30 +00:00
Don Allingham
280606f458 Fix warnboxes
svn: r6401
2006-04-21 20:34:26 +00:00
Alex Roitman
335eb157fe Set properties.
svn: r6400
2006-04-21 20:13:13 +00:00
Alex Roitman
c4ff682acd 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
dfafb7a537 * 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
52ead8b15d * src/RelLib/_GrampsType.py (set_from_xml_str): Remove extra def.
svn: r6397
2006-04-21 19:59:16 +00:00
Don Allingham
2fda127d99 Fix warnboxes
svn: r6396
2006-04-21 19:56:16 +00:00
Alex Roitman
409b235eab 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
Alex Roitman
c439e76095 Update
svn: r6394
2006-04-21 19:11:36 +00:00
Alex Roitman
1b3b485a09 Update
svn: r6393
2006-04-21 19:04:00 +00:00
Don Allingham
e9f2d922f7 Attribute Types
svn: r6392
2006-04-21 18:15:23 +00:00
Don Allingham
7494dbe642 updated PluginStatus dialog
svn: r6391
2006-04-21 17:11:54 +00:00
Don Allingham
8243bb1079 updated PluginStatus dialog
svn: r6390
2006-04-21 17:08:34 +00:00
Don Allingham
e6d9cb2bf1 * 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
f7c6a19c53 * src/Editors/_EditFamily.py: Handle marker type in UI
svn: r6388
2006-04-21 02:59:15 +00:00
Don Allingham
6ed8949106 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
dce92d31a3 * 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
e2ee414615 Fix space at beginning of paragraph for ODF doc.
svn: r6385
2006-04-20 23:01:35 +00:00
Don Allingham
6fe203dfe2 fix display of shared info warning box
svn: r6384
2006-04-20 22:32:17 +00:00
Alex Roitman
5b5cc6f6c7 Add keyword expansion
svn: r6383
2006-04-20 18:30:28 +00:00
Alex Roitman
d505dee76a 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
bc6bdddf90 Update
svn: r6381
2006-04-20 17:52:05 +00:00
Martin Hawlisch
d64cbdc51d * 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
dc11b217dd use correct field for building surname key
svn: r6379
2006-04-20 15:05:56 +00:00
Alex Roitman
aee92da466 svn: r6378 2006-04-20 04:59:04 +00:00
Don Allingham
be545e2432 svn: r6377 2006-04-20 03:50:57 +00:00
Don Allingham
1d9dc8bda6 * src/RelLib/_Family.py: add remove_child_handle
svn: r6376
2006-04-20 03:44:11 +00:00
Don Allingham
f0fce6ae25 type changes
svn: r6375
2006-04-20 03:34:07 +00:00
Don Allingham
4b013db0bc Add missing file
svn: r6374
2006-04-20 03:23:12 +00:00
Don Allingham
4f1010bc65 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
a3a37a1712 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
86caffe6bd GrampsType support for FamilyRelations, Events
svn: r6371
2006-04-19 22:59:33 +00:00
Martin Hawlisch
ea3f1d727a * src/plugins/TestcaseGenerator.py: Use the new types
svn: r6370
2006-04-19 20:56:46 +00:00
Alex Roitman
38ea0a393b 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
7d39f17460 * src/RelLib/_Event.py: Revert this change.
svn: r6368
2006-04-19 17:54:17 +00:00
Alex Roitman
4aee2a9898 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
65d8a8e894 * data/grampsxml.dtd: Update.
* data/grampsxml.rng: Update.


svn: r6366
2006-04-19 05:14:37 +00:00
Don Allingham
506da3841b * src/Editors/_EditChildRef.py: fix call for MonitoredDataType
svn: r6365
2006-04-19 04:44:20 +00:00
Don Allingham
70368d4464 * src/Editors/_EditName.py: fix call for MonitoredDataType
svn: r6364
2006-04-19 04:42:49 +00:00
Don Allingham
a59f61a377 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