Commit Graph

551 Commits

Author SHA1 Message Date
Alex Roitman
b7cfa1a6b4 * src/gramps.glade: Correct tooltips.
* src/GrampsCfg.py:	Enable using four toolbar styles as well as
the gnome default style.
* src/preferences.glade: Add a title for the tree. HIGify toolbar styles.
* src/gramps_main.py (pref_callback): Set toolbar style from prefs.


svn: r2259
2003-10-16 04:42:21 +00:00
Tim Waugh
612c9241be 2003-10-15 Tim Waugh <twaugh@redhat.com>
* src/Makefile.am: Add uninstall rule for grampslib.so (now 'make
        distcheck' passes again).


svn: r2258
2003-10-15 12:55:08 +00:00
Alex Roitman
97d21e3388 * src/ListModel.py (find): Prevent traceback if the entry is not found.
svn: r2257
2003-10-15 04:19:51 +00:00
Don Allingham
0f52350340 update
svn: r2256
2003-10-15 03:55:54 +00:00
Don Allingham
466a350139 update
svn: r2253
2003-10-14 04:22:35 +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
Alex Roitman
6af88a4846 * configure.in, configure: Change version and release numbers.
* TODO: Remove completed items.


svn: r2247
2003-10-13 13:02:34 +00:00
Alex Roitman
d8d91425e4 * src/gramps_main.py (edit_button_clicked): Modify edit person call
to always handle currently active person in family view;
(delete_person_clicked): Use single person mlist for family views;
(delete_person_response): Replace Back with just setting active
person to current history index (remove_from_history already places
hindex in the correct place). Always call redraw_histmenu().
* src/FamilyView.py (spouse_swap): Use change_active_person() call
in order to correctly build history.


svn: r2246
2003-10-13 04:23:34 +00:00
Alex Roitman
b104b23a9b * src/FamilyView.py (new_spouse_after_edit): Rename function (used
to be called spouse_after_edit);
(add_spouse): Call new_spouse_after_edit.
(spouse_after_edit): Add function to be called after editing existing
spouse's personal data. Takes care of display issues only;
(new_child_after_edit): Rename function (used to be called
child_after_edit);
(add_child_clicked): Call new_child_after_edit.
(edit_relationship): Change callback to get consistent behavior.


svn: r2245
2003-10-13 03:26:05 +00:00
Don Allingham
2d18f5c5b5 update
svn: r2244
2003-10-13 03:12:37 +00:00
Alex Roitman
2da2f0ed04 and rel_it.py.
* src/ArgHandler.py: Split off gramps_main into a separate file.
* src/gramps_main.py: Likewise.
* src/Makefile.am, src/Makefile.in: Ship src/ArgHandler.py.
* NEWS: More items.


svn: r2242
2003-10-13 01:55:56 +00:00
Alex Roitman
1700f2dd4a * src/README, src/NEWS, src/ChangeLog, src/po/ChangeLog, src/AUTHORS:
Remove extra files.
* AUTHORS: Consolidate with src/AUTHORS.
* src/plugins/Makefile.am, src/plugins/Makefile.in: Ship RelGraph.py
and rel_it.py.


svn: r2241
2003-10-13 01:07:01 +00:00
Alex Roitman
f853e1628d * src/README, src/NEWS, src/ChangeLog, src/po/ChangeLog: Remove extra
files.


svn: r2240
2003-10-13 01:00:29 +00:00
Don Allingham
503defa3cf update
svn: r2239
2003-10-12 04:28:56 +00:00
Don Allingham
ce14c45c60 update
svn: r2237
2003-10-12 02:29:47 +00:00
Don Allingham
9e7f1bd764 update
svn: r2235
2003-10-12 00:17:02 +00:00
Don Allingham
9b111fe4de update
svn: r2233
2003-10-11 23:04:20 +00:00
Don Allingham
e5375b09f9 update
svn: r2230
2003-10-11 14:22:51 +00:00
Don Allingham
af04874ca7 update
svn: r2227
2003-10-11 03:13:57 +00:00
Don Allingham
efd35b299c update
svn: r2225
2003-10-11 02:25:15 +00:00
Tim Waugh
f61649e346 2003-10-10 Tim Waugh <twaugh@redhat.com>
* src/PeopleStore.py: Fixed bug where you needed to expand the row
        twice before it shows the people.


svn: r2223
2003-10-10 22:49:55 +00:00
Alex Roitman
843d6e8c10 * src/gramps.glade: Remove hot keys from toolbar buttons.
Add editing items under Edit menu.
* src/gramps_main.py: Enable/disable new menu items.
* NEWS, configure, configure.in, gramps.spec, doc/gramps.1,
doc/gramps-manual/C/gramps-manual-C.omf,
doc/gramps-manual/C/gramps-manual.xml: merge with 0.9.5 branch.

* Version 0.9.5:  the "Fix me up" release.

* src/gramps_main.py (delete_person_response, merge_update):
Add remove_from_history and redraw_histmenu() calls before deleting
the person.
* doc/gramps.1.in, doc/gramps.1, doc/gramps-manual/C/gramps-manual.xml,
doc/gramps-manual/C/gramps-manual.omf, gramps.spec: New version.
* configure.in: Fix version and release numbers for 0.9.5-1.
* NEWS: Update for a 0.9.5 release.


svn: r2222
2003-10-10 03:56:19 +00:00
Alex Roitman
d510a3b9e4 * src/gramps_main.py (init_interface, redraw_histmenu): Add
accelerators to the navigation menus.


svn: r2221
2003-10-09 04:18:53 +00:00
Alex Roitman
3f474d24e3 Update
svn: r2220
2003-10-08 20:47:55 +00:00
Alex Roitman
f7105b7f89 * src/po/sv.po: Typo.
svn: r2219
2003-10-08 20:43:46 +00:00
Don Allingham
484a94bb74 update
svn: r2216
2003-10-08 04:24:26 +00:00
Alex Roitman
1451ac5552 * src/plugins/FtmStyleAncestors.py (write_report): Likewise.
* src/plugins/Verify.py (on_apply_clicked): Detect homosexual
marriage only if the spouses' gender is known and equal.


svn: r2214
2003-10-08 04:13:41 +00:00
Alex Roitman
4b7f14d66f Make static Descendant and Ancestral filters inclusive. Fixes 819390.
* src/plugins/FtmStyleDescendants.py (write_report): Change from
partial phrases to the complete phrases. Consider all cases (birth
date/place, death date/place, gender). Closes 810904, 810905.


svn: r2213
2003-10-08 03:23:07 +00:00
Alex Roitman
a7d583dbf7 * src/plugins/GraphViz.py (GraphVizDialog.get_report_filters):
Make static Descendant and Ancestral filters inclusive.


svn: r2212
2003-10-08 01:49:35 +00:00
Don Allingham
ee43d53753 update
svn: r2206
2003-10-07 03:12:13 +00:00
Alex Roitman
d2dde84a4a * src/gramps_main.py (delete_person_response): Add remove_from_history
call before deleting the person.
* src/PeopleView.py (remove_from_history): Add function;
(row_changed) Remove extra change_active_person() call.


svn: r2201
2003-10-06 22:49:16 +00:00
Tim Waugh
0b0d538a4b 2003-10-06 Tim Waugh <twaugh@redhat.com>
* src/Makefile.am: Ship PeopleView.py and PeopleStore.py.


svn: r2200
2003-10-06 16:54:15 +00:00
Don Allingham
f23d7dd063 update
svn: r2199
2003-10-06 04:30:12 +00:00
Alex Roitman
3a46b36b15 * src/PeopleView.py: Correct references to history in gramps_main.
* src/gramps_main.py: Switch away from separate history submenu.
* src/gramps.glade: Likewise.


svn: r2197
2003-10-06 01:42:55 +00:00
Don Allingham
40397cc000 update
svn: r2194
2003-10-05 04:35:22 +00:00
Don Allingham
37303b8b85 update
svn: r2191
2003-10-04 20:04:45 +00:00
Alex Roitman
081d437873 * src/plugins/BookReport.py (BookReportSelector.__init__):
Use underline for labels.
* src/plugins/book.glade: Rework the dialog's layout.


svn: r2189
2003-10-02 03:46:09 +00:00
Alex Roitman
0fa1c5e4ec * src/filters/MatchSndEx2.py: Make consistent use of ...
* src/filters/RegExMatch.py: Likewise.
* src/filters/SubString.py: Likewise.


svn: r2188
2003-09-30 04:22:50 +00:00
Alex Roitman
cd028353b3 * src/Plugins.py: Fix label for the tools dialog.
* src/gramps.glade: Add accelerators to filter controls.
* src/places.glade: Fix accelerator in Edit Plase dialog.
* src/gramps_main.py: Typo.
* src/PlaceView.py: Likewise.
* src/GenericFilter.py: Likewise.

* src/gramps_main.py: fixed delete person problem.


svn: r2187
2003-09-30 04:19:35 +00:00
Don Allingham
44035eca90 update
svn: r2186
2003-09-30 03:37:01 +00:00
Alex Roitman
23b26aa5fe * TODO: Update the list with the postponed todo items.
* configure.in: Increment release number.


svn: r2184
2003-09-30 00:08:45 +00:00
Alex Roitman
78aa304a39 * Version 0.9.4: the "This used to bug me..." release.
svn: r2183
2003-09-29 04:22:26 +00:00
Tim Waugh
a400b7b189 2003-09-28 Tim Waugh <twaugh@redhat.com>
* configure.in: Fetch ChangeLog from srcdir, not builddir (fixes
        'make distcheck').
        * src/po/Makefile.am: Fetch zh_CN.po from srcdir, not builddir (fixes
        'make distcheck').


svn: r2179
2003-09-28 10:50:41 +00:00
Alex Roitman
2d85d35d05 * doc/gramps-manual/C/filtref.xml: Manual corrections.
* doc/gramps-manual/C/cmdline.xml: Likewise.
* doc/gramps-manual/C/mainwin.xml: Likewise.
* doc/gramps-manual/C/figures/pedigree.png: Update figure.


svn: r2177
2003-09-27 23:01:41 +00:00
Don Allingham
3e2fadbe50 update
svn: r2176
2003-09-27 19:42:05 +00:00
Alex Roitman
b0b830d539 * src/po/it.po: Italian translation.
svn: r2172
2003-09-26 15:11:33 +00:00
Alex Roitman
49446f12b5 * doc/gramps-manual/C/figures/family-alt.png: Add figure.
* doc/gramps-manual/C/figures/family.png: Update figure.
* doc/gramps-manual/C/figures/places.png: Update figure.


svn: r2171
2003-09-26 03:41:14 +00:00
Alex Roitman
a353edb3a0 * src/plugins/rel_ru.py: Add more possible language codes.
svn: r2170
2003-09-26 02:23:22 +00:00
Alex Roitman
8628171a48 * src/plugins/DetAncestralReport.py: Fix translatable string.
svn: r2169
2003-09-25 23:11:03 +00:00
Don Allingham
a25b1ebdc0 update
svn: r2167
2003-09-24 22:49:59 +00:00
Don Allingham
6793165ebb ChangeLog
svn: r2165
2003-09-24 02:25:44 +00:00
Alex Roitman
4ae6859447 * doc/gramps-manual/C/figures/cfe-ar.png: Add figure.
* doc/gramps-manual/C/figures/bookreport.png: Update figure.
* doc/gramps-manual/C/figures/gedcom-export.png: Likewise.
* doc/gramps-manual/C/figures/first-open.png: Likewise.
* doc/gramps-manual/C/figures/mainwin.png: Likewise.
* doc/gramps-manual/C/figures/side-filt.png: Likewise.
* doc/gramps-manual/C/figures/sources.png: Likewise.
* doc/gramps-manual/C/figures/media.png: Likewise.


svn: r2160
2003-09-23 04:04:14 +00:00
Alex Roitman
c6b5a7e663 * src/latin_utf8.py (latin_to_utf8): Convert to unicode only if needed.
svn: r2159
2003-09-23 02:50:53 +00:00
Alex Roitman
aba8ba3512 * src/po/ru.po: Update Russian translation.
* doc/gramps-manual/C/gramps-manual.xml: Update manual.
* doc/gramps-manual/C/filtref.xml: Add file -- split appendix
into a separate file.
* doc/gramps-manual/C/cmdline.xml: Likewise.
* doc/gramps-manual/C/getstart.xml: Likewise.
* doc/gramps-manual/C/mainwin.xml: Likewise.
* doc/gramps-manual/C/usage.xml: Likewise.
* doc/gramps-manual/C/custom.xml: Likewise.
* doc/gramps-manual/C/Makefile.am: Ship new files.
* doc/gramps-manual/C/Makefile.in: Likewise.


svn: r2157
2003-09-23 00:48:01 +00:00
Alex Roitman
04201a42ba * src/plugins/book.glade: Minor improvements to the dialogs.
* doc/gramps-manual/C/gramps-manual.xml: Update manual.


svn: r2156
2003-09-22 05:10:59 +00:00
Don Allingham
13845e76cb update
svn: r2155
2003-09-22 01:54:28 +00:00
Don Allingham
6f75d2b539 update
svn: r2152
2003-09-20 19:56:27 +00:00
Don Allingham
d135644856 update
svn: r2150
2003-09-20 18:21:59 +00:00
Don Allingham
36a65b642b update
svn: r2147
2003-09-20 02:19:30 +00:00
Tim Waugh
9d981e28cf 2003-09-19 Tim Waugh <twaugh@redhat.com>
* gramps.spec.in: Own %{_datadir}/gramps directory.


svn: r2145
2003-09-19 10:03:28 +00:00
Tim Waugh
cd6344c317 2003-09-19 Tim Waugh <twaugh@redhat.com>
* src/Makefile.am: Fix build when builddir != srcdir.
        * gramps.spec.in: Ship grampslib.so.


svn: r2144
2003-09-19 09:58:50 +00:00
Alex Roitman
5938ab7e9b * src/po/template.po: Update translation template.
svn: r2143
2003-09-19 03:33:42 +00:00
Alex Roitman
557d4e7df0 * src/Makefile.am: Install grampslib under $pkglibdir/$PACKAGE
* src/Makefile.in: Likewise.
* gramps.sh.in: Add $pkglibdir/$PACKAGE to the $PYTHONPATH.


svn: r2142
2003-09-19 03:29:33 +00:00
Don Allingham
dd365fe9de update
svn: r2141
2003-09-18 03:00:17 +00:00
Alex Roitman
289163145a * 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
08b8f46c4a * 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
552fdfbcfa update
svn: r2137
2003-09-16 03:34:21 +00:00
Alex Roitman
a10dd07e32 * 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
30820798bf * gramps.sh.in: Fix bashism to have a valid bourn-shell script.
svn: r2134
2003-09-16 01:53:49 +00:00
Alex Roitman
4f738022e8 * 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
8a3bd40f52 * 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
f89c9b7e26 * 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
3fdbe65386 update
svn: r2130
2003-09-15 02:54:15 +00:00
Don Allingham
d9f81ee52d update
svn: r2128
2003-09-15 02:42:48 +00:00
Don Allingham
fdea34896e update
svn: r2126
2003-09-14 04:51:14 +00:00
Alex Roitman
209c8b64bb * 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
ffaf5013c1 * 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
928f6aebd9 * 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
8047d9b290 update
svn: r2121
2003-09-13 04:58:20 +00:00
Don Allingham
00ee47e2e2 update
svn: r2118
2003-09-12 03:17:51 +00:00
Don Allingham
84422eaeef update
svn: r2116
2003-09-11 02:59:47 +00:00
Alex Roitman
70ba1892f9 * 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
9f09421812 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
2a46248af7 * 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
8d2c37f2b4 (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
07009fbe9d * 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
4ba080738c update
svn: r2109
2003-09-09 01:48:50 +00:00
Tim Waugh
a8f5de5849 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
7afaf5ddc4 * 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
1242e9a2fa update
svn: r2105
2003-09-08 04:20:14 +00:00
Alex Roitman
3795edd1d4 * 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
724d66ee19 * src/plugins/SimpleBookTitle.py: Add image options.
svn: r2102
2003-09-08 03:44:54 +00:00
Don Allingham
c47f43339e update
svn: r2101
2003-09-08 02:33:25 +00:00
Alex Roitman
788dc2421f * src/SelectObject.py: Add module.
* src/choose.glade: Add select_object dialog.


svn: r2100
2003-09-08 01:24:40 +00:00
Alex Roitman
0b6082e997 * src/plugins/FilterEditor.py (MyInteger): Fix type conversions.
svn: r2097
2003-09-07 02:55:41 +00:00
Don Allingham
0c877a59e2 update
svn: r2096
2003-09-06 23:11:59 +00:00
Alex Roitman
738b646f05 * 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
9e6a19860e * 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
ab232deacd update
svn: r2092
2003-09-05 03:35:09 +00:00
Don Allingham
20cae13061 update
svn: r2090
2003-09-04 03:52:18 +00:00
Alex Roitman
8f88ab5b6b * 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
3b3e0a29f6 update
svn: r2086
2003-09-03 04:20:11 +00:00
Alex Roitman
c525f2feec * 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
94f730a17a 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
0d463a5ea2 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
b3298e8d35 * 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
ea57b37251 update
svn: r2080
2003-09-02 03:53:50 +00:00
Alex Roitman
63d16e3085 * 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
41ba7f0166 update
svn: r2077
2003-09-02 02:56:57 +00:00
Don Allingham
c08b854d79 update
svn: r2075
2003-09-02 02:37:14 +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
Tim Waugh
07543dbdde 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
aafd981d8d update
svn: r2072
2003-09-01 15:46:23 +00:00
Tim Waugh
6f7c2daa5b 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
Alex Roitman
aef12f25bf * 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
c2b86fbed5 * 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
c8db48c32e update
svn: r2066
2003-08-31 03:29:35 +00:00
Alex Roitman
32a3796ae1 * 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
ee00dedf8d * 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
f7a50210b2 * 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
cf8a5ad12f * src/plugins/DesGraph.py: Enable Book item functionality.
svn: r2058
2003-08-29 04:23:06 +00:00
Alex Roitman
f85214c358 * 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
06dabc491e update
svn: r2055
2003-08-28 01:50:47 +00:00
Don Allingham
c6d3ab93ea update
svn: r2053
2003-08-27 04:35:46 +00:00
Alex Roitman
ba34fb283d * NEWS: Bring up to date.
* TODO: Likewise.


svn: r2051
2003-08-27 00:32:13 +00:00
Alex Roitman
fe159d611a * 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
704bce3232 * 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
eced79a350 update
svn: r2048
2003-08-26 03:46:29 +00:00
Alex Roitman
7c9ffc6935 * src/docgen/OpenOfficeDoc.py (open): Typos.
svn: r2045
2003-08-25 23:58:01 +00:00
Alex Roitman
7adaa38b83 * 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
abccad7131 * src/gramps.glade: Add Alternative Family View tab.
svn: r2043
2003-08-25 18:33:52 +00:00
Alex Roitman
358f95a2be * 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
fb10339133 * 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
Don Allingham
fb243337f6 update
svn: r2039
2003-08-25 03:14:00 +00:00
Don Allingham
f37c5ffc77 update
svn: r2037
2003-08-25 03:12:00 +00:00
Alex Roitman
3d80f515b2 * 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
c5e2f71696 update
svn: r2034
2003-08-23 21:10:37 +00:00
Don Allingham
567be8e946 update
svn: r2032
2003-08-21 03:49:47 +00:00
Don Allingham
5fa2549461 update
svn: r2030
2003-08-20 22:35:18 +00:00
Tim Waugh
23d43ce3de 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
36c79fc884 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
7be1292441 * 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
Alex Roitman
cdb5163bc0 Update
svn: r2023
2003-08-19 02:55:46 +00:00
Alex Roitman
c561472619 Enable context menu upon right-click in the People View with Back,
svn: r2022
2003-08-19 02:55:27 +00:00
Alex Roitman
8aa632c51a * 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
f3670c4163 * src/preferences.glade: Provide hotkeys for the new default view
options.


svn: r2020
2003-08-18 21:05:16 +00:00
Alex Roitman
2af8e23521 * src/gramps_main.py: Better behavior for the history menu.
svn: r2019
2003-08-17 16:07:06 +00:00
Alex Roitman
d9b05dab40 * src/gramps_main.py: Functional history submenu of the Go menu.
svn: r2018
2003-08-17 04:01:52 +00:00
Don Allingham
b5f75c0a77 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Alex Roitman
c750b2c125 * 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
3fa85c1828 update
svn: r2014
2003-08-16 03:26:43 +00:00
Alex Roitman
e6c17a301b * 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
745fa810ea * 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
e2c4969585 * 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
Don Allingham
498d344ada update
svn: r2006
2003-08-14 15:57:39 +00:00
Don Allingham
ff76c8b79e update
svn: r2004
2003-08-14 15:51:58 +00:00
Don Allingham
b0697ae037 update
svn: r2001
2003-08-14 03:52:29 +00:00
Don Allingham
cee1c8944f update
svn: r1998
2003-08-13 04:28:53 +00:00
Don Allingham
880dc551ae update
svn: r1996
2003-08-13 03:21:28 +00:00
Don Allingham
d4144336d3 update
svn: r1994
2003-08-12 03:07:39 +00:00
Alex Roitman
526803a8bd * TODO: Some nice features to implement, mostly from RFE at sf.net.
svn: r1992
2003-08-11 23:46:09 +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
b997206104 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
f879bc29b1 update
svn: r1989
2003-08-11 03:04:15 +00:00
Alex Roitman
478eb44bfc * NEWS: More new items.
svn: r1987
2003-08-11 02:54:58 +00:00
Alex Roitman
cb359e8d47 * 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
43764dbddf update
svn: r1985
2003-08-10 23:25:40 +00:00
Don Allingham
9cc4ef8db9 update
svn: r1983
2003-08-10 21:55:51 +00:00
Don Allingham
2bae00809d update
svn: r1981
2003-08-10 21:53:39 +00:00
Don Allingham
9a4513c95f update
svn: r1979
2003-08-10 18:09:03 +00:00
Tim Waugh
92be57080b 2003-08-10 Tim Waugh <twaugh@redhat.com>
* configure.in: Use 0.CVS[date] for RELEASE.  '-' is not allowed in
        RPM release strings, and prefixing with '0.' allows the final version
        to be version-compared as newer.


svn: r1977
2003-08-10 10:28:03 +00:00
Don Allingham
f489a04935 update
svn: r1976
2003-08-10 05:28:34 +00:00
Alex Roitman
81a0f157d4 * 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
84972ea9f2 * 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
157286f955 * src/PaperMenu.py: Add A3 size to the default size list.
svn: r1972
2003-08-08 15:28:59 +00:00
Don Allingham
b3a85ff0a5 update
svn: r1970
2003-08-08 03:17:59 +00:00
Alex Roitman
c0af34c9a4 * src/po/template.po: Update the translation template.
svn: r1967
2003-08-07 12:31:54 +00:00
Lars Lundin
a082df7773 * 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
f96554424a * 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
3a7293dd47 * 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
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
Alex Roitman
4ce0bd7242 * 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
cdc5c5e784 * 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
a349a401c2 * 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
e95dc44bbf * 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
26d56c1408 * src/po/template.po: Update the above corrections in template.
svn: r1957
2003-08-03 04:45:01 +00:00
Alex Roitman
32961e9cdf * 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
6d579be545 * 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
f3ef4ee3b8 update
svn: r1954
2003-08-02 03:31:02 +00:00
Don Allingham
0b2f5633f8 update
svn: r1952
2003-08-02 03:19:45 +00:00
Don Allingham
8080269cc2 update
svn: r1950
2003-08-02 02:22:50 +00:00
Don Allingham
9b3253a9bf update
svn: r1948
2003-08-01 03:40:10 +00:00
Alex Roitman
eb226ae716 Update
svn: r1946
2003-08-01 02:02:51 +00:00
Alex Roitman
0933db5820 * 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
0f923ca48f update
svn: r1944
2003-07-31 12:01:40 +00:00
Don Allingham
b0fe17bb89 update
svn: r1941
2003-07-29 04:36:45 +00:00
Tim Waugh
414e4aa404 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
dfe3c031ec 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
Tim Waugh
671f5e7868 2003-07-28 Tim Waugh <twaugh@redhat.com>
* src/plugins/GraphViz.py: Adapt.


svn: r1937
2003-07-28 20:29:37 +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