Commit Graph

640 Commits

Author SHA1 Message Date
Alex Roitman
9f905eef5f * src/Plugins.py: Register book items with options and style instead
of the functions get_options and get_style.
* src/plugins/BookReport.py, src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py: Change from functions to values,
accordingly. Also switch to a proper use of dialog.run().


svn: r1678
2003-06-09 22:39:56 +00:00
Don Allingham
4d0aaa727a * src/TextDoc.py: Added name property to style sheets
* src/StyleEditor.py: Add name property to edited style sheets
* src/RelLib.py: Fix for witness event under ZODB
* src/docgen/OpenDrawDoc.py: change name to OpenOffice.org
* src/docgen/OpenOfficeDoc.py: change name to OpenOffice.org


svn: r1677
2003-06-09 18:04:04 +00:00
Alex Roitman
76262483e2 * src/plugins/BookReport.py, src/plugins/FtmStyleDescendants.py:
Minor fixes.
* src/plugins/book.glade: Add Open and Save buttons.
* src/plugins/FtmStyleAncestors.py: Enable book item functionality.


svn: r1676
2003-06-09 00:07:31 +00:00
Alex Roitman
ea68bc176b Update
svn: r1675
2003-06-08 20:32:34 +00:00
Alex Roitman
159761a91a * src/Report.py: De-uglify center_person frame.
* src/plugins/BookReport.py: Add a center person column to a book
* src/plugins/FtmStyleDescendants.py: Get the style right.


svn: r1674
2003-06-08 20:32:17 +00:00
Alex Roitman
ebf28a332a * src/Report.py, src/plugins/BookReport.py,
src/plugins/FtmStyleDescendants.py: Fix changing center person -- only
remember change if OK was clicked.


svn: r1673
2003-06-08 06:19:54 +00:00
Alex Roitman
c602a53503 Update
svn: r1672
2003-06-08 06:17:02 +00:00
Alex Roitman
0df227aac6 * src/Report.py: Clean up the split into BareReportDialog and
ReportDialog classes.
* src/Plugins.py: Enable book item registration.
* src/plugins/BookReport.py: lots of changes -- trying to get it work.
* src/plugins/FtmStyleDescendants.py: book item functionality.


svn: r1671
2003-06-07 23:38:13 +00:00
Don Allingham
9f6ac2d474 update
svn: r1670
2003-06-07 16:49:08 +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
782ee8b993 update
svn: r1668
2003-06-07 16:30:59 +00:00
Don Allingham
0d591399ff * src/FamilyView.py: Call marriage editor with callback to update
the family view
* src/Marriage.py: Call the family view callback after saving to update
the display with changed marriage information


svn: r1667
2003-06-07 16:30:44 +00:00
Don Allingham
ec43f755f9 Update
svn: r1666
2003-06-07 15:39:18 +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
e6ca408c2d Update
svn: r1664
2003-06-07 14:14:39 +00:00
Don Allingham
6bbbf046d1 * src/ImageSelect.py
Fixed typo in on_drag_begin

* src/RelLib.py
Check for the existance of the witness member of an Event. ZODB
stores an object, so elements read in from old databases may not
have the element, which can cause a traceback.


* src/AutoComp.py
Don't build popdown lists if the number of elements exceeds 250.
Otherwise, the menus will become unusable, and just consume
tons of memory.

* src/VersionControl.py
Sort revision numbers based on numerical value instead of ASCII value.
* src/VersionControl.py
Check return values of all subprocesses


svn: r1663
2003-06-07 14:11:52 +00:00
Don Allingham
d160f97666 * src/AutoComp.py
Don't build popdown lists if the number of elements exceeds 250.
Otherwise, the menus will become unusable, and just consume
tons of memory.

* src/VersionControl.py
Sort revision numbers based on numerical value instead of ASCII value.
* src/VersionControl.py
Check return values of all subprocesses


svn: r1662
2003-06-07 03:02:42 +00:00
Laurent Protois
3c4d04fdb3 New for CVS
svn: r1661
2003-06-05 09:29:27 +00:00
Don Allingham
8b7a9808e8 Fixed file handling of subprocesses
svn: r1660
2003-06-05 03:33:44 +00:00
Don Allingham
93dbf1f130 * src/VersionControl.py
Sort revision numbers based on numerical value instead of ASCII value.
* src/VersionControl.py
Check return values of all subprocesses


svn: r1659
2003-06-05 03:04:17 +00:00
Alex Roitman
9475e61b50 Update
svn: r1657
2003-06-04 05:12:21 +00:00
Alex Roitman
73a1e8033f * src/Report.py: Split ReportDialog into BareReportDialog and
its subclass of ReportDialog. BareReportDialog has nothing to do with
the paper, format, filename, etc.
* src/plugins/BookReport.py: Make ReportOptionsDialog a sublcass of
Report.BareReportDialog.


svn: r1656
2003-06-04 05:12:08 +00:00
Alex Roitman
14786ebe3a Update
svn: r1655
2003-06-03 22:31:02 +00:00
Alex Roitman
edddb88a6b * src/plugins/summary.glade, src/plugins/desbrowse.glade:
Removed unnecessary buttonbox in the action area of a dialog -- this
gets rid of annoying GTK warnings.


