Commit Graph

76 Commits

Author SHA1 Message Date
Alex Roitman 1fdefdc72b Remove options_dialog function as it is not nedded anymore.
* src/plugins/BookReport.py: Add lots of doc strings.


svn: r1753
2003-06-16 16:29:35 +00:00
Tim Waugh 3900b53f30 2003-06-16 Tim Waugh <twaugh@redhat.com>
* src/FamilyView.py (north_american): Fixed traceback when adding
        a new child in the family view.


svn: r1752
2003-06-16 16:24:17 +00:00
Alex Roitman 9af87c1632 * src/plugins/FtmStyleAncestors.py, src/plugins/FtmStyleDescendants.py:
Remove options_dialog function -- it is not nedded anymore.


svn: r1751
2003-06-16 13:50:10 +00:00
Alex Roitman e6e150b63f * src/AutoComp.py (AutoCombo.timer_callback): Fix autocompletion
so that the typed portion of the text is always visible.


svn: r1749
2003-06-15 05:31:36 +00:00
Don Allingham 6966e9f0fd update
svn: r1748
2003-06-15 04:15:59 +00:00
Alex Roitman 3e512cd70d * src/Utils.py: Provide a locale-aware string formatting conversion
into C-locale string (for saving floats in XML)
* src/StyleEditor.py (draw): Call locale.str instead of str.
* src/TextDoc.py (StyleSheetList.save): Call gformat instead of '%f'.


svn: r1744
2003-06-15 00:05:43 +00:00
Alex Roitman 2bfa45813f * src/plugins/IndivComplete.py (write_fact): Enable translation
for the event name;
* (get_stylesheet_savefile): Change the name of xml file (and,
consequently, the target filename) -- was confused with family group.
* src/StyleEditor.py (save_paragraph): Call gfloat instead of float.
* src/TextDoc.py (SheetParser.startElement): Likewise.


svn: r1743
2003-06-14 18:11:30 +00:00
Don Allingham d84f6601d7 update
svn: r1741
2003-06-14 17:11:46 +00:00
Don Allingham 7b548f8cdc update
svn: r1739
2003-06-14 14:47:53 +00:00
Don Allingham 8d4a8ee95c update
svn: r1737
2003-06-14 13:59:34 +00:00
Alex Roitman 1749f1e524 Update
svn: r1735
2003-06-14 05:10:45 +00:00
Alex Roitman 6143678cfe * src/EditPerson.py (did_data_change): When checking name type,
compare translated strings (otherwise they always differ).


svn: r1734
2003-06-14 04:57:20 +00:00
Don Allingham 57e58c26a4 update
svn: r1732
2003-06-14 03:49:35 +00:00
Don Allingham 170ef001ca update
svn: r1730
2003-06-14 02:58:09 +00:00
Don Allingham c31b7c26d4 update
svn: r1728
2003-06-14 02:20:14 +00:00
Don Allingham 486ee39d27 update
svn: r1724
2003-06-14 00:59:51 +00:00
Alex Roitman 5385792d1d * src/const.py.in: Add InverseNameTypesMap.
* src/plugins/IndivComplete.py: Use InverseNameTypesMap for
alternate names.
* src/EditPerson.py (on_name_select_row): Display translated
name type.


svn: r1722
2003-06-13 23:06:03 +00:00
Alex Roitman 218bffffdb * src/docgen/HtmlDoc.py: Properly build style declaration.
* src/plugins/FtmStyleDescendants.py: Setup before opening.


svn: r1721
2003-06-13 16:17:45 +00:00
Alex Roitman dad0cc144e * src/docgen/OpenOfficeDoc.py: Escape special XML characters.
svn: r1720
2003-06-13 15:13:47 +00:00
Alex Roitman 1584227b86 * src/docgen/OpenOfficeDoc.py: Surround images by paragraph tags
when inside the table cell.


