Commit Graph

66 Commits

Author SHA1 Message Date
Don Allingham
63d7153857 * 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
2769b24e08 * src/RelLib.py (Family.set_mother_handle): Typo.
* src/Report.py: Use gen and pagebbg.
* src/ReportOptions.py: Use gen and pagebbg.
* src/plugins/Ancestors.py: Use gen and pagebbg.
* src/plugins/AncestorReport.py: Use gen and pagebbg.
* src/plugins/DescendReport.py: Use gen and pagebbg.
* src/plugins/FtmStyleDescendants.py: Use gen and pagebbg.
* src/plugins/FtmStyleAncestors.py: Use gen and pagebbg.
* src/plugins/IndivComplete.py: Convert to new scheme.
* src/plugins/TimeLine.py: Add custom filters to the pool.
* src/plugins/DetAncestralReport.py: Convert to new scheme.


svn: r3849
2005-01-01 02:17:17 +00:00
Alex Roitman
a73dfc50cb * src/Report.py: Change finish_report to end_report.
svn: r3847
2004-12-31 05:45:23 +00:00
Don Allingham
5b9f4d0427 * src/Report.py: change finish_report to end_report
* src/DateHandler.py: remove debugging statement


svn: r3845
2004-12-31 03:17:58 +00:00
Alex Roitman
346a5bfe7c * src/Report.py (Report.__init__): Proper use of output;
(report): Typo; (cl_report): Use begin_report and finish_report.
* src/plugins/BookReport.py (BookReportDialog.make_report):
Use begin_report for each item.


svn: r3844
2004-12-30 04:12:01 +00:00
Don Allingham
309b2c4842 * src/Plugins.py: add GrampsBookFormatComboBox class
* src/Report.py: Roll common functions into Report class
* src/plugins/AncestorReport.py: Bring up to date with Report
* src/plugins/Ancestors.py: Bring up to date with Report
* src/plugins/BookReport.py: Bring up to date with Report,
incorporate new ComboBox
* src/plugins/DescendReport.py: Bring up to date with Report
* src/pulgins/FtmStyleAncestors.py: Bring up to date with Report
* src/pulgins/FtmStyleDescendants.py: Bring up to date
with Report
* src/plugins/IndivSummary.py: Bring up to date with Report
* src/plugins/TimeLine.py: Bring up to date with Report


svn: r3843
2004-12-30 00:21:49 +00:00
Don Allingham
ce6192ea46 * src/GenericFilter.py: Add a combobox that handles filter
selection
* src/PaperMenu.py: Add combobox classes to handle paper size
and paper orientation selection.
* src/Plugins.py: Add combobox classes to handle draw doc format
and text doc format selection
* src/Report.py: Use new comboboxes
* src/plugins/TimeLine.py: Use new comboboxes

* src/Filter.py: remove - no longer used


svn: r3839
2004-12-28 00:23:49 +00:00
Don Allingham
5f062fccc9 * src/ReadGedcom.py: create GedcomDateParser class to handle
English requirements for GEDCOM


svn: r3838
2004-12-26 18:23:50 +00:00
Alex Roitman
09a8a4640b * src/Plugins.py: Use category to register cl report.
* src/Report.py: Handle showing options centrally.
* src/gramps_main.py: Remove name and category from options.
* src/plugins/BookReport.py: Handle showing options centrally.


svn: r3828
2004-12-22 04:55:12 +00:00
Alex Roitman
a4f9849e8f Merge REP_OPT branch
svn: r3827
2004-12-22 01:56:37 +00:00
Don Allingham
5eb387daaf * src/DbPrompter.py: destroy filechooser if open cancelled.
* src/Report.py: Use markup in dialog
* src/Utils.py: fix year handling
* src/plugins/Webpage.py: use markup