svn: r1654
2003-06-03 22:30:49 +00:00
Alex Roitman
51ccc1b0c0 Update
svn: r1653
2003-06-03 21:18:34 +00:00
Alex Roitman
8edebcad36 * src/ReadXML.py (import_data), src/WriteXML.py (export_data),
src/RelImage.py (import_media_object), src/gramps_main.py
(open_example), src/plugins/Check.py (cleanup_missing_photos),
src/plugins/WebPage.py (write_gallery):
Change shutil.copy() calls to first call shutil.copyfile() and then try
setting up bits.


svn: r1652
2003-06-03 21:18:23 +00:00
Alex Roitman
4b3fc4a2b4 Update
svn: r1651
2003-06-03 20:08:19 +00:00
Alex Roitman
fd8aef72da * src/Plugins.py (on_apply_clicked): Do not destroy dialog window.
(on_ok_clicked): Added. Destory the dialog and do on_apply_clicked().
* src/plugins.glade: Added tooltips to Apply and OK buttons.

* src/plugins/FtmStyleAncestor.py (apply_filter):
Fixed generation condition.
* src/plugins/FtmStyleDescendants.py (write_report):
Do not print children if the current generation is the last.
* src/plugins/DetDescendantReport.py (filter):
Make it apply_filter, clean up and make shorter, modify numbering
algorithm so that no gaps occur in people's indices.


svn: r1650
2003-06-03 20:07:18 +00:00
Alex Roitman
bb645d13aa * src/plugins/FtmStyleAncestor.py (apply_filter):
Fixed generation condition.
* src/plugins/FtmStyleDescendants.py (write_report):
Do not print children if the current generation is the last.
* src/plugins/DetDescendantReport.py (filter):
Make it apply_filter, clean up and make shorter, modify numbering
algorithm so that no gaps occur in people's indices.


svn: r1649
2003-06-03 19:48:33 +00:00
Don Allingham
b7aa0d3152 *** empty log message ***
svn: r1648
2003-06-03 19:44:00 +00:00
Don Allingham
7cd433b1b9 Fixed version control interface so that the underlying code does not expect
a CList.


svn: r1647
2003-06-03 19:19:31 +00:00
Alex Roitman
f0d5d03371 Update
svn: r1646
2003-06-03 16:13:13 +00:00
Alex Roitman
62f005e425 * src/plugins/FtmStyleAncestor.py (print_more_about,print_notes):
Change to regular name instead of formal name.
* src/plugins/FtmStyleDescendants.py (print_more_about):
Likewise.
* src/plugins/FtmStyleDescendants.py (print_children):
Table name includes only family id.


svn: r1645
2003-06-03 16:13:05 +00:00
Alex Roitman
221ebae58e Update
svn: r1644
2003-06-03 15:36:19 +00:00
Don Allingham
5d2f999431 Fixed spouse selection when family changes
svn: r1643
2003-06-03 02:54:56 +00:00
Alex Roitman
21cabaac33 Update
svn: r1642
2003-06-02 22:47:25 +00:00
Alex Roitman
62d8aa6ee6 * src/DetAncestralReport.py (write_death): Proper checks for valid day
* src/DetDescendantReport.py (write_death): Likewise.


svn: r1641
2003-06-02 22:46:58 +00:00
Alex Roitman
ea03a043d6 Update
svn: r1640
2003-06-02 22:44:15 +00:00
Alex Roitman
78c44ac448 * src/FamilyView.py (load_family): Select the first spouse in the list.
svn: r1639
2003-06-02 22:43:43 +00:00
Alex Roitman
c544422cb6 Update
svn: r1638
2003-06-02 19:56:48 +00:00
Alex Roitman
5c880ed82f * src/plugins/FtmStyleDescendants.py (print_children):
End children's table only if it was started.


svn: r1637
2003-06-02 19:55:53 +00:00
Alex Roitman
f31d85559a Typo
svn: r1636
2003-06-02 18:50:11 +00:00
Alex Roitman
e58ba3a4b0 Update
svn: r1635
2003-06-02 18:45:02 +00:00
Alex Roitman
6766d5ad7b * src/plugins/DetDescendantReport.py (write_mate): Swap mate and
person variables, clear code a bit.
(make_report, add+user_options): Allow same set of options as the
detailed ancestral report.


svn: r1634
2003-06-02 18:44:39 +00:00
Alex Roitman
8b9c073555 Update
svn: r1633
2003-06-02 15:34:20 +00:00
Alex Roitman
1b1b7e837a * src/plugins/BookReport.py (ReportOptionsDialog.on_change_clicked):
Deal with Cancel button pressed.


svn: r1632
2003-06-02 15:34:08 +00:00
Alex Roitman
59d8cb9167 Update
svn: r1631
2003-06-02 15:25:50 +00:00
Alex Roitman
75d1933c8d * src/plugins/DetAncestralReport.py (write_marriage):
Consider missing case of spouse and no-date-no-place for marriage.


svn: r1630
2003-06-02 15:24:15 +00:00
Alex Roitman
d97a6be3cd * src/plugins/DetAncestralReport.py (write_marriage):
svn: r1629
2003-06-02 15:23:27 +00:00
Alex Roitman
d2446078a5 Update
svn: r1628
2003-06-02 13:35:02 +00:00