Commit Graph

1038 Commits

Author SHA1 Message Date
Don Allingham
87a72111f7 * src/PedView.py: add a '*' to the popup menu if the child has children
svn: r2400
2003-11-28 21:23:59 +00:00
Don Allingham
f79d5e90ff * src/po/template.po: updated translatable strings
svn: r2398
2003-11-27 18:16:17 +00:00
Don Allingham
9489883bc8 * src/AttrEdit.py: Add warning when a new attribute type is added
to the database
* src/EventEdit.py: Add warning when a new event type is added
to the database


svn: r2396
2003-11-27 18:01:20 +00:00
Frode Jemtland
26ca56dce3 Updated both the desktop files so the no and nb translations are equal in both.
svn: r2395
2003-11-26 23:45:57 +00:00
Frode Jemtland
4e70d761ec Error correction
svn: r2393
2003-11-26 23:35:56 +00:00
Alex Roitman
2e7f031cd5 * src/gramps_main.py (on_faq_activate): Add function.
* src/gramps.glade: Add faq window.


svn: r2391
2003-11-26 19:15:24 +00:00
Don Allingham
ea8be3cc34 * src/gramps_main.py: handle update_after edit properly, so that
name changes will put entry in the correct category
* src/PeopleView.py: cleanup
* src/PeopleStore.py: delete stale iter from dictionary when no
longer used.


svn: r2387
2003-11-26 16:42:54 +00:00
Alex Roitman
4536d98e94 * src/Marriage.py (__init__): Call AutoComp.AutoCombo() prior to
setting text in place and temple combos. Set place text to empty
string if LdsSeal is empty. Markup lds_label as bold if LdsSeal is
not empty.


svn: r2386
2003-11-26 02:21:29 +00:00
Frode Jemtland
0f54e57f6f Updated more keyboard shortcuts, fixed some typos
svn: r2383
2003-11-25 22:54:39 +00:00
Don Allingham
a335e3ab0b * src/Utils.py (search_for): check for directory
svn: r2379
2003-11-25 21:34:39 +00:00
Don Allingham
c23723ac8b * src/RelImage.py: replace system call with Utils.search_for
* src/Utils.py: added search_for to look for an executable in the current
path

* FAQ: removed question 18 (how fast is GRAMPS)
* src/PeopleStore.py: set sort data for top level nodes. Allows the first
and last nodes to be sorted properly.


svn: r2374
2003-11-25 17:45:34 +00:00
Frode Jemtland
dd7d6877eb Fixed some errors
svn: r2370
2003-11-25 00:26:47 +00:00
Frode Jemtland
119a2256c4 Addet the no.po file, and updated the configuer.in so it would know about it. no.po is equal to nb.po.
svn: r2369
2003-11-24 23:21:16 +00:00
Don Allingham
81338d1839 * src/gramps_main.py: just update information after an edit
instead of deleting/re-enter. Caused pygtk to segfault
* src/PeopleView.py: provide update person function
* src/dialog.glade: remove unused callbacks