svn: r3791
2004-12-08 22:54:26 +00:00
Alex Roitman
83a24a918e * src/Report.py (on_center_person_change_clicked): Typo.
svn: r3775
2004-12-02 06:05:12 +00:00
Alex Roitman
983b5a248e * src/GrampsGconfKeys.py: Add to CVS -- split off key names.
* src/Makefile.am: Ship GrampsGconfKeys.
* src/ArgHandler.py: Use GrampsGconfKeys.
* src/DbPrompter.py: Use GrampsGconfKeys.
* src/EditPerson.py: Use GrampsGconfKeys.
* src/Exporter.py: Use GrampsGconfKeys.
* src/FamilyView.py: Use GrampsGconfKeys.
* src/GrampsDbBase.py: Use GrampsGconfKeys.
* src/ImageSelect.py: Use GrampsGconfKeys.
* src/MediaView.py: Use GrampsGconfKeys.
* src/Plugins.py: Use GrampsGconfKeys.
* src/Report.py: Use GrampsGconfKeys.
* src/StartupDialog.py: Use GrampsGconfKeys.
* src/TipOfDay.py: Use GrampsGconfKeys.
* src/Utils.py: Use GrampsGconfKeys.
* src/DateDisplay.py: Proper capitalization for _MONS.
* src/DateHandler.py: Use GrampsGconfKeys.
* src/GrampsCfg.py: Use GrampsGconfKeys.
* src/gramps_main.py: Use GrampsGconfKeys.


svn: r3573
2004-09-25 05:12:15 +00:00
Alex Roitman
c58f293b67 * src/ArgHandler.py: Convert to new gconf usage.
* src/Report.py: Convert to new gconf usage.


svn: r3275
2004-07-15 02:55:22 +00:00
Alex Roitman
8a68101d17 * src/Report.py (parse_report_options_frame): Use integer 1 and 0
instead of True and False for the pagebreak option.


svn: r3256
2004-07-09 20:28:30 +00:00
Don Allingham
5b81ee5c12 pychecker fixes
svn: r3166
2004-05-13 22:45:51 +00:00
Alex Roitman
253eb3ebfe Minor updates
svn: r3138
2004-05-07 04:27:16 +00:00
Don Allingham
7ed2f0551e Move from object references to IDs
svn: r2822
2004-02-14 05:40:30 +00:00
Alex Roitman
384357988e * src/Report.py: Mark translatable string.
* src/Witness.py: Mark translatable string.
* src/plugins/FamilyGroup.py: Mark translatable string.


svn: r2733
2004-02-01 00:34:36 +00:00
Don Allingham
730e6fc24a * src/docgen/AbiWord2Doc.py: pychecker fixes
* src/docgen/HtmlDoc.py: pychecker fixes
* src/docgen/KwordDoc.py: pychecker fixes
* src/docgen/LaTeXDoc.py: pychecker fixes
* src/docgen/OpenOfficeDoc.py: pychecker fixes
* src/docgen/OpenSpreadSheet.py: pychecker fixes
* src/docgen/PSDrawDoc.py: pychecker fixes
* src/docgen/PdfDoc.py: pychecker fixes
* src/docgen/SvgDrawDoc.py: pychecker fixes
* src/plugins/Ancestors.py: pychecker fixes
* src/plugins/BookReport.py: pychecker fixes
* src/plugins/CustomBookText.py: pychecker fixes
* src/plugins/DescendReport.py: pychecker fixes
* src/plugins/DetAncestralReport.py: pychecker fixes
* src/plugins/DetDescendantReport.py: pychecker fixes
* src/plugins/FtmStyleAncestors.py: pychecker fixes
* src/plugins/IndivComplete.py: pychecker fixes
* src/plugins/ReadPkg.py: pychecker fixes
* src/plugins/RelCalc.py: pychecker fixes
* src/plugins/SimpleBookTitle.py: pychecker fixes
* src/plugins/TimeLine.py: pychecker fixes
* src/plugins/WriteCD.py: pychecker fixes
* src/plugins/WriteFtree.py: pychecker fixes
* src/plugins/rel_de.py: pychecker fixes
* src/GenericFilter.py: pychecker fixes
* src/RelLib.py: pychecker fixes
* src/Report.py: pychecker fixes
* src/SelectPerson.py: pychecker fixes
* src/gramps_main.py: pychecker fixes


