Commit Graph

817 Commits

Author SHA1 Message Date
Alex Roitman
1f530721f4 * src/gramps_main.py (on_save_as_activate): Make dialog modal and
transient; (on_open_activate): likewise; (on_new_clicked): pass
main window to set the transient.
* src/gramps.glade (fileselection dialog): Remove auto_estroy and modal.
* src/revision.glade (dbopen dialog): Add modal and set responses.


svn: r2138
2003-09-16 03:58:29 +00:00
Don Allingham
3f6c2b23ef * src/docgen/OpenOfficeDoc.py: set z-index properly for paths
so they appear over text, fix font for draw_text


svn: r2136
2003-09-16 03:33:05 +00:00
Alex Roitman
82316ad5cf * gramps.sh.in: Fix bashism to have a valid bourne-shell script.
* src/plugins/Makefile.am: Ship writefree.glade.
* src/plugins/Makefile.in: Likewise.


svn: r2135
2003-09-16 03:05:02 +00:00
Alex Roitman
34a96eb266 * src/plugins/WriteGedcom.py (cl_setup): Define newline char.
* src/plugins/WriteFtree.py: Provide command line interface.
* src/gramps_main.py (handle_args): Add function. Add WFT export
format; (cl_export): Add WFT format.
* doc/gramps.1.in: Update man page to reflect new format option.
* doc/gramps.1: Likewise.
* NEWS: Likewise.
* TODO: Add recently discussed items from gramps-devel.


svn: r2133
2003-09-16 01:35:09 +00:00
Alex Roitman
38d0cd78d3 * src/ImageSelect.py (ImageSelect.__init__): Make dialog transient for
its parent; (Gallery.__init__): Accept parent_window and pass it on.


svn: r2132
2003-09-15 04:16:12 +00:00
Alex Roitman
1021a5ef65 * src/SourceView.py (button_press,on_add_clicked,on_delete_clicked,
on_edit_clicked): Pass parent window to the child dialog.
* src/Sources.py (add_src_clicked): Likewise.
* src/EditSource.py (__init__): Add optional parent_window argument.
Make dialog modal and transient for its parent.
* src/gramps.glade (sourceEditor dialog): Delete unneeded handlers
for buttons.
* src/QuestionDialog.py (SaveDialog,QuestionDialog,OptionDialog,
ErrorDialog,WarningDialog,MissingMediaDialog): Set transient status
if parent is given.
* src/EventEdit.py (__init__): Make dialog modal and transient for
its parent.
* src/Witness.py: Make WittnessEditor dialog modal and transient for
its parent. Call SelectPerson with itself as a parent.
* src/SelectPerson.py (__init__): Make dialog transient for its parent.
* src/imagesel.glade: Define proper responses and delete unneeded handlers
for buttons. Make gtkFileEntry modal.
* src/dialog.glade (all dialogs): Define proper responses for buttons.
* src/EditPerson.py (on_add_aka_clicked, on_aka_update_clicked):
Call NameEdit with itself as a parent; (on_add_attr_clicked,
on_update_attr_clicked): Call AttributeEditor with itself as a parent;
(on_add_addr_clicked,on_update_addr_clicked): Call AddressEditor with
itself as a parent; (on_add_url_clicked,on_update_url_clicked): Call
UrlEditor with itself as a parent; (on_name_note_clicked,
on_ldsbap_note_clicked,on_ldsendow_note_clicked,
on_ldsseal_note_clicked): Call NoteEditor with itself as a parent.
* src/NameEdit.py (__init__): Make dialog modal and transient for
its parent.
* src/AttrEdit.py (__init__): Likewise.
* src/AddrEdit.py (__init__): Likewise.
* src/UrlEdit.py (__init__): Likewise.
* src/NoteEdit.py (__init__): Likewise.


svn: r2131
2003-09-15 04:11:30 +00:00
Don Allingham
23d0f16962 * src/plugins/TimeLine.py: call doc.init routine to build header
svn: r2129
2003-09-15 02:54:07 +00:00
Don Allingham
d6a6db0865 * src/FontScale.py: try to handle non-ASCII characters
svn: r2127
2003-09-15 02:42:40 +00:00
Don Allingham
e374f8132b * 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
13244fb741 * src/po/template.po: Update translation template.
* src/po/ru.po: Update Russian translation.
* src/plugins/FilterEditor.py (edit_rule): Use translated strings for
identifying rule/option.
* src/GenericFilter.py (save): Encode XML file as utf-8 (was iso8859-1).


svn: r2124
2003-09-14 04:21:44 +00:00
Alex Roitman
eaae22c536 * src/srcsel.glade: Define proper responses for OK and Cancel buttons
in both SourceSelector and SourceEditor windows.
* src/Sources.py: Make both SourceSelector and SourceEditor modal and
transients for their parent window. Add SourceTab window argument to
SourceTab to pass to the SourceEditor.
* src/AddrEdit.py: Pass window widget to the SourceTab.
* src/AttrEdit.py: Likewise.
* src/EditPlace.py: Likewise.
* src/EventEdit.py: Likewise.
* src/NameEdit.py: Likewise.
* src/Marriage.py: Rename top_window to self.window.