svn: r1718
2003-06-13 04:07:13 +00:00
Don Allingham ec5e7e7bc7 update
svn: r1717
2003-06-13 04:03:44 +00:00
Alex Roitman 597b4af2bc * src/docgen/KwordDoc.py (write_text): Replace & with &amp in text.
Closes gramps-bugs-649228, finally.
(start_table): close FRAMESET tag conditionally. This prevents closing
it twice (both in end_cell and start_table). Closes 753151.


svn: r1715
2003-06-13 03:29:15 +00:00
Alex Roitman 3828d35f6b * src/docgen/OpenOfficeDoc.py: Fix typo. Prevent images from being
copied more than once.


svn: r1713
2003-06-12 14:19:30 +00:00
Alex Roitman e25bd4561c * src/EditPlace.py: Add url_edit_callback() and pass it on to UrlEdit
when clicked on Add or Edit in Place's Url list.


svn: r1712
2003-06-12 03:20:05 +00:00
Alex Roitman 6ffc56ad15 * src/EditPlace.py (on_switch_page): Fix page numbers to enable proper
loading of gallery and references.


svn: r1711
2003-06-12 02:17:52 +00:00
Alex Roitman 91b3c84bee * src/plugins/BookReport.py (Book.pop_item): Add missing return
statement.
* src/plugins/BookReport.py (BookReportSelector.open_book):
Add a warning if the database for the book is not the same as current.


svn: r1709
2003-06-11 22:33:01 +00:00
Alex Roitman 37e9220498 * src/docgen/HtmlDoc.py (add_photo): Fix typo in image reference.
svn: r1708
2003-06-11 16:26:36 +00:00
Alex Roitman 5b1f94b11a * src/Plugins.py: Add more values for book item registration.
* src/plugins/FtmStyleDescendants.py: Comply with book changes.
* src/plugins/FtmStyleAncestors.py: Likewise.
* src/plugins/BookReport.py: Rewrite most of the code using new classes:
BookItem, Book, BookList, BookParser, BookListDisplay. Add
open/save/edit functionality.
* src/plugins/book.glade: Add new dialog for BookListDisplay. Also add
a text entry field for saving book and new buttons: Open, Edit, Save.


svn: r1706
2003-06-11 04:39:53 +00:00
Alex Roitman 6ee694d9a9 Update
svn: r1705
2003-06-11 04:32:02 +00:00
Don Allingham 43fefc720c update
svn: r1704
2003-06-11 03:55:18 +00:00
Don Allingham aa63e5e02f update
svn: r1702
2003-06-11 03:51:19 +00:00
Don Allingham ff0a8ed48d update
svn: r1700
2003-06-11 03:45:53 +00:00
Don Allingham 241118568f update
svn: r1698
2003-06-11 03:26:26 +00:00
Don Allingham 5200bc703c update
svn: r1696
2003-06-11 03:03:59 +00:00
Don Allingham f4bacd024a update
svn: r1694
2003-06-11 03:02:15 +00:00
Don Allingham 04726226c8 update
svn: r1691
2003-06-11 02:57:00 +00:00
Don Allingham cd51e2c531 update
svn: r1689
2003-06-11 01:35:51 +00:00
Don Allingham 209075afc8 update
svn: r1687
2003-06-10 17:11:01 +00:00
Don Allingham 2a7051fd88 update
svn: r1685
2003-06-10 16:37:45 +00:00
Don Allingham b20fb7e0b1 update
svn: r1683
2003-06-10 14:24:41 +00:00
Alex Roitman 34fc21e621 * src/plugins/BookReport.py, src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py: Further work on option handling.
Start parse/save cycle.


svn: r1681
2003-06-10 04:49:39 +00:00
Alex Roitman c2da2623b1 * src/ReadXML.py, src/plugins/Check.py, src/plugins/WriteCD.py,
src/plugins/WritePkg.py: Proper use of dialog.run() in file
selector for missing media files.


svn: r1680
2003-06-10 00:00:05 +00:00
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
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