svn: r2634
2004-01-13 05:05:39 +00:00
Alex Roitman
9f84452198 * src/Sources.py: Unicode conversion from gtk.TextView.
* src/Witness.py: Unicode conversion from gtk.TextView.
* src/Report.py: Unicode conversion from gtk.TextView.
* src/NameEdit.py: Unicode conversion from gtk.TextView.
* src/Marriage.py: Unicode conversion from gtk.TextView.
* src/ImageSelect.py: Unicode conversion from gtk.TextView.
* src/EventEdit.py: Unicode conversion from gtk.TextView.
* src/EditSource.py: Unicode conversion from gtk.TextView.
* src/EditPlace.py: Unicode conversion from gtk.TextView.
* src/EditPerson.py: Unicode conversion from gtk.TextView.
* src/AutoComp.py: Unicode conversion from gtk.TextView.
* src/AttrEdit.py: Unicode conversion from gtk.TextView.
* src/AddrEdit.py: Unicode conversion from gtk.TextView.
* src/plugins/BookReport.py: Unicode conversion from gtk.Entry
and gtk.TextView.
* src/plugins/ChangeTypes.py: Unicode conversion.
* src/plugins/EventCmp.py: Unicode conversion.
* src/plugins/FilterEditor.py: Unicode conversion.
* src/plugins/SimpleBookTitle.py: Unicode conversion.
* src/plugins/TimeLine.py: Unicode conversion.
* src/plugins/WebPage.py: Unicode conversion.
* src/plugins/WriteGedcom.py: Unicode conversion.
* src/plugins/WritePkg.py: Unicode conversion.
* src/plugins/eval.py: Unicode conversion.
* src/plugins/soundgen.py: Unicode conversion.


svn: r2536
2003-12-17 16:06:36 +00:00
Don Allingham
0ae41e3ee8 * src/PlaceView.py: Make sure to add new place after edit
* src/AddMedia.py: unicode conversion from gtk.Entry
* src/AddSpouse.py: unicode conversion from gtk.Entry
* src/AddrEdit.py: unicode conversion from gtk.Entry
* src/AttrEdit.py: unicode conversion from gtk.Entry
* src/AutoComp.py: unicode conversion from gtk.Entry
* src/ChooseParents.py: unicode conversion from gtk.Entry
* src/DateEdit.py: unicode conversion from gtk.Entry
* src/EditPerson.py: unicode conversion from gtk.Entry
* src/EditPlace.py: unicode conversion from gtk.Entry
* src/EditSource.py: unicode conversion from gtk.Entry
* src/EventEdit.py: unicode conversion from gtk.Entry
* src/Find.py: unicode conversion from gtk.Entry
* src/GrampsCfg.py: unicode conversion from gtk.Entry
* src/ImageSelect.py: unicode conversion from gtk.Entry
* src/LocEdit.py: unicode conversion from gtk.Entry
* src/Marriage.py: unicode conversion from gtk.Entry
* src/MergeData.py: unicode conversion from gtk.Entry
* src/NameEdit.py: unicode conversion from gtk.Entry
* src/PeopleView.py: unicode conversion from gtk.Entry
* src/Report.py: unicode conversion from gtk.Entry
* src/SelectChild.py: unicode conversion from gtk.Entry
* src/Sources.py: unicode conversion from gtk.Entry
* src/StartupDialog.py: unicode conversion from gtk.Entry
* src/StyleEditor.py: unicode conversion from gtk.Entry
* src/UrlEdit.py: unicode conversion from gtk.Entry
* src/Utils.py: unicode conversion from gtk.Entry
* src/VersionControl.py: unicode conversion from gtk.Entry
* src/Witness.py: unicode conversion from gtk.Entry