svn: r2367
2003-11-24 02:56:13 +00:00
Alex Roitman
94ddbb601c Update
svn: r2366
2003-11-23 20:55:14 +00:00
Alex Roitman
c9750198bb * src/FamilyView.py: Do not pass the window to the ChooseParents class.
* src/WriteXML.py (write_witness): Fix the name string before writing
(fixes #847600).


svn: r2365
2003-11-23 20:53:20 +00:00
Frode Jemtland
82d62c874b Updated some keyboard sortcuts. Cleaning out some errors.
svn: r2364
2003-11-23 20:35:35 +00:00
Alex Roitman
93590352de * src/ChooseParents.py (ChooseParents.__init__): Revert the dialog
back to being non-modal (otherwise adding new people is impossible).


svn: r2363
2003-11-23 20:32:40 +00:00
Don Allingham
7e8196ad0e update
svn: r2362
2003-11-22 15:16:54 +00:00
Don Allingham
06a9058eca * src/preferences.glade: make the title on the dialog non-expandable
svn: r2361
2003-11-22 15:15:13 +00:00
Alex Roitman
609d18465d * src/po/fr.po: Fix format line.
svn: r2359
2003-11-21 15:08:11 +00:00
Alex Roitman
34483dbbd9 * src/FamilyView.py: Enable keyboard navigation in Family View.
svn: r2358
2003-11-20 04:59:36 +00:00
Don Allingham
0b96a875df * src/GrampsCfg.py: Add comment about SUSE naming of gconf
* src/Relationship.py: detect a RuntimeError exception that occurs
when we exceed the recursion depth limit. This occurs when a
relationship loop is detected
* src/gramps_main.py: handle relationship loop message


svn: r2355
2003-11-20 04:18:10 +00:00
Alex Roitman
9ec87fc160 * src/Sources.py: (SourceSelector.on_help_clicked,
SourceEditor.on_help_clicked): Add functions.
* src/srcsel.glade: Add Help buttons to dialogs.
* src/places.glade: Add Help buttons to dialogs.
* src/EditSource.py (on_help_clicked): Add function.
* src/EditPlace.py (on_help_clicked): Add function;
(__init__): Make the dialog modal and a transient for its parent;
* src/PlaceView.py: Pass the window to the EditPlace class.


svn: r2352
2003-11-19 18:00:58 +00:00
Don Allingham
02cded3948 * src/gramps.py: handle python versions with broken setlocale()
* src/po/Makefile.am: don't pass -v to msgfmt


svn: r2351
2003-11-19 17:20:05 +00:00
Alex Roitman
188bfa24a9 * src/ChooseParents.py (ModifyParents.__init__): Make the dialog modal
and a transient for its parent; (ModifyParents.on_help_clicked): Add
function; (ChooseParents.__init__): Make the dialog modal and a
transient for its parent; (ChooseParents.on_help_clicked):
Add function.
* src/FamilyView.py: Pass the window to the ChooseParents classes.


svn: r2349
2003-11-19 03:14:14 +00:00
Alex Roitman
b362afd128 * src/NameEdit.py (on_help_clicked): Add function.
* src/UrlEdit.py (on_help_clicked): Add function.
* src/gramps.glade: Add hot keys to the family view list labels.


svn: r2348
2003-11-19 02:29:41 +00:00
Alex Roitman
69270a29f8 * src/gramps.glade: Add Help buttons to dialogs.
* src/AddSpouse.py (on_spouse_help_clicked): Add function.
* src/SelectChild.py (on_child_help_clicked): Add function.
* src/Marriage.py (on_help_clicked): Add function.
* src/EditPerson.py (on_help_clicked): Add function.
* src/marriage.glade: Add Help button to a dialog.
* src/edit_person.glade: Add Help button to a dialog.
* src/dialog.glade: Add Help buttons to dialogs.
* src/AddrEdit.py (on_help_clicked): Add function.
* src/AttrEdit.py (on_help_clicked): Add function.
* src/EventEdit.py (on_help_clicked): Add function.


svn: r2347
2003-11-18 04:26:06 +00:00
Don Allingham
b8247fb0e2 * src/EditPerson.py: handle LDS status setting properly
* src/RelLib.py: use LDS status for equality comparison


svn: r2344
2003-11-17 00:41:32 +00:00
Don Allingham
69d6694a6a * src/dialog.glade: fixed sizes of dialog windows.
svn: r2342
2003-11-16 02:39:35 +00:00
Don Allingham
2adcb8b8c7 * src/EditPerson.py: Fixed typo
svn: r2340
2003-11-14 22:50:03 +00:00
Don Allingham
1112e78678 * src/FamilyView.py: delete unused code
* src/PeopleView.py: handle uncaught exception
* src/RelLib.py: rebuild person table
* src/gramps_main.py: rebuild display after preferences


svn: r2338
2003-11-14 05:12:38 +00:00
Frode Jemtland
57071d2b40 Initial commit of the translation for Norwegian Bokm�l (nb_NO)
svn: r2337
2003-11-13 22:47:31 +00:00
Alex Roitman
b5e029e27e * src/EditPerson.py: Fix LDS tab label behavior.
* src/Marriage.py: Fix LDS tab label behavior. Fix get_place for LDS (was
using Utils.get_place_from_list which uses deprecated gtk.List and does not
work).


svn: r2336
2003-11-13 21:44:09 +00:00
Alex Roitman
4951bc66b8 files using -kb flag). Add with -kb flag. Add charset info to the header of
all templates.


svn: r2335
2003-11-13 19:55:52 +00:00
Alex Roitman
0967898afa * src/data/templates/blue_edge.tpkg, src/data/templates/marble.tpkg,
src/data/templates/pink_marble.tpkg, src/data/templates/sepia.tpkg,
src/data/templates/sky_border.tpkg: Remove from CVS (need to add binary
files using -kb flag).


svn: r2334
2003-11-13 19:52:34 +00:00
Don Allingham
6881becfa9 * src/GrampsCfg.py: Fixed name format selection problem
svn: r2332
2003-11-13 19:28:58 +00:00
Alex Roitman
6d7f263d52 * src/plugins/WebPage.py (IndividualPage.write_normal_row): Add separators
between the references (comma and space).


svn: r2331
2003-11-13 19:18:09 +00:00
Alex Roitman
5dad0028a1 * src/ImageSelect.py (GlobalMediaProperties.__init__): Find labels from
XML; (redraw_attr_list): Change attribute label; (display_refs): Change
references label; (on_notebook_switch_page): change notes label.
* src/imagesel.glade: Set meaningful label ids, remove bold markup.

