Commit Graph

337 Commits

Author SHA1 Message Date
Alex Roitman
e99846cb13 * src/docgen/Makefile.am: Don't ship OpenDrawDoc.py anymore.
* src/docgen/Makefile.in: Likewise.


svn: r2139
2003-09-16 04:02:02 +00:00
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
85dcc9bb40 update
svn: r2137
2003-09-16 03:34:21 +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
11c7180611 * gramps.sh.in: Fix bashism to have a valid bourn-shell script.
svn: r2134
2003-09-16 01:53:49 +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
e811763c72 update
svn: r2130
2003-09-15 02:54:15 +00:00
Don Allingham
16483c1802 update
svn: r2128
2003-09-15 02:42:48 +00:00
Don Allingham
66f96ee4d8 update
svn: r2126
2003-09-14 04:51:14 +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
866ae9f855 update
svn: r2118
2003-09-12 03:17:51 +00:00
Don Allingham
2289aadd29 update
svn: r2116
2003-09-11 02:59:47 +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
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
b29826cdbb update
svn: r2105
2003-09-08 04:20:14 +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
Don Allingham
b51a86e28e update
svn: r2101
2003-09-08 02:33:25 +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
Alex Roitman
445266eacc * src/plugins/FilterEditor.py (MyInteger): Fix type conversions.
svn: r2097
2003-09-07 02:55:41 +00:00
Don Allingham
7d411700f7 update
svn: r2096
2003-09-06 23:11:59 +00:00
Alex Roitman
f236e0efc1 * configure.in: Switch to the next release's version in CVS.
Replace build-date with the last ChangeLog entry date in release number.


svn: r2094
2003-09-06 03:06:51 +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
336b296b85 update
svn: r2092
2003-09-05 03:35:09 +00:00
Don Allingham
9c37c0efc6 update
svn: r2090
2003-09-04 03:52:18 +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
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
94b962f026 update
svn: r2080
2003-09-02 03:53:50 +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
b6f0229558 update
svn: r2077
2003-09-02 02:56:57 +00:00
Don Allingham
f1926defeb update
svn: r2075
2003-09-02 02:37:14 +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
df1a70e1a8 update
svn: r2072
2003-09-01 15:46:23 +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