svn: r2534
2003-12-17 05:23:16 +00:00
Don Allingham
b317d9ddbd * src/plugins/WebPage.py: support for keeping track of options
* src/plugins/TimeLine.py: support for keeping track of options
* src/plugins/RelGraph.py: support for keeping track of options
* src/plugins/IndivSummary.py: support for keeping track of options
* src/plugins/IndivComplete.py: support for keeping track of options
* src/plugins/GraphViz.py: support for keeping track of options
* src/plugins/FtmStyleDescendants.py: support for keeping track of options
* src/plugins/FtmStyleAncestors.py: support for keeping track of options
* src/plugins/FanChart.py: support for keeping track of options
* src/plugins/FamilyGroup.py: support for keeping track of options
* src/plugins/DetAncestralReport.py: support for keeping track of options
* src/plugins/Ancestors.py: support for keeping track of options
* src/plugins/AncestorReport.py: support for keeping track of options
* src/plugins/AncestorChart.py: support for keeping track of options
* src/plugins/AncestorChart.py: support for keeping track of options
* src/Utils.py: save key on style mappings
* src/GenericFilter.py: allow setting of default value for filter menu
* src/PaperMenu.py: allow setting of perferred paper and orientation, GrampsCfg
no longer needed
* src/Report.py: keep track of options across reports


svn: r2297
2003-10-31 01:26:58 +00:00
Alex Roitman
f9107a17f4 * src/plugins.glade: Switch from GtkDialog to GtkWindow (prevents it
from always being on top under metacity). Remove extra button.
* src/Plugins.py (PluginDialog.__init__): Provide custom labels and
tooltips for reports (Generate) and tools (Run);
(ReportPlugins.__init__, ToolPlugins.__init__): call PluginDialog
with appropriate labels and tooltips.
* src/Report.py (BareReportDialog.__init__): Change button back to OK.
* src/plugins/rel_ru.py (getallancestors): Replace with existing
apply_filter from Relationship.py.
* src/gramps.glade: Correct tooltips in Family Views (make parents an
active family).


svn: r2249
2003-10-14 02:22:14 +00:00
Don Allingham
c0ce4086ee * src/PeopleView.py: broken out of gramps_main.py
* src/PeopleStore.py: TreeStore wrapper for PeopleView
* src/gramps_main.py: people view removed
* src/RelLib.py: add surname to display info for each person,
allows grouping by name
* src/Report.py: Change button from Apply to
"Generate report"


svn: r2190
2003-10-04 20:02:38 +00:00
Don Allingham
efbbbf3823 * src/docgen/SvgDrawDoc.py: use proper init parameters for BaseDoc
* src/docgen/PSDrawDoc.py: use proper init parameters for BaseDoc
* src/docgen/OpenOfficeDoc.py: handle rotation of text better
* src/Report.py: Proper init sequence for BaseDoc derived reports


svn: r2125
2003-09-14 04:50:44 +00:00
Alex Roitman
f78e8dcc74 * src/PaperMenu.py: Change from TextDoc to BaseDoc.
* src/Report.py: Likewise.
* src/SpreadSheetDoc.py: Likewise.
* src/StyleEditor.py: Likewise.
* src/docgen/OpenSpreadSheet.py: Likewise.
* src/docgen/AbiWord2Doc.py: Likewise.
* src/plugins/AncestorReport.py: Likewise.
* src/plugins/DescendReport.py: Likewise.
* src/plugins/DetAncestralReport.py: Likewise.
* src/plugins/DetDescendantReport.py: Likewise.
* src/plugins/EventCmp.py: Likewise.
* src/plugins/FamilyGroup.py: Likewise.
* src/plugins/FtmStyleAncestors.py: Likewise.
* src/plugins/GraphViz.py: Likewise.
* src/plugins/IndivComplete.py: Likewise.
* src/plugins/IndivSummary.py: Likewise.
* src/plugins/WebPage.py: Likewise.
* src/plugins/Ancestors.py: Likewise.
* src/plugins/CustomBookText.py: Likewise.
* src/BaseDoc.py: Likewise.


svn: r2074
2003-09-02 00:47:09 +00:00
Don Allingham
b5f75c0a77 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Don Allingham
de7f76b347 * 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
Tim Waugh
2801566eb8 2003-08-11 Tim Waugh <twaugh@redhat.com>
* src/docgen/OpenDrawDoc.py: Fixed tag mismatch.  Added report printing
        support.
        * src/Report.py: Report printing support added to Draw-style
        reports.


