Commit Graph

349 Commits

Author SHA1 Message Date
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
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
80ebb1b82b update
svn: r2066
2003-08-31 03:29:35 +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
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
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
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
5b3b783049 update
svn: r2055
2003-08-28 01:50:47 +00:00
Don Allingham
2380834b1e update
svn: r2053
2003-08-27 04:35:46 +00:00
Alex Roitman
43c17667e6 * NEWS: Bring up to date.
* TODO: Likewise.


svn: r2051
2003-08-27 00:32:13 +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
d63ec34a2f update
svn: r2048
2003-08-26 03:46:29 +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
Don Allingham
19f9fb3750 update
svn: r2039
2003-08-25 03:14:00 +00:00
Don Allingham
e126a9b007 update
svn: r2037
2003-08-25 03:12:00 +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
c37fe90b37 update
svn: r2034
2003-08-23 21:10:37 +00:00
Don Allingham
6290a39ccf update
svn: r2032
2003-08-21 03:49:47 +00:00
Don Allingham
5887f26d99 update
svn: r2030
2003-08-20 22:35:18 +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
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
Alex Roitman
889a336e94 Update
svn: r2023
2003-08-19 02:55:46 +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
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
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
Don Allingham
80f0cb2a27 update
svn: r2006
2003-08-14 15:57:39 +00:00
Don Allingham
739e4d2cca update
svn: r2004
2003-08-14 15:51:58 +00:00
Don Allingham
f313de4052 update
svn: r2001
2003-08-14 03:52:29 +00:00
Don Allingham
a27c351000 update
svn: r1998
2003-08-13 04:28:53 +00:00
Don Allingham
215c831fef update
svn: r1996
2003-08-13 03:21:28 +00:00
Don Allingham
428f2242e2 update
svn: r1994
2003-08-12 03:07:39 +00:00
Alex Roitman
703058bd27 * TODO: Some nice features to implement, mostly from RFE at sf.net.
svn: r1992
2003-08-11 23:46:09 +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
0bb669c699 update
svn: r1989
2003-08-11 03:04:15 +00:00
Alex Roitman
7f967572da * NEWS: More new items.
svn: r1987
2003-08-11 02:54:58 +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
72efb337f4 update
svn: r1985
2003-08-10 23:25:40 +00:00
Don Allingham
1b2fcf9a64 update
svn: r1983
2003-08-10 21:55:51 +00:00
Don Allingham
9f55fd18d8 update
svn: r1981
2003-08-10 21:53:39 +00:00
Don Allingham
f8b4eb6505 update
svn: r1979
2003-08-10 18:09:03 +00:00
Tim Waugh
eaa712585c 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
7010adcd2c update
svn: r1976
2003-08-10 05:28:34 +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
Don Allingham
13569421af update
svn: r1970
2003-08-08 03:17:59 +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
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
0d0518e21f update
svn: r1954
2003-08-02 03:31:02 +00:00
Don Allingham
5f35f6178a update
svn: r1952
2003-08-02 03:19:45 +00:00
Don Allingham
66d0ce1f15 update
svn: r1950
2003-08-02 02:22:50 +00:00
Don Allingham
f88df74451 update
svn: r1948
2003-08-01 03:40:10 +00:00
Alex Roitman
a93605c8a7 Update
svn: r1946
2003-08-01 02:02: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
4d540111be update
svn: r1944
2003-07-31 12:01:40 +00:00
Don Allingham
12e2e5c2c4 update
svn: r1941
2003-07-29 04:36:45 +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
Tim Waugh
22dbff7ea0 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
3cdc0261ef 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
Don Allingham
1755b3fadc update
svn: r1934
2003-07-27 18:36:57 +00:00
Don Allingham
ad94f32a9f update
svn: r1932
2003-07-27 03:51:35 +00:00