Commit Graph

968 Commits

Author SHA1 Message Date
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
Don Allingham
a115be7739 * src/docgen/PdfDoc.py: handle multiple image classes defined
by reportlab


svn: r2104
2003-09-08 04:20:01 +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
Don Allingham
0dcd1fa8da * src/gramps_main.py: re-present the open dialog box on
a failure to open a file.
* src/gramps.glade: change Home button from stock version
to something we can translate
* src/const.py.in: Add "Alternate Marriage" as a family
event type.


svn: r2099
2003-09-07 18:45:22 +00:00
Don Allingham
fd6da64350 * src/gramps_main.py: re-present the open dialog box on
a failure to open a file.
* src/gramps.glade: change Home button from stock version
to something we can translate


svn: r2098
2003-09-07 14:16:25 +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
Don Allingham
ac2bc08335 * src/plugins/FilterEditor.py (MyPlaces): fix handling of get_text,
set_text tasks. Use the default from the base class.


svn: r2095
2003-09-06 23:11:29 +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
7105782475 * src/RelLib.py: backout yesterday's change
svn: r2091
2003-09-05 03:34:44 +00:00
Don Allingham
20cae13061 update
svn: r2090
2003-09-04 03:52:18 +00:00
Don Allingham
4aba6b9fe6 * src/RelLib.py: select the lowest ID for the default person
if the default person is not set


svn: r2089
2003-09-04 03:51:58 +00:00
Don Allingham
fc185e9000 Added BaseDoc.py
svn: r2088
2003-09-03 14:17:53 +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
Don Allingham
b6788a7fb3 * src/po/Makefile.am: convert .po files to unicode before
running through msgfmt
* src/revision.glade: make the open dialog box a bit bigger


svn: r2085
2003-09-03 04:19:25 +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
Don Allingham
caa78c7f0f * src/docgen/OpenOfficeDoc.py: Fix styles
svn: r2079
2003-09-02 03:28:27 +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
421c8abb17 * src/docgen/PSDrawDoc.py: Change from Text/DrawDoc to BaseDoc
* src/docgen/SvgDrawDoc.py: Change from Text/DrawDoc to BaseDoc


svn: r2076
2003-09-02 02:56:42 +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
Don Allingham
9964ad1049 make Witness inherit from Persistent
svn: r2071
2003-09-01 15:46:09 +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
Don Allingham
fbf2caaeb2 * src/docgen/PdfDoc.py (left_print): Don't convert to cm.
svn: r2069
2003-09-01 02:23:39 +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
Don Allingham
8532b385e9 * src/docgen/PdfDoc.py: Support drawing functions.
* src/docgen/PdfDrawDoc.py: remove - all functions integrated into
PdfDoc.py
* src/DbPrompter.py: change title from "Save" to "Create" when
opening a new database, prompt with last database saved.
* src/FamilyView.py: don't add columns to the child list if it
is already initialized


svn: r2065
2003-08-31 03:29:12 +00:00
Don Allingham
e5195ecf75 * PdfDoc.py: Support drawing functions.
* PdfDrawDoc.py: remove - all functions integrated into
PdfDoc.py
* DbPrompter.py: change title from "Save" to "Create" when
opening a new database, prompt with last database saved.


svn: r2064
2003-08-31 03:26:13 +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
2d8a0a60a8 Update
svn: r2062
2003-08-30 02:37:53 +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
cc2b5e9f3b * src/plugins/TimeLine.py: Likewise.
svn: r2060
2003-08-30 00:15:10 +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
18af30c015 Update
svn: r2057
2003-08-29 04:14:59 +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
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