svn: r1991
2003-08-11 17:33:27 +00:00
Tim Waugh
022508637d 2003-08-05 Tim Waugh <twaugh@redhat.com>
* src/Report.py, src/TextDoc.py, src/DrawDoc.py: Adjusted the way
        that 'Print Report' is handled.
        * src/docgen/OpenOfficeDoc.py, src/docgen/PSDrawDoc.py: Likewise.
        * src/plugins/AncestorChart.py: Undo previous change to do with
        printing reports.


svn: r1962
2003-08-05 17:01:47 +00:00
Tim Waugh
51dc19df04 2003-07-28 Tim Waugh <twaugh@redhat.com>
* src/Report.py, src/TextDoc.py, src/DrawDoc.py: More support for
        making printable output formats.
        * src/docgen/PSDrawDoc.py, src/docgen/PdfDrawDoc.py: Make these
        output formats printable.


svn: r1936
2003-07-28 17:20:18 +00:00
Tim Waugh
bc09c11778 2003-07-25 Tim Waugh <twaugh@redhat.com>
* src/Report.py: Support for making output formats printable.
        * src/plugins/GraphViz.py: Make it printable.


svn: r1930
2003-07-25 18:22:07 +00:00
Alex Roitman
bf21539a08 * src/plugins/ReadPkg.py: Enable "..." in the menu item.
* src/plugins/ReadNative.py: Likewise.
* src/plugins/ReadGedcom.py: Likewise.
* src/Report.py: Put "Style" label in singular form (was plural).


svn: r1883
2003-07-15 17:17:58 +00:00
Alex Roitman
1f45296ff7 * src/Report.py (BareReportDialog.build_style_menu):
Initialize menu to self.style_name;
(ReportDialog.__init__): Set self.style_name to "default"
for standalone reports.
* src/plugins/DetDescendantReport.py: Define self.style_name before
calling Report.BareReportDialog.__init__().
* src/plugins/AncestorReport.py: Likewise.
* src/plugins/Ancestors.py: Likewise.
* src/plugins/DescendReport.py: Likewise.
* src/plugins/FtmStyleAncestors.py: Likewise.
* src/plugins/FtmStyleDescendants.py: Likewise.
* src/plugins/IndivComplete.py: Likewise.
* src/plugins/IndivSummary.py: Likewise.
* src/plugins/FamilyGroup.py: Likewise.
* src/plugins/DetAncestralReport.py: Likewise.


svn: r1861
2003-07-11 03:29:33 +00:00
Don Allingham
477462b908 remove string module
svn: r1778
2003-06-25 03:40:13 +00:00
Don Allingham
f323b7cf80 pychecker fixes
svn: r1750
2003-06-16 04:57:25 +00:00
Alex Roitman
34f42ec646 * 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
00eb8ef198 * 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
b19034763d * 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
Alex Roitman
5e784971ce * 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
Don Allingham
e64f96a687 Handle formats without an extension type
svn: r1608
2003-05-31 01:56:21 +00:00
Don Allingham
f17265cf9e Change file extentions in reports when different filetype is chosen
svn: r1534
2003-05-16 01:49:50 +00:00
Don Allingham
50c4ca4107 Reports handle file extensions and check for existing file.
svn: r1462
2003-04-18 04:15:42 +00:00
Don Allingham
e81d73bcd7 Pychecker cleanup
svn: r1430
2003-04-09 03:29:08 +00:00
Don Allingham
f1518ec2a4 Accessibility for dialogs
svn: r1384
2003-03-23 03:50:59 +00:00
Don Allingham
b0e4b19c8b Fixed HTML options
svn: r1383
2003-03-23 03:26:55 +00:00
Don Allingham
cea94cbae5 Paragraph editor enhancements - styles have descriptions
svn: r1332
2003-03-08 05:03:18 +00:00
Don Allingham
eb4faa076b Window title strings
svn: r1327
2003-03-06 06:12:51 +00:00
Don Allingham
ce77a02144 Interface compliance changes
svn: r1323
2003-03-03 04:32:53 +00:00