* src/docgen/HtmlDoc.py (start_bold, end_bold): Add functions (closes
bug #841277).

* src/EditSource.py (__init__): Find labels from XML.
* src/EventEdit.py: (__init__): Find labels from XML;
* src/NameEdit.py: (__init__): Find labels from XML;


svn: r2330
2003-11-13 18:50:01 +00:00
Don Allingham
4f26fe7f6d update
svn: r2329
2003-11-13 04:25:25 +00:00
Don Allingham
8e60af7310 * src/FamilyView.py: Change column sizes on the FamilyView to
fit with the new column


svn: r2328
2003-11-13 04:24:13 +00:00
Alex Roitman
385c80dcd2 * src/Utils.py (bold_label, unbold label): Add functions.
* src/EditPerson.py (bold_label, unbold label): Remove functions;
Call them from Utils in every instance.
* src/ImageSelect.py (Gallery.load_images): Change label upon load.
* src/Sources.py (SourceTab.redraw): Change label upon redraw.
* src/AddrEdit.py (__init__): Find sources label from XML;
(on_switch_page): Add function.
* src/AttrEdit.py (__init__): Find sources label from XML;
(on_switch_page): Add function.
* src/dialog.glade: Set meaningful label ids, remove bold markup.
* src/EditPlace.py (__init__): Find soucre label from XML.
* src/places.glade: Set meaningful label ids, remove bold markup.
* src/Marriage.py (__init__): Find soucre label from XML;
(on_switch_page): Add function.
* src/marriage.glade: Set meaningful label ids, remove bold markup.
* src/EditSource.py (__init__): Find soucre label from XML.
* src/gramps.glade: Set meaningful label ids, remove bold markup.
* src/EventEdit.py: (__init__): Find soucre label from XML;
(on_switch_page): Add function.
* src/Witness.py (WitnessTab.redraw): Change label upon redraw.
* src/NameEdit.py: (__init__): Find soucre label from XML;
(on_switch_page): Add function.


svn: r2327
2003-11-12 18:45:07 +00:00
Tim Waugh
03cbf74276 2003-11-12 Tim Waugh <twaugh@redhat.com>
* src/WriteXML.py: Fix ID sorting so that RCS versioning is useful
        again (broken in last WriteXML change).


svn: r2326
2003-11-12 13:00:58 +00:00
Alex Roitman
8420160fb4 Update
svn: r2325
2003-11-11 00:38:24 +00:00
Alex Roitman
5eb64234ee * src/edit_person.glade: Set meaningful ids for all tab labels.
* src/EditPerson.py (__init__): Find labels from XML, call
bold_label() if contents is not empty;
(bold_label, unbold label): Add functions;
(redraw_*): Call bold_label or unbold_label based on contents.


svn: r2324
2003-11-11 00:32:28 +00:00
Don Allingham
fa5205c3de * src/plugins/WriteFtree.py: catch file open exception
* src/WriteXML.py: try to handle invalid IDs
* src/RelLib.py: minor organizational cleanup


svn: r2322
2003-11-10 22:31:07 +00:00
Alex Roitman
874bee1f7c * src/edit_person.glade: Set meaningful id for the Notes tab label.
* src/EditPerson.py (__init__): Find notes_label from XML, call
chane_notes() if note is not empty; (change_notes): Add function.


svn: r2321
2003-11-09 23:14:18 +00:00
Alex Roitman
948c9ada08 * src/gramps_main.py (back_pressed, fwd_pressed): Pass event to the
build_menu functions; (build_backhistmenu, build_fwdhistmenu): Use
event for popping the menu.

* NEWS, TODO: catch up with the current CVS state.

* src/Utils.py (history_broken, clearHistory_broken, wasHistory_broken):
Add functions.
* src/plugins/ReorderIds.py(__init__): Call Utils.history_broken upon
reordering.
* src/gramps_main.py (clear_history): Add function;
(redraw_histmenu, fwd_clicked, back_clicked): Clear history if catching
an exception (should be actually handled by reorder plugin, leaving here


svn: r2320
2003-11-07 16:29:27 +00:00
Tim Waugh
1bc08a02ac 2003-11-05 Tim Waugh <twaugh@redhat.com>
* src/PlaceView.py (PlaceView.goto): Scroll to found item.
        * src/SourceView.py (SourceView.goto): Likewise.
        * src/MediaView.py (MediaView.goto): Likewise.

        * src/Find.py (FindBase.show): Have the GtkEntry widget grab focus
        when find dialog is displayed.


svn: r2319
2003-11-05 18:57:47 +00:00
Tim Waugh
fc26fe0ff4 2003-11-05 Tim Waugh <twaugh@redhat.com>
* src/gramps_main.py, src/FamilyView.py: Fix children enumeration
        in family view.


svn: r2318
2003-11-05 11:37:00 +00:00
Tim Waugh
ef14f0fc87 2003-11-05 Tim Waugh <twaugh@redhat.com>
* src/plugins/FilterEditor.py (ShowResults.__init__): Sort
        results.


svn: r2317
2003-11-05 10:58:16 +00:00
Tim Waugh
e05dba5575 Standard says 'jpeg'.
svn: r2316
2003-11-03 12:18:48 +00:00
Tim Waugh
806afb90ae 2003-11-03 Tim Waugh <twaugh@redhat.com>
* src/plugins/WriteGedcom.py (GedcomWriter.write_families): Use
        frefn not prefn.


svn: r2315
2003-11-03 11:59:28 +00:00
Tim Waugh
bb2d6dbaab 2003-11-03 Tim Waugh <twaugh@redhat.com>
* src/plugins/gedcomexport.glade, src/plugins/WriteGedcom.py: Added
        support for external image references.


svn: r2314
2003-11-03 11:58:15 +00:00
Don Allingham
c909903fd5 handle SuSE's broken gconf configuration
svn: r2313
2003-11-02 23:22:36 +00:00
Tim Waugh
d3ad386729 2003-11-02 Tim Waugh <twaugh@redhat.com>
* src/ArgHandler.py, src/DbPrompter,py: clear_database takes no
        additional arguments.


svn: r2312
2003-11-02 16:41:29 +00:00
Tim Waugh
4775ead038 2003-11-02 Tim Waugh <twaugh@redhat.com>
* src/plugins/WriteGedcom.py (GedcomWriter.__init__): Fixed
        default filename for export.


svn: r2311
2003-11-02 12:43:53 +00:00
Don Allingham
9efdcef0fe * src/StartupDialog.py: handle SuSE 9.0's broken handling of
gconf
* src/gramps.py: handle SuSE 9.0's broken handling of gconf


svn: r2309
2003-11-02 00:23:35 +00:00
Don Allingham
a849556a20 * src/plugins/WriteCD.py: launch nautilus to burn:/// after exporting to a CD
* src/PeopleView.py: rebuild after a filter is applied
* src/DbPrompter: remove ZODB option
* src/RelLib.py: remove ZODB option
* src/gramps.glade: remove ZODB option
* src/gramps_main.py: remove ZODB option


svn: r2307
2003-11-01 23:20:15 +00:00
Don Allingham
4dcb9ceb3a * src/PeopleView.py: rebuild after a filter is applied
* src/DbPrompter: remove ZODB option
* src/RelLib.py: remove ZODB option
* src/gramps.glade: remove ZODB option
* src/gramps_main.py: remove ZODB option


svn: r2306
2003-11-01 19:55:30 +00:00
Tim Waugh
38e4401965 2003-11-01 Tim Waugh <twaugh@redhat.com>
* src/gramps_main.py (Gramps.delete_person_clicked): Fix removal
        of multiple people at once (bug #834102).


svn: r2305
2003-11-01 16:01:36 +00:00
Tim Waugh
d07a9b77e1 2003-11-01 Tim Waugh <twaugh@redhat.com>
* src/PeopleStore.py (PeopleStore.remove): Remove
        surname element after last individual with that surname is
        removed (bug #834105).


svn: r2304
2003-11-01 15:34:03 +00:00
Tim Waugh
6625405678 2003-11-01 Tim Waugh <twaugh@redhat.com>
* src/PeopleStore.py: Fixed double-click behaviour (bug #834104).


svn: r2303
2003-11-01 15:01:10 +00:00
Tim Waugh
b5acff953f Removed Partition.py from Makefile.am until it is a bit more cooked.
svn: r2302
2003-10-31 11:44:49 +00:00
Tim Waugh
b8b66d5dc4 2003-10-31 Tim Waugh <twaugh@redhat.com>
* src/plugins/Makefile.am: Add Partition.py.


svn: r2301
2003-10-31 09:55:48 +00:00
Tim Waugh
d770038019 2003-10-31 Tim Waugh <twaugh@redhat.com>
* src/Makefile.am: Remove DrawDoc.py, TextDoc.py.


svn: r2299
2003-10-31 09:28:49 +00:00
Don Allingham
7d5872df77 * src/plugins/WebPage.py: support for keeping track of options
* src/plugins/TimeLine.py: support for keeping track of options
* src/plugins/RelGraph.py: support for keeping track of options
* src/plugins/IndivSummary.py: support for keeping track of options
* src/plugins/IndivComplete.py: support for keeping track of options
* src/plugins/GraphViz.py: support for keeping track of options
* src/plugins/FtmStyleDescendants.py: support for keeping track of options
* src/plugins/FtmStyleAncestors.py: support for keeping track of options
* src/plugins/FanChart.py: support for keeping track of options
* src/plugins/FamilyGroup.py: support for keeping track of options
* src/plugins/DetAncestralReport.py: support for keeping track of options
* src/plugins/Ancestors.py: support for keeping track of options
* src/plugins/AncestorReport.py: support for keeping track of options
* src/plugins/AncestorChart.py: support for keeping track of options
* src/plugins/AncestorChart.py: support for keeping track of options
* src/Utils.py: save key on style mappings
* src/GenericFilter.py: allow setting of default value for filter menu
* src/PaperMenu.py: allow setting of perferred paper and orientation, GrampsCfg
no longer needed
* src/Report.py: keep track of options across reports


svn: r2297
2003-10-31 01:26:58 +00:00
Don Allingham
efc2de6fe4 * src/plugins/WebPage.py: support for keeping track of options
* src/plugins/TimeLine.py: support for keeping track of options
* src/plugins/RelGraph.py: support for keeping track of options
* src/plugins/IndivSummary.py: support for keeping track of options
* src/plugins/IndivComplete.py: support for keeping track of options
* src/plugins/GraphViz.py: support for keeping track of options
* src/plugins/FtmStyleDescendants.py: support for keeping track of options
* src/plugins/FtmStyleAncestors.py: support for keeping track of options
* src/plugins/FanChart.py: support for keeping track of options
* src/plugins/FamilyGroup.py: support for keeping track of options
* src/plugins/DetAncestralReport.py: support for keeping track of options
* src/plugins/Ancestors.py: support for keeping track of options
* src/plugins/AncestorReport.py: support for keeping track of options
* src/plugins/AncestorChart.py: support for keeping track of options
* src/plugins/AncestorChart.py: support for keeping track of options
* src/Utils.py: save key on style mappings


svn: r2296
2003-10-31 01:23:16 +00:00
Don Allingham
c971ccf8f4 * src/plugins/WebPage.py: support for keeping track of options
* src/plugins/TimeLine.py: support for keeping track of options
* src/plugins/RelGraph.py: support for keeping track of options
* src/plugins/IndivSummary.py: support for keeping track of options
* src/plugins/IndivComplete.py: support for keeping track of options
* src/plugins/GraphViz.py: support for keeping track of options
* src/plugins/FtmStyleDescendants.py: support for keeping track of options
* src/plugins/FtmStyleAncestors.py: support for keeping track of options
* src/plugins/FanChart.py: support for keeping track of options
* src/plugins/FamilyGroup.py: support for keeping track of options
* src/plugins/DetAncestralReport.py: support for keeping track of options
* src/plugins/Ancestors.py: support for keeping track of options
* src/plugins/AncestorReport.py: support for keeping track of options
* src/plugins/AncestorChart.py: support for keeping track of options
* src/Utils.py: save key on style mappings


svn: r2295
2003-10-31 01:20:58 +00:00
Don Allingham
aed31e7a33 pychecker fixes
svn: r2294
2003-10-30 04:18:17 +00:00
Don Allingham
b67e68f304 * src/gramps_main.py: pychecker cleanup
* src/PeopleView.py: pychecker cleanup
* src/PeopleStore.py: pychecker cleanup
* src/EditPerson.py: pychecker cleanup
* src/QuickAdd.py: remove file
* src/SelectChild.py: Remove ability to add new person, since a separate
function for this already exists.
* src/gramps.glade: remvoe add button from select child dialog
* src/Makefile.am: remove QuickAdd.py
* src/intl.py: remove
* src/intl.c: remove
* src/TextDoc.py: remove
* src/DrawDoc.py: remove


svn: r2293
2003-10-30 04:17:05 +00:00
Don Allingham
84904dba4e * src/marriage.glade: Added source tab and complete flag
* src/edit_person.glade: Added source tab


svn: r2291
2003-10-29 05:07:19 +00:00
Don Allingham
0785137dcb * src/RelLib.py: Person and Family now inherit from SourceNote
* src/EditPerson.py: Added source tab to apply generic sources
to a person
* src/Marriage.py: Added source tab to apply generic sources
to a person, add "complete" flag
* src/WriteXML.py: Store source information for Family and Person,
store complete flag for Family
* src/GrampsParser.py: Parse source information for Family and
Person, read complete flag for Famiy


svn: r2289
2003-10-29 05:04:43 +00:00
Don Allingham
94a50f3c26 * src/docgen/AbiWordDoc2.py: make sure that an object is
an image before attempting to include in in a report
* src/docgen/AbiWordDoc.py: make sure that an object is
an image before attempting to include in in a report
* src/docgen/KwordDoc.py: make sure that an object is
an image before attempting to include in in a report
* src/docgen/LaTeXDoc.py: make sure that an object is
an image before attempting to include in in a report
* src/docgen/OpenOfficeDoc.py: make sure that an object is
an image before attempting to include in in a report
* src/docgen/PdfDoc.py: make sure that an object is
an image before attempting to include in in a report
* src/docgen/RTFDoc.py: make sure that an object is
an image before attempting to include in in a report
* src/plugins/Ancestors.py: make sure that an object is
an image before attempting to include in in a report
* src/plugins/DetAncestralReport.py: make sure that an object is
an image before attempting to include in in a report
* src/plugins/DetDescendantReport.py: make sure that an object is
an image before attempting to include in in a report


svn: r2287
2003-10-27 03:48:13 +00:00
Don Allingham
3e532ca523 * src/GenericFilter.py: add a filter to return the path to the
common ancestor(s) of two people.
* src/RelLib.py: don't barf on ZODB sorting
*


svn: r2285
2003-10-23 21:53:53 +00:00
Alex Roitman
1e54886508 * src/plugins/ReadGedcom.py (GedcomParser.__init__):
Build translation map of correct length.


svn: r2284
2003-10-23 15:33:57 +00:00
Don Allingham
9ce580c501 * src/GrampsParser.py: remove debugging statement
* src/RelLib.py: remove debugging statement
* src/gramps_main.py: If an invalid ID is found while attempting to
access the history, invalidate the history list (set to empty list).
This should only happen after a reordering of IDs.


svn: r2282
2003-10-23 03:02:52 +00:00
Alex Roitman
0851348931 * configure.in: Detect iconv at configuration time.
* src/po/Makefile.am: Invoke detected iconv in its simplest form.
Minor cleanup.
* gramps.sh.in: Correct paths for systems with custom datadir.
* src/DisplayTrace.py: Check for LANG before including in the message.


svn: r2279
2003-10-22 04:15:27 +00:00
Alex Roitman
4e8c2a3886 * src/PedView.py: Correct colors so that they work with dark and
high-contrast themes.


svn: r2276
2003-10-22 03:20:59 +00:00
Don Allingham
88bc403a84 * src/PeopleStore.py: Make sure that the key is in unicode
format. For some reason, python does not always seem to do the
conversion for us.


svn: r2275
2003-10-22 02:17:58 +00:00
Alex Roitman
2f99f02e5f * src/MediaView.py: Correct behavior for right-click popup menu.
svn: r2274
2003-10-21 22:31:37 +00:00
Don Allingham
da7b26c741 * src/gramps.glade: widen the ChildSelect window
* src/SelectPerson.py: sort people before adding to list
* src/SelectChild.py: sort people before adding to list
* src/ChooseParents.py: sort people before adding to list
* src/AddSpouse.py: sort people before adding to list

* src/ListModel.py: sorting improvements
* src/PlaceView.py: use ListModel
* src/RelLib.py: sort places by name


svn: r2272
2003-10-21 03:42:55 +00:00
Don Allingham
b5f7ec7504 update
svn: r2271
2003-10-21 03:07:19 +00:00
Alex Roitman
f7158aa398 * src/SourceView.py: Correct behavior for right-click popup menu.
* src/EditPerson.py: Likewise.
* src/FamilyView.py: Likewise.
* src/ImageSelect.py: Likewise.
* src/PedView.py: Likewise.
* src/PlaceView.py: Likewise.
* src/plugins/BookReport.py: Likewise.
* src/PeopleView.py: Likewise.


svn: r2270
2003-10-20 02:47:03 +00:00
Alex Roitman
f5933f9366 * src/SourceView.py: Enable popup menu on right-click.
* src/PlaceView.py: Likewise.
* src/MediaView.py: Likewise.


svn: r2269
2003-10-18 15:50:16 +00:00
Don Allingham
adf6c47c96 * src/RelLib.py: Add a "sortbynames" to presort keys before adding to
the tables
* src/PeopleView.py: Presort names before adding, delay enabling of
autosorting until data has been added
* src/PeopleStore.py: Add enable sort task


svn: r2267
2003-10-18 02:39:55 +00:00
Alex Roitman
a3694c57e0 (needed for Family View). Enable switching Toolbar on/off.
Correct existing gconf key detection. Enable switching Toolbar on/off.
* src/gramps.glade: Enable switching Toolbar on/off.


svn: r2266
2003-10-17 05:05:20 +00:00
Alex Roitman
3a6010582a Update
svn: r2265
2003-10-17 04:25:56 +00:00
Alex Roitman
56c2b3a66d * src/FamilyView.py (set_widgets): Do not connect buttons if this
view is already initialized.
* src/GrampsCfg.py: Set GNOME toolbar prefs as the default.
Correct existing gconf key detection.


svn: r2264
2003-10-17 04:24:36 +00:00
Don Allingham
a86d4b66a7 * src/FamilyView.py: fixed paths to redisplay_person_list
* src/ListModel.py: convert indices to strings. Sometimes a object just
doesn't work as a dictionary key
* src/PeopleStore.py: modify status bar, unroll loop while adding values


svn: r2262
2003-10-17 03:12:05 +00:00
Alex Roitman
a9c28c392c * src/GrampsCfg.py: Implement instant preferences (HIG).
* src/preferences.glade: Likewise.
* src/gramps_main.py (pref_callback): Update statusbar from prefs
(needed for Family View).


svn: r2260
2003-10-16 16:43:07 +00:00
Alex Roitman
3a5ccf8e7f * 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
7fc8c32729 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
81b02975d6 * src/ListModel.py (find): Prevent traceback if the entry is not found.
svn: r2257
2003-10-15 04:19:51 +00:00
Don Allingham
e54014834a update
svn: r2256
2003-10-15 03:55:54 +00:00
Don Allingham
af9da3a25a * src/data/templates/Makefile.am: install blue_edge.tpkg
* src/docgen/HtmlDoc.py: report error correctly on missing
template


svn: r2255
2003-10-15 03:55:15 +00:00
Don Allingham
e33723de93 * src/data/templates/Makefile.am: install blue_edge.tpkg
svn: r2254
2003-10-15 03:52:56 +00:00
Don Allingham
ef7449214c * src/GrampsParser.py: handle new witness format in XML file
* src/WriteXML.py: handle new witness format in XML file
* src/dialog.glade: removed unused callbacks
* src/gramps.glade: adjust window size
* src/ListModel.py: add the ability to find an entry
* src/ChooseParents.py: Select the preferred spouse of the first
selected person.


svn: r2252
2003-10-14 04:22:24 +00:00
Don Allingham
5f0138f0d9 * src/GrampsParser.py: handle new witness format in XML file
* src/WriteXML.py: handle new witness format in XML file
* src/dialog.glade: removed unused callbacks


svn: r2251
2003-10-14 03:13:52 +00:00
Alex Roitman
96d3afd1a1 Update
svn: r2250
2003-10-14 02:42:20 +00:00
Alex Roitman
5c0fffe1d9 * 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
Jason Zedlitz
73c51ee323 initial version
svn: r2248
2003-10-13 21:06:29 +00:00
Alex Roitman
2fd773bda4 * 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
9e56adc006 * 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
e86ae2f8ef * src/gramps_main.py: enabled Add/Edit/Remove buttons for family view,
perform a "back button" operation when a person is deleted. Instead of
leaving no one selected, go back to the previous person.


svn: r2243
2003-10-13 03:12:27 +00:00
Alex Roitman
3d69bafa2f 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
1b8ea5487c * 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
1c3c76855d * src/README, src/NEWS, src/ChangeLog, src/po/ChangeLog: Remove extra
files.


svn: r2240
2003-10-13 01:00:29 +00:00
Don Allingham
fee585d80c * src/RelLib.py : support for capitalized name formats
* src/EditPerson.py: eliminate capitilzing names, instead rely on
the display formats
* src/Utils.py: new display formats for names
* src/GrampsCfg.py: eliminate name only option in status line,
add support for capitalized name formats
* src/preferences.glade : eliminate name only option in status line,
drop capitalize in favor of expanded name format


svn: r2238
2003-10-12 04:26:00 +00:00
Don Allingham
07c2e959dd * src/plugins/WebPage.py: handle page titles
* src/docgen/HtmlDoc.py: handle page titles


svn: r2236
2003-10-12 02:29:24 +00:00
Don Allingham
e43a29b72a * src/GrampsCfg.py: eliminate name only option in status line
* src/gramps_main.py: eliminate name only option in status line
* src/preferences.py : eliminate name only option in status line
* src/plugins/GraphViz.py: install only for python 2.2


svn: r2234
2003-10-12 00:16:54 +00:00
Don Allingham
75fe88c22d * src/plugins/rel_it.py: Italian relationship calculator
added
* src/plugins/RelGraph.py: Advanced relationship graph
report generator


svn: r2232
2003-10-11 22:59:32 +00:00
Don Allingham
5ae82387d9 * src/plugins/rel_it.py: Italian relationship calculator
added


svn: r2231
2003-10-11 22:42:22 +00:00
Don Allingham
ceef3f7372 * src/docgen/HTMLDoc.py: removed references to
gnome.ui.WarningDialog


svn: r2229
2003-10-11 14:22:17 +00:00
Don Allingham
b0aff43bb8 * src/plugins/Verify.py: add ability to disable age estimation
* src/plugins/verify.glade: add ability to disable age estimation


svn: r2226
2003-10-11 03:13:41 +00:00
Don Allingham
2c58ecf0fd update
svn: r2225
2003-10-11 02:25:15 +00:00
Don Allingham
f9ed086ef8 * src/gramps_main.py: fix reference paths
* src/PeopleView.py: remove gobject import
* src/FamilyView.py: return name prefix/surname tuple
* Makefile.am: installation path from grampslib.so


svn: r2224
2003-10-11 02:22:51 +00:00
Tim Waugh
c5901bf46d 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
69d98c478e * 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
098a8832de * 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
84ce09b598 * src/po/sv.po: Typo.
svn: r2219
2003-10-08 20:43:46 +00:00
Alex Roitman
503c29fcb7 Update
svn: r2218
2003-10-08 13:01:55 +00:00
Alex Roitman
d99bd41d66 Update
svn: r2217
2003-10-08 12:52:31 +00:00
Don Allingham
74272b389a * src/plugins/Verify.py: handle different calendars properly
* src/FamilyView.py: fix references to add_to_person_list


svn: r2215
2003-10-08 04:24:11 +00:00
Alex Roitman
be5179705d * 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
505a97be29 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
b52151ddf9 * 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
ebe65d687a * src/plugins/WebPage.py: Fixed ID link so that link references are
not converted to &lt; and &gt;
* src/plugins/WriteGedcom.py: Fixed undefined reference to ref_text


svn: r2205
2003-10-07 03:12:05 +00:00
Don Allingham
2e629a92e8 * src/plugins/WriteGedcom.py: Fixed undefined reference to ref_text
svn: r2202
2003-10-07 01:41:09 +00:00
Alex Roitman
463d8be93d * 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
3dd61f752a 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
644ba0f74c * src/SelectChild.py: handle surname prefixes
* src/FamilyView.py: handle surname prefixes
* src/QuickAdd.py: handle surname prefixes
* src/PeopleView.py: force a selection with a new person
* src/PeopleStore.py: select correct model


svn: r2198
2003-10-06 04:29:50 +00:00
Alex Roitman
823393ce8e * 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
bf43198a09 * src/gramps_main.py: removed import of TreeModel (does
not exist).


svn: r2196
2003-10-05 23:38:05 +00:00
Don Allingham
ce561f598c * src/gramps_main.py: removed import of TreeModel (does
not exist).


svn: r2195
2003-10-05 14:35:50 +00:00
Don Allingham
ac72f0f50c * src/PeopleView.py: broken out of gramps_main.py, fixed
add/delete
* src/gramps_main.py: people view removed, fixed add/delete


svn: r2193
2003-10-05 04:34:31 +00:00
Jason Zedlitz
b72945e6f0 nice to have this here, too
svn: r2192
2003-10-04 21:31:03 +00:00
Don Allingham
8ca858d9b9 * src/PeopleView.py: broken out of gramps_main.py
* src/PeopleStore.py: TreeStore wrapper for PeopleView
* src/gramps_main.py: people view removed
* src/RelLib.py: add surname to display info for each person,
allows grouping by name
* src/Report.py: Change button from Apply to
"Generate report"


svn: r2190
2003-10-04 20:02:38 +00:00
Alex Roitman
ba09e070c9 * 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
3ae9a34c1a * 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
a59ec071e8 * 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
2aaebe3254 * src/gramps_main.py: fixed delete person problem.
svn: r2185
2003-09-30 03:31:14 +00:00
Don Allingham
e5da402c9d update
svn: r2180
2003-09-29 01:12:12 +00:00
Tim Waugh
42c270b94b 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
Don Allingham
c937ff4976 * src/docgen/RTFDoc.py: Fixed double printing of lines
svn: r2175
2003-09-27 19:41:39 +00:00
Marcos Bedinelli
0be880ccec Translation update for 0.9.4
svn: r2174
2003-09-27 18:21:29 +00:00
Don Allingham
436ee97a05 updated for 0.9.4
svn: r2173
2003-09-27 18:21:19 +00:00
Alex Roitman
6f2be179b6 * src/po/it.po: Italian translation.
svn: r2172
2003-09-26 15:11:33 +00:00
Alex Roitman
4faf10e3d9 * src/plugins/rel_ru.py: Add more possible language codes.
svn: r2170
2003-09-26 02:23:22 +00:00
Alex Roitman
ee31bc8ca1 * src/plugins/DetAncestralReport.py: Fix translatable string.
svn: r2169
2003-09-25 23:11:03 +00:00
Don Allingham
e5bf63e2ad updated Dutch translation
svn: r2168
2003-09-25 02:00:07 +00:00
Don Allingham
53cc112eb2 * src/plugins/WriteFTree.py: increment the count properly
svn: r2166
2003-09-24 22:49:51 +00:00
Don Allingham
ff7446781a * src/EventEditor.py: Fix destroy window callback
* src/dialog.glade: removed unused callbacks


svn: r2164
2003-09-24 02:24:41 +00:00
Don Allingham
82391ba007 * src/EventEditor.py: Fix destroy window callback
* src/dialog.glade: removed unused callbacks


svn: r2163
2003-09-23 12:14:41 +00:00
Don Allingham
915c562ecc update
svn: r2162
2003-09-23 12:05:04 +00:00
Alex Roitman
ed8a0c3eec * 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
22739fbb7f * 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
3b35b8918f * 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
2d56f3200a update
svn: r2155
2003-09-22 01:54:28 +00:00
Don Allingham
9e23254ef8 * src/AddrEdit.py: Fixed OK button callback
svn: r2154
2003-09-22 01:53:45 +00:00
Alex Roitman
ab4ce0d494 Russian translation for 0.9.4
svn: r2153
2003-09-21 05:09:54 +00:00
Don Allingham
7047da9ffa update
svn: r2152
2003-09-20 19:56:27 +00:00
Don Allingham
e0b537f7c8 * src/Date.py: Reset date if a empty text string is passed
svn: r2151
2003-09-20 19:55:45 +00:00
Don Allingham
dda531f896 * src/gramps_main.py: pass list of filtered people to find dialog
* src/Find.py: pass list of filtered people to find dialog
* src/po/hu.po: set character set to ISO-8859-2, fix typo

* src/po/hu.po: Hungarian translation


svn: r2149
2003-09-20 18:21:39 +00:00
Jens Arvidsson
54b2e25b42 Translation update for 0.9.4
svn: r2148
2003-09-20 12:29:16 +00:00
Don Allingham
8498defbd2 * src/po/Makefile.am: added support for building zh_CN.mo
* src/po/zh_CN.po: Partial Simplified Chinese translation


svn: r2146
2003-09-20 02:18:04 +00:00
Tim Waugh
b4dd5bc602 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
aac84d5b79 * src/po/template.po: Update translation template.
svn: r2143
2003-09-19 03:33:42 +00:00
Alex Roitman
ba0c80910f * 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
c58c98bf54 * src/plugins/ReadGedcom.py: Handle Legacy's method of
handling separations and divorces


svn: r2140
2003-09-18 02:59:52 +00:00
Alex Roitman
e99846cb13 * 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
1f530721f4 * 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
3f6c2b23ef * src/docgen/OpenOfficeDoc.py: set z-index properly for paths
so they appear over text, fix font for draw_text


svn: r2136
2003-09-16 03:33:05 +00:00
Alex Roitman
82316ad5cf * 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
34a96eb266 * 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
38d0cd78d3 * 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
1021a5ef65 * 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
23d0f16962 * src/plugins/TimeLine.py: call doc.init routine to build header
svn: r2129
2003-09-15 02:54:07 +00:00
Don Allingham
d6a6db0865 * src/FontScale.py: try to handle non-ASCII characters
svn: r2127
2003-09-15 02:42:40 +00:00
Don Allingham
e374f8132b * src/docgen/SvgDrawDoc.py: use proper init parameters for BaseDoc
* src/docgen/PSDrawDoc.py: use proper init parameters for BaseDoc
* src/docgen/OpenOfficeDoc.py: handle rotation of text better
* src/Report.py: Proper init sequence for BaseDoc derived reports


svn: r2125
2003-09-14 04:50:44 +00:00
Alex Roitman
13244fb741 * 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
eaae22c536 * 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
9c868b08b5 * 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
ce13ddf5be update
svn: r2121
2003-09-13 04:58:20 +00:00
Don Allingham
0b5b59f375 * src/BaseDoc.py: add init function to BaseDoc to be called after
all graphics formats are defined
* src/docgen/OpenOfficeDoc.py: fix rotate_print and center_print
* src/plugins/AncestorChart.py: support BaseDoc.init
* src/plugins/AncestorReport.py: support BaseDoc.init
* src/plugins/BookReport.py: support BaseDoc.init
* src/plugins/CustomBookText.py: support BaseDoc.init
* src/plugins/DesGraph.py: support BaseDoc.init
* src/plugins/DescendReport.py: support BaseDoc.init
* src/plugins/DetAncestralReport.py: support BaseDoc.init
* src/plugins/DetDescendantReport.py: support BaseDoc.init
* src/plugins/FamilyGroup.py: support BaseDoc.init
* src/plugins/FanChart.py: support BaseDoc.init
* src/plugins/FtmStyleAncestors.py: support BaseDoc.init
* src/plugins/FtmStyleDescendants.py: support BaseDoc.init
* src/plugins/SimpleBookTitle.py: support BaseDoc.init
* src/plugins/Ancestors.py: support BaseDoc.init


svn: r2120
2003-09-13 04:57:30 +00:00
Don Allingham
a3445a9b90 * src/BaseDoc.py: add init function to BaseDoc to be called after
all graphics formats are defined
* src/docgen/OpenOfficeDoc.py: fix rotate_print and center_print
* src/plugins/AncestorChart.py: support BaseDoc.init
* src/plugins/AncestorReport.py: support BaseDoc.init
* src/plugins/BookReport.py: support BaseDoc.init
* src/plugins/CustomBookText.py: support BaseDoc.init
* src/plugins/DesGraph.py: support BaseDoc.init
* src/plugins/DescendReport.py: support BaseDoc.init
* src/plugins/DetAncestralReport.py: support BaseDoc.init
* src/plugins/DetDescendantReport.py: support BaseDoc.init
* src/plugins/FamilyGroup.py: support BaseDoc.init
* src/plugins/FanChart.py: support BaseDoc.init
* src/plugins/FtmStyleAncestors.py: support BaseDoc.init
* src/plugins/FtmStyleDescendants.py: support BaseDoc.init
* src/plugins/SimpleBookTitle.py: support BaseDoc.init


svn: r2119
2003-09-13 04:56:04 +00:00
Don Allingham
a45dfa269a * src/gramps_main.py: update family view after a GEDCOM import
* src/plugins/TimeLine.py: draw grid after displaying text. Fixes
a problem with OpenOffice


svn: r2117
2003-09-12 03:17:42 +00:00
Don Allingham
57726ddf93 * src/docgen/PdfDoc.py: fix typo
svn: r2115
2003-09-11 02:59:21 +00:00
Alex Roitman
dab655e2ac * 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
94d169d9b4 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
9132d47c5c * 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
791dc35a50 (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
873f78cf6e * 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
d4c872a4dc update
svn: r2109
2003-09-09 01:48:50 +00:00
Don Allingham
83f0a6c9e0 * src/GenericFilter.py: handle the possibility of missing
"inclusive" settings, assuming that it is 1 if not present.


svn: r2108
2003-09-09 01:48:30 +00:00
Tim Waugh
10995ff90c 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
6e7c46ba8a * 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
f6d06b1220 * src/docgen/PdfDoc.py: handle multiple image classes defined
by reportlab


svn: r2104
2003-09-08 04:20:01 +00:00
Alex Roitman
727cbff2da * 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
e6a9bbbba2 * src/plugins/SimpleBookTitle.py: Add image options.
svn: r2102
2003-09-08 03:44:54 +00:00