svn: r2123
2003-09-13 20:42:57 +00:00
Alex Roitman
9c868b08b5 * src/plugins/AncestorChart.py (AncestorChart.__init__): Call calc()
after self.standalone is defined.


svn: r2122
2003-09-13 17:16:19 +00:00
Don Allingham
ce13ddf5be update
svn: r2121
2003-09-13 04:58:20 +00:00
Don Allingham
0b5b59f375 * src/BaseDoc.py: add init function to BaseDoc to be called after
all graphics formats are defined
* src/docgen/OpenOfficeDoc.py: fix rotate_print and center_print
* src/plugins/AncestorChart.py: support BaseDoc.init
* src/plugins/AncestorReport.py: support BaseDoc.init
* src/plugins/BookReport.py: support BaseDoc.init
* src/plugins/CustomBookText.py: support BaseDoc.init
* src/plugins/DesGraph.py: support BaseDoc.init
* src/plugins/DescendReport.py: support BaseDoc.init
* src/plugins/DetAncestralReport.py: support BaseDoc.init
* src/plugins/DetDescendantReport.py: support BaseDoc.init
* src/plugins/FamilyGroup.py: support BaseDoc.init
* src/plugins/FanChart.py: support BaseDoc.init
* src/plugins/FtmStyleAncestors.py: support BaseDoc.init
* src/plugins/FtmStyleDescendants.py: support BaseDoc.init
* src/plugins/SimpleBookTitle.py: support BaseDoc.init
* src/plugins/Ancestors.py: support BaseDoc.init


svn: r2120
2003-09-13 04:57:30 +00:00
Don Allingham
a3445a9b90 * src/BaseDoc.py: add init function to BaseDoc to be called after
all graphics formats are defined
* src/docgen/OpenOfficeDoc.py: fix rotate_print and center_print
* src/plugins/AncestorChart.py: support BaseDoc.init
* src/plugins/AncestorReport.py: support BaseDoc.init
* src/plugins/BookReport.py: support BaseDoc.init
* src/plugins/CustomBookText.py: support BaseDoc.init
* src/plugins/DesGraph.py: support BaseDoc.init
* src/plugins/DescendReport.py: support BaseDoc.init
* src/plugins/DetAncestralReport.py: support BaseDoc.init
* src/plugins/DetDescendantReport.py: support BaseDoc.init
* src/plugins/FamilyGroup.py: support BaseDoc.init
* src/plugins/FanChart.py: support BaseDoc.init
* src/plugins/FtmStyleAncestors.py: support BaseDoc.init
* src/plugins/FtmStyleDescendants.py: support BaseDoc.init
* src/plugins/SimpleBookTitle.py: support BaseDoc.init


svn: r2119
2003-09-13 04:56:04 +00:00
Don Allingham
a45dfa269a * src/gramps_main.py: update family view after a GEDCOM import
* src/plugins/TimeLine.py: draw grid after displaying text. Fixes
a problem with OpenOffice


