Commit Graph

326 Commits

Author SHA1 Message Date
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
Don Allingham
acf2b32c20 update
svn: r1934
2003-07-27 18:36:57 +00:00
Don Allingham
e398a1d583 update
svn: r1932
2003-07-27 03:51:35 +00:00
Tim Waugh
bc09c11778 2003-07-25 Tim Waugh <twaugh@redhat.com>
* src/Report.py: Support for making output formats printable.
        * src/plugins/GraphViz.py: Make it printable.


svn: r1930
2003-07-25 18:22:07 +00:00
Tim Waugh
794b331a82 2003-07-25 Tim Waugh <twaugh@redhat.com>
* src/plugins/ReadGedcom.py: Handle ABBR in source definitions (i.e.
        handle the GEDCOM that our exporter writes).


svn: r1929
2003-07-25 10:45:24 +00:00
Tim Waugh
9e51368702 2003-07-24 Tim Waugh <twaugh@redhat.com>
* src/GenericFilter.py: Several more filters which iterate over
        other filters.


svn: r1928
2003-07-24 16:47:36 +00:00
Tim Waugh
7cfbe35179 2003-07-24 Tim Waugh <twaugh@redhat.com>
* src/plugins/FilterEditor.py: Fix 'edit' to do so in place.


svn: r1926
2003-07-24 14:42:15 +00:00
Tim Waugh
fd5e6a761a 2003-07-23 Tim Waugh <twaugh@redhat.com>
* src/plugins/WriteGedcom.py, src/plugins/gedcomexport.glade: New
        options for excluding sources and notes for living people.


svn: r1925
2003-07-23 14:15:34 +00:00
Tim Waugh
a5c11501bb 2003-07-23 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: More translation bits.  Include
        source author and publication information.


svn: r1924
2003-07-23 13:52:17 +00:00
Alex Roitman
cd577b1a38 * src/SelectChild.py: Replace braces with parentheses in named format
string parameter.


svn: r1923
2003-07-23 05:49:02 +00:00
Tim Waugh
aafca6b2cd 2003-07-22 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Mark translation strings.


svn: r1922
2003-07-22 17:40:05 +00:00
Tim Waugh
0acc01c46c 2003-07-22 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Mark the easy translation strings.
        Start tentative work on making the rest translatable.


svn: r1921
2003-07-22 11:53:04 +00:00
Tim Waugh
6afedf0d52 2003-07-22 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Mark the easy translation strings.


svn: r1920
2003-07-22 11:40:03 +00:00
Tim Waugh
f8f8f480f8 2003-07-22 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py: Made Person.probablyAlive() take partners into
        consideration if all else fails.


svn: r1919
2003-07-22 10:52:55 +00:00
Tim Waugh
b0d15a6b01 2003-07-22 Tim Waugh <twaugh@redhat.com>
* src/plugins/WriteGedcom.py, src/plugins/gedcomexport.glade: New
        option for obscuring names of living people.


svn: r1918
2003-07-22 10:14:49 +00:00
Don Allingham
b83feccfea update
svn: r1917
2003-07-22 04:45:49 +00:00
Alex Roitman
8c28b12035 * src/MergeData.py: Various merge fixes.
svn: r1915
2003-07-22 04:12:58 +00:00
Alex Roitman
039642d3d7 Update
svn: r1914
2003-07-21 13:18:35 +00:00
Tim Waugh
058c0d760b 2003-07-21 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py: Made Person.probablyAlive() smarter.


svn: r1913
2003-07-21 11:20:31 +00:00
Don Allingham
430db175a7 update
svn: r1912
2003-07-21 03:28:41 +00:00
Don Allingham
e4d0dc71b4 update
svn: r1910
2003-07-21 02:50:15 +00:00
Don Allingham
ab9f22573c update
svn: r1908
2003-07-21 00:14:37 +00:00
Don Allingham
fa97897da1 update
svn: r1906
2003-07-21 00:13:59 +00:00
Tim Waugh
b70d077e8e 2003-07-20 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Include source notes.  Adjusted default
        styles.


svn: r1904
2003-07-20 12:19:12 +00:00
Alex Roitman
2a33c54618 * src/docgen/OpenOfficeDoc.py (_write_styles_file): Switch paragraph
alignment to "start" and "end" (was "left and "right").
* src/plugins/AncestorReport.py: Change prefixed style name ("AHN-").
Needed because HTML gets confised by ":" in the class name.
* src/plugins/Ancestors.py: Likewise ("AR-").
* src/plugins/DescendReport.py: Likewise ("DR-").
* src/plugins/DetAncestralReport.py: Likewise ("DAR-").
* src/plugins/DetDescendantReport.py: Likewise ("DDR-").
* src/plugins/FtmStyleAncestors.py: Likewise ("FTA-").
* src/plugins/FtmStyleDescendants.py: Likewise ("FTD-").
* src/plugins/FamilyGroup.py: Likewise ("FGR-").
* src/plugins/CustomBookText.py: Likewise ("CBT-").
* src/plugins/SimpleBookTitle.py: Likewise ("SBT-").
* src/plugins/IndivSummary.py: Likewise ("IVS-").
* src/plugins/IndivComplete.py: Likewise ("IDS-").


svn: r1903
2003-07-18 13:43:13 +00:00
Alex Roitman
1982df480a Update
svn: r1902
2003-07-18 13:32:11 +00:00