Commit Graph

917 Commits

Author SHA1 Message Date
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
0830050603 * 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
c6d3ab93ea update
svn: r2053
2003-08-27 04:35:46 +00:00
Don Allingham
b06bb6251d * src/gramps_main.py: reinitialize interface after preferences
has been clicked.


svn: r2052
2003-08-27 03:46:27 +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
Don Allingham
eb60bb7782 * 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
808eacaa47 Update
svn: r2046
2003-08-26 01:19:41 +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
Alex Roitman
666428c576 Update
svn: r2040
2003-08-25 03:54:08 +00:00
Don Allingham
fb243337f6 update
svn: r2039
2003-08-25 03:14:00 +00:00
Don Allingham
af665d5a65 * 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
f37c5ffc77 update
svn: r2037
2003-08-25 03:12:00 +00:00
Don Allingham
5f736636a3 * 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
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
49fbb18740 * 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
567be8e946 update
svn: r2032
2003-08-21 03:49:47 +00:00
Don Allingham
dc1678e850 * src/plugins/GraphViz.py: Allow truetype or postscript fonts
svn: r2031
2003-08-21 03:47:35 +00:00
Don Allingham
5fa2549461 update
svn: r2030
2003-08-20 22:35:18 +00:00
Don Allingham
b0492c0223 * 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
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
3c24b779a8 Update
svn: r2026
2003-08-19 13:55: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
Don Allingham
2da2a88cd4 horizontal buttons
svn: r2024
2003-08-19 04:31:01 +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
Don Allingham
fe00f917f0 * 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
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
Don Allingham
c67a3ef6fb * 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
dd731ec0e7 * 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
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
Jens Arvidsson
2d6fd1e889 Updated header info
svn: r2008
2003-08-14 18:01:24 +00:00
Jens Arvidsson
6ed2fe127c Updated header info
svn: r2007
2003-08-14 17:52:23 +00:00
Don Allingham
498d344ada update
svn: r2006
2003-08-14 15:57:39 +00:00
Don Allingham
bd70df5b49 * 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
ff76c8b79e update
svn: r2004
2003-08-14 15:51:58 +00:00
Don Allingham
d35011a6dd * 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
efdad54c62 GNOME/python configure detection
svn: r2002
2003-08-14 03:53:41 +00:00
Don Allingham
b0697ae037 update
svn: r2001
2003-08-14 03:52:29 +00:00
Don Allingham
206c3a29c2 * 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
5df51f0b64 fix typo
svn: r1999
2003-08-13 04:32:15 +00:00
Don Allingham
cee1c8944f update
svn: r1998
2003-08-13 04:28:53 +00:00
Don Allingham
de7f76b347 * 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
880dc551ae update
svn: r1996
2003-08-13 03:21:28 +00:00
Don Allingham
e10e4b8a91 * src/po/it.po: updated Italian translation
svn: r1995
2003-08-13 02:19:20 +00:00
Don Allingham
d4144336d3 update
svn: r1994
2003-08-12 03:07:39 +00:00
Don Allingham
12ff47c896 * 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
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
Don Allingham
24ff3f0422 * 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
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
27611d6366 * configure.in: Modernize calls to AC_INIT, AM_INIT_AUTOMAKE and
AC_OUTPUT.  Require Autoconf >= 2.57 and Automake >= 1.6.3.
Remove many superfluous AC_SUBSTs.


svn: r1984
2003-08-10 23:25:22 +00:00
Don Allingham
9cc4ef8db9 update
svn: r1983
2003-08-10 21:55:51 +00:00
Don Allingham
dd38f08008 * src/rule.glade: eliminate unneeded label and increased size
svn: r1982
2003-08-10 21:55:15 +00:00
Don Allingham
2bae00809d update
svn: r1981
2003-08-10 21:53:39 +00:00
Don Allingham
74ab17f7b1 * src/plugins/FilterEditor.py: handle Add/Edit of rules correctly
svn: r1980
2003-08-10 21:53:02 +00:00
Don Allingham
9a4513c95f update
svn: r1979
2003-08-10 18:09:03 +00:00
Don Allingham
5fa0480f7b * 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
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
Don Allingham
8b7707dc2b * 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
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
Jens Arvidsson
2c096f956e Second translation update for 0.9.3
svn: r1971
2003-08-08 08:48:33 +00:00
Don Allingham
b3a85ff0a5 update
svn: r1970
2003-08-08 03:17:59 +00:00
Don Allingham
fc2759edf9 * src/FamilyView.py: set menu title
svn: r1969
2003-08-08 03:17:38 +00:00
Lars Lundin
6df59a418d Translations for 0.9.3 updated after typo fix
svn: r1968
2003-08-07 13:08:41 +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
Lars Lundin
2c5f966e10 Translations for 0.9.3 updated
svn: r1963
2003-08-06 12:09:17 +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