svn: r2117
2003-09-12 03:17:42 +00:00
Don Allingham
57726ddf93 * src/docgen/PdfDoc.py: fix typo
svn: r2115
2003-09-11 02:59:21 +00:00
Alex Roitman
dab655e2ac * src/plugins/SimpleBookTitle.py: Introduce footer.
Introduce Image size option. Re-name item to Title Page (no longer
simple I'm afraid).


svn: r2114
2003-09-11 01:40:20 +00:00
Tim Waugh
94d169d9b4 2003-09-10 Tim Waugh <twaugh@redhat.com>
* src/Relationship.py: Fixed typos in relationship descriptions.


svn: r2113
2003-09-10 13:43:47 +00:00
Alex Roitman
9132d47c5c * src/plugins/SimpleBookTitle.py: Add functionality to "From file".
* src/AddMedia.py: Make it a modal dialog.
* src/MediaView.py: Call AddMedia as modal dialog.
* src/imagesel.glade: Change responses for dialog buttons.


svn: r2112
2003-09-10 13:38:02 +00:00
Alex Roitman
791dc35a50 (SimpleBookTitle.write_report): Insert image only if it is passed.
Set empty object_id to "" (was None).
* src/plugins/BookReport.py (BookReportSelector.open_book):
Don't displpay person name for special items (title).


svn: r2111
2003-09-10 03:05:14 +00:00
Alex Roitman
873f78cf6e * src/plugins/SimpleBookTitle.py
(SimpleBookTitleDialog.add_user_options): Add a tab for an image,
provide more controls for managing it;
(remove_obj): Add function.
(select_file): Add a placeholder function.
(select_obj): Gracefully handle Cancel empty object (cancel).
Enable Remove button on non-empty selection.


svn: r2110
2003-09-10 01:50:26 +00:00
Don Allingham
d4c872a4dc update
svn: r2109
2003-09-09 01:48:50 +00:00
Don Allingham
83f0a6c9e0 * src/GenericFilter.py: handle the possibility of missing
"inclusive" settings, assuming that it is 1 if not present.


svn: r2108
2003-09-09 01:48:30 +00:00
Tim Waugh
10995ff90c 2003-09-08 Tim Waugh <twaugh@redhat.com>
* src/Makefile.am: Ship SelectObject.py.


svn: r2107
2003-09-08 12:59:56 +00:00
Alex Roitman
6e7c46ba8a * src/gramps_main.py (__init__): Pass parent window to DbPrompter.
* src/DbPrompter.py (show): Gracefully deal with empty parent.


svn: r2106
2003-09-08 12:14:34 +00:00
Don Allingham
f6d06b1220 * src/docgen/PdfDoc.py: handle multiple image classes defined
by reportlab


svn: r2104
2003-09-08 04:20:01 +00:00
Alex Roitman
727cbff2da * src/gramps_main.py (new_database_response,read_file,save_file):
Pass parent window to DbPrompter.
* src/DbPrompter.py (__init__): Accept optional parent argument;
(show): Make the window the transient for the main window.
* src/gramps.glade: Make Opendb dialog modal.


svn: r2103
2003-09-08 04:12:43 +00:00
Alex Roitman
e6a9bbbba2 * src/plugins/SimpleBookTitle.py: Add image options.
svn: r2102
2003-09-08 03:44:54 +00:00
Alex Roitman
935f974848 * src/SelectObject.py: Add module.
* src/choose.glade: Add select_object dialog.


svn: r2100
2003-09-08 01:24:40 +00:00
Don Allingham
8409b707dc * src/gramps_main.py: re-present the open dialog box on
a failure to open a file.
* src/gramps.glade: change Home button from stock version
to something we can translate
* src/const.py.in: Add "Alternate Marriage" as a family
event type.


svn: r2099
2003-09-07 18:45:22 +00:00
Don Allingham
a0c10c2203 * src/gramps_main.py: re-present the open dialog box on
a failure to open a file.
* src/gramps.glade: change Home button from stock version
to something we can translate


svn: r2098
2003-09-07 14:16:25 +00:00
Alex Roitman
445266eacc * src/plugins/FilterEditor.py (MyInteger): Fix type conversions.
svn: r2097
2003-09-07 02:55:41 +00:00
Don Allingham
17e64a22e3 * src/plugins/FilterEditor.py (MyPlaces): fix handling of get_text,
set_text tasks. Use the default from the base class.


svn: r2095
2003-09-06 23:11:29 +00:00
Alex Roitman
1c46081a4c * src/plugins/BookReport.py (BookList.save): Write encoding.
* src/plugins/FilterEditor.py (MyBoolean): Add class.
(FilterEditor.edit_rule): Implement Inclusive option.
* src/GenericFilter.py: Add categories and descriptions. Implement
Inclusive option.


svn: r2093
2003-09-05 04:38:43 +00:00
Don Allingham
e838c771fb * src/RelLib.py: backout yesterday's change
svn: r2091
2003-09-05 03:34:44 +00:00
Don Allingham
8516eb1416 * src/RelLib.py: select the lowest ID for the default person
if the default person is not set


svn: r2089
2003-09-04 03:51:58 +00:00
Don Allingham
a47edf4cf0 Added BaseDoc.py
svn: r2088
2003-09-03 14:17:53 +00:00
Alex Roitman
99cc57c470 * src/gramps_main.py: Really fix start-up view when family
view style is the default. Clean up the use of views.
(post_load): Select the person with the alphabetically lowest ID
to be active if no home person is set. Fixes 793127.
(goto_active_person): Create alpha page if it does not exist.
* src/FamilyView.py (init_interface): Do not connect handlers to
events if they already exist;
(set_widgets): Set correct page before hiding the old one. Fixes
resizing issue on applying preferences after changing Family View
layout.


svn: r2087
2003-09-03 04:57:36 +00:00
Don Allingham
1d25e51110 update
svn: r2086
2003-09-03 04:20:11 +00:00
Don Allingham
67ae9b7acd * src/po/Makefile.am: convert .po files to unicode before
running through msgfmt
* src/revision.glade: make the open dialog box a bit bigger


svn: r2085
2003-09-03 04:19:25 +00:00
Alex Roitman
d3cd682eaf * src/gramps_main.py: Really fix start-up view when family
view style is the default. Clean up the use of views.


svn: r2084
2003-09-03 00:54:55 +00:00
Tim Waugh
53f20d7d0f 2003-09-02 Tim Waugh <twaugh@redhat.com>
* src/plugins/GraphViz.py: Fixed typo.


svn: r2083
2003-09-02 21:50:39 +00:00
Tim Waugh
d5bee0d775 2003-09-02 Tim Waugh <twaugh@redhat.com>
* src/gramps_main.py: Fixed start-up view when family view style
        is the default.


svn: r2082
2003-09-02 21:22:11 +00:00
Alex Roitman
967c6aba28 * src/docgen/PdfDoc.py (make_color): Remove the first occurence --
was defined twice; (left_print): Remove print statement.


svn: r2081
2003-09-02 04:04:07 +00:00
Don Allingham
7f68e7f8c0 * src/docgen/OpenOfficeDoc.py: Fix styles
svn: r2079
2003-09-02 03:28:27 +00:00
Alex Roitman
56dc1e09d6 * src/plugins/BookReport.py (BookList.save): Enable saving options
which are lists;
(BookParser.startElement, BookParser.endElement): Enable parsing
options which are lists.


svn: r2078
2003-09-02 02:59:19 +00:00
Don Allingham
2013aa79f2 * src/docgen/PSDrawDoc.py: Change from Text/DrawDoc to BaseDoc
* src/docgen/SvgDrawDoc.py: Change from Text/DrawDoc to BaseDoc


svn: r2076
2003-09-02 02:56:42 +00:00
Alex Roitman
f27d6ae5f7 * 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
Tim Waugh
42dea20684 2003-09-01 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Separate paternal and maternal ancestors
        for easier reading.


svn: r2073
2003-09-01 20:57:51 +00:00
Don Allingham
7e72838c0f make Witness inherit from Persistent
svn: r2071
2003-09-01 15:46:09 +00:00
Tim Waugh
eb5b85072a 2003-09-01 Tim Waugh <twaugh@redhat.com>
* src/docgen/Makefile.am: Removed reference to PdfDrawDoc.py.


svn: r2070
2003-09-01 14:26:35 +00:00
Don Allingham
890b809f80 * src/docgen/PdfDoc.py (left_print): Don't convert to cm.
svn: r2069
2003-09-01 02:23:39 +00:00
Alex Roitman
a49d27a6eb * src/gramps_main.py (load_selected_people): Only invoke Edit person
dialog if the active person is selection in the current alpha- page;
(change_alpha_page): Enable person-centered buttons only if the
selection is visible in the current page;
(build_people_context_menu): Enable Add bookmark and Edit/Remove only
if the selection is visible in the current page.


svn: r2068
2003-08-31 05:12:30 +00:00
Alex Roitman
59f503c8bc * src/docgen/PdfDoc.py (page_break): Minor cleanup;
(end_page): Was defined twice -- remove the first occurence.


svn: r2067
2003-08-31 04:49:28 +00:00
Don Allingham
87ef9d437c * src/docgen/PdfDoc.py: Support drawing functions.
* src/docgen/PdfDrawDoc.py: remove - all functions integrated into
PdfDoc.py
* src/DbPrompter.py: change title from "Save" to "Create" when
opening a new database, prompt with last database saved.
* src/FamilyView.py: don't add columns to the child list if it
is already initialized


svn: r2065
2003-08-31 03:29:12 +00:00
Don Allingham
65f18d93ac * PdfDoc.py: Support drawing functions.
* PdfDrawDoc.py: remove - all functions integrated into
PdfDoc.py
* DbPrompter.py: change title from "Save" to "Create" when
opening a new database, prompt with last database saved.


svn: r2064
2003-08-31 03:26:13 +00:00
Alex Roitman
77a0a7f728 * src/gramps_main.py: Enable context menu for an empty people view.
* src/FamilyView.py: Cleanups for the case of empty database.


svn: r2063
2003-08-30 23:14:00 +00:00
Alex Roitman
343d4d2774 Update
svn: r2062
2003-08-30 02:37:53 +00:00
Alex Roitman
bffe42bbac * src/plugins/TimeLine.py: Likewise.
* src/FamilyView.py: New items for context menus.


svn: r2061
2003-08-30 01:16:40 +00:00
Alex Roitman
172ae30f7f * src/plugins/TimeLine.py: Likewise.
svn: r2060
2003-08-30 00:15:10 +00:00
Alex Roitman
ae858410d6 * src/plugins/DesGraph.py: Change from TextDoc and DrawDoc to BaseDoc.
* src/plugins/FanChart.py: Likewise. Enable Book item functionality.
* src/plugins/TimeLine.py: Likewise.


svn: r2059
2003-08-29 22:47:06 +00:00
Alex Roitman
9a0afd722f * src/plugins/DesGraph.py: Enable Book item functionality.
svn: r2058
2003-08-29 04:23:06 +00:00
Alex Roitman
0c093bccc1 Update
svn: r2057
2003-08-29 04:14:59 +00:00
Alex Roitman
18454e96b5 * src/docgen/LaTeXDoc.py: Do not register as a book format (have to
support both text and graphics).
* src/plugins/AncestorChart.py:  Minor code cleanup.
* src/plugins/BookReport.py: Add context menus to the dialog.
* src/FamilyView.py: Properly refer to gtk stock items.
* src/gramps_main.py: Likewise.


svn: r2056
2003-08-29 03:08:02 +00:00
Don Allingham
1491d701fc * src/FamilyView.py: don't add columns to family view items
if they have already be added.


svn: r2054
2003-08-28 01:50:29 +00:00
Don Allingham
5d18912711 * src/gramps_main.py: reinitialize interface after preferences
has been clicked.


svn: r2052
2003-08-27 03:46:27 +00:00
Alex Roitman
7dc824487c * src/gramps.glade: Minor cleanups for the alternate family view.
* src/gramps_main.py: Likewise.


svn: r2050
2003-08-26 04:26:09 +00:00
Alex Roitman
cd59a4f924 * src/plugins/AncestorChart.py: Change from TextDoc and DrawDoc to
BaseDoc. Enable Book item functionality.
* src/plugins/SimpleBookTitle.py: Change from TextDoc to BaseDoc.
* src/plugins/BookReport.py: Likewise.
* src/plugins/FtmStyleDescendants.py: Likewise.


svn: r2049
2003-08-26 04:07:00 +00:00
Don Allingham
74667d39bc * src/gramps.glade: move alternate family view tab, assign a
few object names
* src/FamlyView.py: handle alternate family view
* src/preferences.glade: allow user to choose family view
* src/GrampsCfg.py: allow user to choose family view
* src/gramps_main.py: allow user to choose family view


svn: r2047
2003-08-26 03:45:41 +00:00
Alex Roitman
5651e2af78 Update
svn: r2046
2003-08-26 01:19:41 +00:00
Alex Roitman
d3c75f9962 * src/docgen/OpenOfficeDoc.py (open): Typos.
svn: r2045
2003-08-25 23:58:01 +00:00
Alex Roitman
3b8a6aec8f * src/gramps_main.py (init_interface): Call PedView with self as parent;
(set_buttons,change_active_person): Fix enabling the buttons.


svn: r2044
2003-08-25 20:38:35 +00:00
Alex Roitman
2038fb4997 * src/gramps.glade: Add Alternative Family View tab.
svn: r2043
2003-08-25 18:33:52 +00:00
Alex Roitman
313faca8da * src/PedView.py (PedigreeView.__init__): Add parent argument to the
constructor. Connect to the handling function on button press over the
canvas to enable context menu;
(on_canvas_press, build_nav_menu): Add functions to enable context menu.
* src/gramps_main.py (init_interface): Call PedView with self as parent.
* src/PlaceView.py (merge): Change error message from people to places.


svn: r2042
2003-08-25 14:00:26 +00:00
Alex Roitman
c0d79487b5 * src/gramps_main.py (change_active_person): Cleanup with
enabling/disabling add/edit/remove buttons in different views upon the
active person change.


svn: r2041
2003-08-25 05:03:36 +00:00
Alex Roitman
8b0c5528b0 Update
svn: r2040
2003-08-25 03:54:08 +00:00
Don Allingham
3666b8aa50 * src/BaseDoc.py: support start_page and end_page for backwards
compatibility to older versions
* src/docgen/OpenOfficeDoc.py: support all graphics functionality


svn: r2038
2003-08-25 03:13:52 +00:00
Don Allingham
99161f8ca9 * src/plugins/FanChart.py: remove print statement
* src/docgen/RTFDoc.py: change from TextDoc to BaseDoc
* src/docgen/PdfDoc.py: change from TextDoc to BaseDoc
* src/docgen/LaTeXDoc.py: change from TextDoc to BaseDoc
* src/docgen/KwordDoc.py: change from TextDoc to BaseDoc
* src/docgen/HtmlDoc.py: change from TextDoc to BaseDoc
* src/docgen/AbiWordDoc.py: change from TextDoc to BaseDoc
* src/docgen/AbiWord2Doc.py: change from TextDoc to BaseDoc


svn: r2036
2003-08-25 03:11:40 +00:00
Alex Roitman
4ca9ab2667 * src/FamilyView.py (edit_active_person, build_ap_menu,
build_child_menu, build_spouse_menu, build_parents_menu,
build_sp_parents_menu, edit_parents, edit_sp_parents):
Add navigation portion to all context menus.


svn: r2035
2003-08-24 23:42:42 +00:00
Don Allingham
b42e9e406c * src/BaseDoc.py: New base clase for TextDoc/DrawDoc combination
* src/docgen/OpenOffice.py: Derive from BaseDoc instead of TextDoc


svn: r2033
2003-08-23 21:10:21 +00:00
Don Allingham
b27a42afb9 * src/plugins/GraphViz.py: Allow truetype or postscript fonts
svn: r2031
2003-08-21 03:47:35 +00:00
Don Allingham
fcb316c2c7 * src/gramps.py: catch missing textdomain in gtk.glade for
older versions of pygtk
* src/po/template.po: update


svn: r2029
2003-08-20 22:33:09 +00:00
Tim Waugh
2844e6b3fa 2003-08-19 Tim Waugh <twaugh@redhat.com>
* src/docgen/OpenDrawDoc.py: Fixed escaping.


svn: r2028
2003-08-19 18:21:57 +00:00
Alex Roitman
aa861a39db Add a limit of 20 for the Back/Forward history popup menus.
Add hotkeys for these menus;
(change_active_person): Fix sensitivity of Back/Forward buttons;
(build_people_context_menu): Add new items to the People View's context
menu (Home and Add Bookmark);
(change_alpha_page): Fix context menu upon changing pages.


svn: r2027
2003-08-19 14:46:34 +00:00
Alex Roitman
fe9f656214 Update
svn: r2026
2003-08-19 13:55:34 +00:00
Alex Roitman
f77ca9b479 * src/gramps_main.py (build_backhistmenu,build_fwdhistmenu):
Limit of 20 for the Back/Forward history menus.
Add hotkeys for these menus.


svn: r2025
2003-08-19 12:39:05 +00:00
Don Allingham
e8138f46b0 horizontal buttons
svn: r2024
2003-08-19 04:31:01 +00:00
Alex Roitman
e4dd91c55f Enable context menu upon right-click in the People View with Back,
svn: r2022
2003-08-19 02:55:27 +00:00
Alex Roitman
b1f34817a6 * src/gramps_main.py: Enable context menus with back and forward
portions of history upon right-clicking on Back and Forward buttons.
* src/gramps.glade: Add handlers for the context menus.


svn: r2021
2003-08-19 00:34:09 +00:00
Alex Roitman
6a1af597c5 * src/preferences.glade: Provide hotkeys for the new default view
options.


svn: r2020
2003-08-18 21:05:16 +00:00
Alex Roitman
ed0fd7f134 * src/gramps_main.py: Better behavior for the history menu.
svn: r2019
2003-08-17 16:07:06 +00:00
Alex Roitman
e6ce232335 * src/gramps_main.py: Functional history submenu of the Go menu.
svn: r2018
2003-08-17 04:01:52 +00:00
Don Allingham
ebdc5fbcc3 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Don Allingham
93add3c449 * configure.in: removal of intl.c/intl22.so
* src/gramps.py: handling of i18n without the use of intl
* src/*.py: switch from intl to gettext


svn: r2016
2003-08-17 02:12:25 +00:00
Alex Roitman
8178a7f82e * src/gramps_main.py (change_active_person): Small fix for disabling
back button.
* src/gramps_main.py: Add enabling/disabling for the new back/fwd menu
items.


svn: r2015
2003-08-16 05:06:24 +00:00
Don Allingham
05ca4d93eb update
svn: r2014
2003-08-16 03:26:43 +00:00
Don Allingham
4af6e2a0c2 * src/gramps.glade: New tool icon
* src/gramps_main.py: handle back/fwd buttons, disabling when
not appropriate
* src/people48.png: new image
* src/family48.png: new image
* src/tools.png: new image
* src/Makefile.am: added tools.png for installation


svn: r2013
2003-08-16 03:23:48 +00:00
Don Allingham
66d35b9df4 * src/gramps.glade: New tool icon
* src/gramps_main.py: handle back/fwd buttons, disabling when
not appropriate
* src/people48.png: new image
* src/family48.png: new image
* src/tools.png


svn: r2012
2003-08-16 03:22:56 +00:00
Alex Roitman
e927743213 * src/gramps.glade: Add Go menu with navigation items. Still have to
work out the history menu being built at runtime. Add few shortcuts.


svn: r2011
2003-08-16 02:15:43 +00:00
Alex Roitman
46c8f6d8d4 * src/GrampsCfg.py: Fix toolbar prefs.
* src/intl.py: Import intl22.so for both 2.2 and 2.3 python versions.


svn: r2010
2003-08-15 02:47:13 +00:00
Alex Roitman
17087ebc30 * src/FrenchRepublic.py: Insert encoding line because non-ascii
charatcers are used. This behavior is deprecated and causes warnings
in python 2.3.
* src/const.py.in: Likewise.
* src/FamilyView.py: Likewise.
* src/SelectChild.py: Likewise.
* src/plugins/rel_ru.py: Likewise.


svn: r2009
2003-08-14 22:33:30 +00:00
Jens Arvidsson
fa0e510277 Updated header info
svn: r2008
2003-08-14 18:01:24 +00:00
Jens Arvidsson
88bcbcfdcd Updated header info
svn: r2007
2003-08-14 17:52:23 +00:00
Don Allingham
337378bdbd * src/DbPrompter.py: removed #! at top of file
* src/gramps.py: removed #! at top of file
* src/EditSource.py: removed #! at top of file


svn: r2005
2003-08-14 15:57:26 +00:00
Don Allingham
54327f5a0d * configure.in: Check for include directory of $PYTHON, not $PYTHON22.
Set PYTHON_CPPFLAGS accordingly.  Do not set $PYTHON22 and
$P22_INCLUDES, they are not used anymore.
* src/Makefile.am (GVFSINC): Remove, unused.
(intl22.so, grampslib.so): Adjust to use $P22_INCLUDES.


svn: r2003
2003-08-14 15:51:34 +00:00
Don Allingham
06b0b2b186 GNOME/python configure detection
svn: r2002
2003-08-14 03:53:41 +00:00
Don Allingham
53c3da4a2d * src/gramps_main.py: implement a basic history mechanism
* src/gramps.glade: add back and forward buttons


svn: r2000
2003-08-14 03:51:19 +00:00
Don Allingham
2e667e8223 fix typo
svn: r1999
2003-08-13 04:32:15 +00:00
Don Allingham
a27c351000 update
svn: r1998
2003-08-13 04:28:53 +00:00
Don Allingham
a5d499fe20 * 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
Don Allingham
93d1961cd2 * src/po/it.po: updated Italian translation
svn: r1995
2003-08-13 02:19:20 +00:00
Don Allingham
d3333e1265 * src/gramps_main.py: apply the filter after a load of the database,
allow default view to be set
* src/GrampsCfg.py: handle the defaultview key to allow the user to
choose Family or People view as the default
* src/preferences.glade: defaultview settings


svn: r1993
2003-08-12 03:01:17 +00:00
Tim Waugh
e4c6227dc8 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
e39157ba94 2003-08-11 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Use Relationship.get_grandparents_string.


svn: r1990
2003-08-11 17:10:17 +00:00
Don Allingham
cebe78e517 * src/Relationship.py: add "get_grandparents_string" to return the
grandparents relationship between to people.


svn: r1988
2003-08-11 02:57:12 +00:00
Alex Roitman
cc79597b34 * configure.in: Set version to 0.9.4 (since the release is 0.CVS...).
Otherwise it becomes older-version that the latest release.
* src/EditPerson.py: Change const.save_fevent() calls to
const.save_event().
* src/EventEdit.py: Display event name with const.display_event()
(was backwards).
* src/GrampsParser.py: Call const.save_event() and const.attr()
when parsing XML. This should take care of prior data with standard
events and attributes recorded in $LANG.
* src/FamilyView.py (nameof): Translate parent's relation to a child.


svn: r1986
2003-08-11 00:59:16 +00:00
Don Allingham
9ca445384f * src/rule.glade: eliminate unneeded label and increased size
svn: r1982
2003-08-10 21:55:15 +00:00
Don Allingham
eef31737d5 * src/plugins/FilterEditor.py: handle Add/Edit of rules correctly
svn: r1980
2003-08-10 21:53:02 +00:00
Don Allingham
bfbb543874 * src/plugins/FilterEditor.py: support for selecting a person
from a list to get the GRAMPS ID value


svn: r1978
2003-08-10 16:46:37 +00:00
Don Allingham
8ca2c2af54 * src/GenericFilter.py: Support for categories and descriptions
for filters
* src/Plugins.py: removed unused variable
* src/gramps.desktop: compatible with desktop-file-validate
* src/rule.glade: new add/edit filter dialog
* src/plugins/FilterEditor.py: support for spin buttons and new
dialog box


svn: r1975
2003-08-10 05:28:11 +00:00
Alex Roitman
6ba9a5fb5b * src/TextDoc.py (PaperStyle.set_height, PaperStyle.set_width):
Add functions. Needed for setting custom size paper.
* configure.in: Set RELEASE to CVS-<date> string.


svn: r1974
2003-08-09 21:08:20 +00:00
Alex Roitman
d33937c7b9 * src/plugins/FamilyGroup.py: Remove setup() call.
* src/plugins/IndivSummary.py: Enable translation for an event type.
* src/plugins/FtmStyleAncestors.py: Space after full stop.
* src/const.py.in (display_pevent): Try translating string if not
found in the _pe_e2l dictionary. Useful for translating Birth and
Death events which are not in the dictionary as non-editable events.
Seems harmless in the display function ;
(display_fevent, display_event, display_pattr, display_fattr,
display_attr, display_frel): Likewise. Might be useful in some
cases and seems totally harmless.


svn: r1973
2003-08-09 05:24:33 +00:00
Alex Roitman
5281153160 * src/PaperMenu.py: Add A3 size to the default size list.
svn: r1972
2003-08-08 15:28:59 +00:00
Jens Arvidsson
b431d1271b Second translation update for 0.9.3
svn: r1971
2003-08-08 08:48:33 +00:00
Don Allingham
ed763c75d6 * src/FamilyView.py: set menu title
svn: r1969
2003-08-08 03:17:38 +00:00
Lars Lundin
56d01fd7e4 Translations for 0.9.3 updated after typo fix
svn: r1968
2003-08-07 13:08:41 +00:00
Alex Roitman
1c58bd5bd9 * src/po/template.po: Update the translation template.
svn: r1967
2003-08-07 12:31:54 +00:00
Lars Lundin
b6c9ff7624 * src/plugins/BookReport.py: Fixed typo (containg).
* src/plugins/FtmStyleAncestors.py, src/plugins/FtmStyleDescendants.py:
Fixed typo (death_endotes).


svn: r1966
2003-08-07 08:53:22 +00:00
Alex Roitman
917a752688 * src/EditPerson.py (did_data_change): Add a unicode conversion to the
surname string.


svn: r1965
2003-08-07 04:38:06 +00:00
Alex Roitman
8e6195eaa9 * src/FamilyView.py (load_family): Enable translation for family
relation.
* src/const.py.in: Add new functions: display_event(), save_event(),
display_attr(), and save_attr() which work for either personal or
family events/attributes. Correct silly typo.
* src/WriteXML.py (dump_my_event): Call const.save_event() before
saving; (write_family_id): Call const.save_frel() before saving;
(write_attribute_list): Call const.save_attr() before saving.
* src/Marriage.py (redraw_event_list): Call const.display_fevent()
before saving; (on_add_clicked): change const.save_fevent() to
const.display_fevent(); (on_event_update_clicked): Likewise.
* src/EventEdit.py (EventEditor.__init__): Call self.trans() before
displaying event name.


svn: r1964
2003-08-07 03:54:10 +00:00
Lars Lundin
15b9685005 Translations for 0.9.3 updated
svn: r1963
2003-08-06 12:09:17 +00:00
Tim Waugh
a5ee260def 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
Alex Roitman
b563b8ea77 * src/plugins/WebPage.py (WebReportDialog.get_report_generations):
Disable number of generations (was not used anyway).


svn: r1961
2003-08-05 04:00:55 +00:00
Alex Roitman
d54d9f9270 * src/GenericFilter.py: Fixes for existing filters (ancestors and
descendants used to include the original person).
Four new filters: ancestors and descendants more and less than so many
generations away.
* NEWS: Compile preliminary contents for the next release.


svn: r1960
2003-08-05 03:35:42 +00:00
Alex Roitman
898b33efef * src/plugins/GraphViz.py (make_doc_menu): Add paper option to the menu.
svn: r1959
2003-08-05 01:34:59 +00:00
Alex Roitman
0ff39d38a0 * src/gramps_main.py (save_file): Remove statusbar.set_pulse_step()
call because gnome.ui.AppBar does not have such method.


svn: r1958
2003-08-03 05:41:08 +00:00
Alex Roitman
cca145494d * src/po/template.po: Update the above corrections in template.
svn: r1957
2003-08-03 04:45:01 +00:00
Alex Roitman
a934e5806b * src/dialog.glade: Consistent tooltips.
* src/gramps.glade: Likewise.
* src/marriage.glade: Likewise.
* src/edit_person.glade: Likewise.
* src/plugins/pafexport.glade: Consistent check box label.


svn: r1956
2003-08-03 03:41:35 +00:00
Alex Roitman
9c10ab431c * src/plugins/writeftree.glade: Swap OK and Cancel buttons (HIG).
* src/plugins/cdexport.glade: Likewise.
* src/plugins/gedcomexport.glade: Likewise.
* src/plugins/pkgexport.glade: Likewise.
* src/plugins/ReadGedcom.py: Fix Cancel button (was destroying itself).


svn: r1955
2003-08-02 05:41:51 +00:00
Don Allingham
c9902c0c77 * src/plugins/GraphViz.py: toggle sensitivity on year button if based
of date button selection, add new tab for page options to reduce
dialog size.


svn: r1953
2003-08-02 03:30:52 +00:00
Don Allingham
b1a365ce50 * src/plugins/GraphViz.py: Added option to limit dates to just years,
fixed bug to prevent family nodes from being listed more than once


svn: r1951
2003-08-02 03:19:28 +00:00
Don Allingham
2af2ed80a3 * src/plugins/WriteFtree.py: add filter and data restriction support
* src/plugins/writeftree.glade: interface description for Web Family
Tree export filter


svn: r1949
2003-08-02 02:22:34 +00:00
Don Allingham
40619fa17f * src/gramps_main.py: handle status bar message with autosave
* src/FamilyView.py: add right-context menus in the family view


svn: r1947
2003-08-01 03:38:51 +00:00
Alex Roitman
54079d5624 * src/RelLib.py (LdsOrd.are_equal): Correctly handle the case when
the new object is None and the old is empty.
(LdsOrd.isEmpty): Add function.


svn: r1945
2003-08-01 01:58:51 +00:00
Don Allingham
abae36cdbe * src/Plugins.py: fixed call in _textdoc.append (typo)
* src/plugins/Makefile.am: Add WriteFtree.py

* src/ChooseParents.py: Used EditPerson dialog instead of quick add,
select added parent in list
* src/gramps_main.py: eliminated importing of string, display
error if no person selected when trying to export
* src/ListModel.py : explicitly delete renderers and columns due
to memory leak in pygtk 1.99.16
* src/PlaceView.py: explictly delete model due to above memory leak
* src/plugins/pkgexport.glade: don't set height of window
* src/plugins/WriteFtree.py: export to Web Family Tree


svn: r1943
2003-07-31 12:00:30 +00:00
Don Allingham
36ca5fbec9 * src/ChooseParents.py: Used EditPerson dialog instead of quick add,
select added parent in list
* src/gramps_main.py: eliminated importing of string, display
error if no person selected when trying to export
* src/ListModel.py : explicitly delete renderers and columns due
to memory leak in pygtk 1.99.16
* src/PlaceView.py: explictly delete model due to above memory leak
* src/plugins/pkgexport.glade: don't set height of window
* src/plugins/WriteFtree.py: export to Web Family Tree


svn: r1942
2003-07-31 11:58:08 +00:00
Don Allingham
80e6b47bfb * src/gramps_main.py: handle autosave more gracefully
svn: r1940
2003-07-29 04:36:13 +00:00
Tim Waugh
5ce10796a2 2003-07-28 Tim Waugh <twaugh@redhat.com>
* src/plugins/AncestorChart.py: Printable hook.


svn: r1939
2003-07-28 20:32:15 +00:00
Tim Waugh
11acb620c1 2003-07-28 Tim Waugh <twaugh@redhat.com>
* src/plugins/GraphViz.py: Adapt.
        * src/Report.py, src/TextDoc.py, src/DrawDoc.py, src/Plugins.py: More
        support for making printable output formats.


svn: r1938
2003-07-28 20:31:09 +00:00