Commit Graph

1029 Commits

Author SHA1 Message Date
Alex Roitman
144adc808a * src/plugins/FtmStyleDescendants.py (write_endnotes): Replace
CallNumber with Abbreviation.
* src/plugins/FtmStyleAncestors.py (write_endnotes): Replace
CallNumber with Abbreviation.


svn: r2477
2003-12-09 04:30:05 +00:00
Alex Roitman
ae8f0a3515 * src/plugins/WriteGedcom.py (write_sources): Remove CallNumber export.
svn: r2476
2003-12-09 04:24:52 +00:00
Alex Roitman
2670b8fb18 * doc/gramps-manual/ru/gramps-manual.xml: Translation.
* doc/gramps-manual/ru/getstart.xml: Translation.

* src/RelLib.py (Source.setCallNumber, Source.CallNumber): Remove
functions; (Source.callno): remove attribute.
* src/WriteXML.py (write_xml_data): Remove CallNumber output.
* src/GrampsParser.py (GrampsParser.stop_scallno): Remove function.
* src/gramps.glade (sourceEditor): Remove Call Number widgets.
* src/EditSource.py: Remove Call Number support.


svn: r2475
2003-12-09 04:21:39 +00:00
Alex Roitman
2ee7b98f18 * src/filters/Complete.py: Add filter matching people with the
complete flag.
* src/GenericFilter.py (HasCompleteRecord): Add rule matching people
with the complete records.
* src/RelLib.py (Source.setAbbrev, Source.getAbbrev): Add functions.
* src/WriteXML.py (write_xml_data): Save abbreviation info for sources.
* src/GrampsParser.py (GrampsParser.stop_sabbrev): Parse abbreviation.
* src/gramps.glade (sourceEditor): Add widgets for Call Number and
Abbreviation.
* src/EditSource.py: Support Call Number and Abbreviation.
* src/plugins/ReadGedcom.py (parse_source): Parse abbreviation.
* src/plugins/WriteGedcom.py (write_sources): Export abbreviation.
* NEWS: Update.


svn: r2463
2003-12-08 02:23:53 +00:00
Alex Roitman
3f79e86808 * src/EditSource.py (__init__): Markup notes label on startup.
svn: r2459
2003-12-07 05:04:14 +00:00
Alex Roitman
fae74522d8 * src/EditPlace.py: Pass window to LocEdit.py. Correct apply callback.
* src/LocEdit.py (__init__): Make dialog modal and transient
for its parent; (on_help_clicked): Add function.
* src/dialog.glade: Correct response IDs.
* src/places.glade: Correct response IDs.


svn: r2457
2003-12-07 04:54:40 +00:00
Don Allingham
cac9c131ce * src/FamilyView.py (FamilyView.really_remove_spouse): remove the
corret person from the family when deleting the spouse

* src/po/it.po: updated Italian translation


svn: r2455
2003-12-07 04:15:54 +00:00
Don Allingham
9577dec324 Added Tim Waugh in authors list
svn: r2454
2003-12-07 02:45:33 +00:00
Alex Roitman
8acc5f5cd6 * src/plugins/WriteFtree.py (on_help_clicked): Add function.
* doc/gramps.1: Update.


svn: r2453
2003-12-06 23:05:52 +00:00
Frode Jemtland
949c26bf92 Updating no.po to reflect nb.po
svn: r2452
2003-12-06 21:26:13 +00:00
Frode Jemtland
2c86ef433b Some small fix...
svn: r2451
2003-12-06 21:24:12 +00:00
Alex Roitman
b01d83da90 * src/gramps_main.py (__init__): Remove unneeded handler.
svn: r2450
2003-12-06 21:09:46 +00:00
Don Allingham
6789734a1e * src/po/it.po: updated Italian translation
svn: r2448
2003-12-06 15:40:41 +00:00
Alex Roitman
cd59e6850c * src/PedView.py: Remove references to self.presel_descendants
(closes bug #854626).


svn: r2447
2003-12-06 05:47:07 +00:00
Alex Roitman
5e696d845f * doc/gramps-manual/C/getstart.xml: More "open a directory" stuff.
* src/gramps.glade: Add Help button to opendb dialog.
* src/DbPrompter.py (open_help_clicked): Add function.


svn: r2446
2003-12-06 00:14:25 +00:00
Alex Roitman
8ba0e84b5b * src/po/ru.po: Update Russian translation for 0.98.
svn: r2445
2003-12-05 19:29:09 +00:00
Alex Roitman
fafc6a5efc * TODO: Update.
* gramps.desktop: Remove in favor of src/gramps.desktop file.
* src/gramps_main.py: Replace stock Home with the custom string.
* src/PeopleView.py: Replace stock Home with the custom string.


svn: r2443
2003-12-05 00:11:22 +00:00
Sebastian Voeck
2ae745ea49 Translation update
svn: r2442
2003-12-04 23:12:41 +00:00
Don Allingham
829e0c6217 * configure.in: added eo to languages:
* src/po/eo.po: esperanto translation


svn: r2436
2003-12-03 21:41:51 +00:00
Alex Roitman
7f5dc667af * src/plugins/ReadGedcom.py (parse_source): Stop TEXT messing
up the title; add ABBR to the note field (was ignored).


svn: r2435
2003-12-03 19:22:52 +00:00
Egyeki Gergelly
686b879a4a Update Hungarian translation
svn: r2434
2003-12-03 11:57:42 +00:00
Don Allingham
c9e40098aa * src/PeopleView.py (PeopleView.clear_person_tabs): initialize
the model2page map with the default list, instead of clearing it.

* src/gramps_main.py: update person table after edit (BUG 851637)


svn: r2432
2003-12-03 04:07:36 +00:00
Alex Roitman
65aef4214d * src/edit_person.glade: Add completeness check button.
* src/RelLib.py (Person.setComplete, Person.getComplete): Add functions.
* src/WriteXML.py (write_id): Save completeness info.
* src/GrampsParser.py (GrampsParser.start_person,
GrampsImportParser.start_person, GrampsImportParser.start_family):
Parse completeness.
* src/EditPerson.py: Add support for completeness.


svn: r2430
2003-12-03 03:49:39 +00:00
Alex Roitman
4dc578fb36 * src/gramps_main.py (on_faq_activate): Switch Help->FAQ function
* src/gramps.glade: Remove FAQ window.
* doc/gramps-manual/C/cmdline.xml,
doc/gramps-manual/C/gramps-manual.xml,
doc/gramps-manual/C/custom.xml,
doc/gramps-manual/C/keybind.xml,
doc/gramps-manual/C/faq.xml,
doc/gramps-manual/C/legal.xml,
doc/gramps-manual/C/filtref.xml,
doc/gramps-manual/C/mainwin.xml,
doc/gramps-manual/C/getstart.xml,
doc/gramps-manual/C/usage.xml: Add copyright info to header.


svn: r2429
2003-12-03 02:56:43 +00:00
Alex Roitman
89e275878b * src/gramps.desktop: Add russian strings. Set encoding line to UTF-8.
svn: r2428
2003-12-03 02:06:03 +00:00
Donald A. Peterson
c907a36180 extra categories for .desktop file
svn: r2427
2003-12-02 20:33:04 +00:00
Don Allingham
7ba1e80302 * src/gramps_main.py: update person table after edit (BUG 851637)
svn: r2426
2003-12-02 17:24:01 +00:00
Alex Roitman
e6cdcddd9d * src/preferences.glade: Add Help button.
* src/GrampsCfg.py (on_propertybox_help): Add function.
* src/imagesel.glade: Add Help buttons.
* src/ImageSelect.py (ImageSelect.on_help_imagesel_clicked,
GlobalMediaProperties.on_help_clicked): Add functions.
* src/AddMedia.py (on_help_imagesel_clicked): Add function.
* doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/keybind.xml: Update.
* src/AddSpouse.py: Call yelp with sect2 argument.
* src/AddrEdit.py: Likewise.
* src/AttrEdit.py: Likewise.
* src/ChooseParents.py: Likewise.
* src/EditPerson.py: Likewise.
* src/EditPlace.py: Likewise.
* src/EditSource.py: Likewise.
* src/EventEdit.py: Likewise.
* src/Marriage.py: Likewise.
* src/NameEdit.py: Likewise.
* src/SelectChild.py: Likewise.
* src/Sources.py: Likewise.


svn: r2420
2003-12-02 04:27:23 +00:00
Alex Roitman
731dac4120 * src/revision.glade: Add Help button.
* src/gramps_main.py (on_help_dbopen_clicked): Add function.
* src/plugins/gedcomexport.glade: Add Help button.
* src/plugins/WriteGedcom.py (on_help_clicked): Add function.
* src/plugins/pkgexport.glade: Add Help button.
* src/plugins/WritePkg.py (on_help_clicked): Add function.
* src/plugins/writeftree.glade: Add Help button.
* src/plugins/WriteGedcom.py (on_help_clicked): Add function.
* src/plugins/cdexport.glade: Add Help button.
* src/plugins/WriteCD.py (on_help_clicked): Add function.
* src/Bookmarks.py (draw_window): Add Help button;
(help_clicked): Add function.


svn: r2418
2003-12-02 02:35:49 +00:00
Alex Roitman
344250abc1 Update
svn: r2417
2003-12-02 01:29:30 +00:00
Alex Roitman
0b748ead3c * src/FamilyView.py (add_child_clicked): Return tuple of two
empty strings when the surname guessing is set to None (otherwise
it produced traceback and did nothing).
* doc/gramps-manual/C/custom.xml: Update.
* doc/gramps-manual/C/gramps-manual-C.omf: Update.
* doc/gramps.1.in: Update.


svn: r2416
2003-12-02 00:20:46 +00:00
Alex Roitman
ff9b6287b5 * NEWS: Update.
* src/FamilyView.py (on_child_list_button_press): Add edit person
callback on Shift+click; (sp_key_press, child_key_press): Replace
Ctrl+Insert with Shift+Insert for adding new people.
* src/PedView.py (on_show_child_menu): Markup children with children.
* doc/gramps-manual/C/keybind.xml: Update.
* doc/gramps-manual/C/faq.xml: Update.
* doc/gramps-manual/C/filtref.xml: Update.


svn: r2412
2003-12-01 04:22:15 +00:00
Jens Arvidsson
1792d02d0f Translation update for 0.98.0
svn: r2411
2003-11-30 12:11:23 +00:00
Frode Jemtland
7503d38dc9 Translated new strings
svn: r2410
2003-11-30 12:07:49 +00:00
Jens Arvidsson
16847b7418 Translation update for 0.98.0
svn: r2409
2003-11-30 11:37:31 +00:00
Don Allingham
165b6919d2 * src/PedView.py (PedigreeView.find_children): used italics instead of
'*' to indicate children in popup menu


svn: r2407
2003-11-30 06:19:00 +00:00
Don Allingham
589bfdb0f8 * src/docgen/OpenOfficeDoc.py (OpenOfficeDoc.close): replace hardcoded
"oowriter" with the command found by querying the mime database with
the open office document type. Different distributions seem to install
OOo with different names (oofice, oowriter, soffice).

* src/EventEdit.py (EventEditor.__init__): add translated name to the
popdown menu list if isn't already there. Prevents a parital match on
other strings
* src/PedView.py: add a '*' to the popup menu if the child has children


svn: r2405
2003-11-30 05:51:24 +00:00
Alex Roitman
eb22167873 * src/EventEdit.py (__init__): Only define translated name if the
event is not empty.
* doc/gramps-manual/C/gramps-manual.xml: Update manual.
* doc/gramps-manual/C/mainwin.xml: Update manual.
* doc/gramps-manual/C/faq.xml: Add to CVS.
* doc/gramps-manual/C/keybind.xml: Add to CVS.
* doc/gramps-manual/C/Makefile.am: Add new files to the distribution.


svn: r2404
2003-11-30 05:47:59 +00:00
Alex Roitman
2b6ad01e74 * src/filters/MatchSndEx2.py: Typo.
* src/plugins/RelGraph.py: Typo.
* src/plugins/book.glade: Remove initial text from the labels.
* src/po/template.po: Updated translation template for 0.98.0.
* src/po/ru.po: Russian translation for 0.98.0.


svn: r2403
2003-11-30 02:54:54 +00:00
Don Allingham
2b3675313b * src/EventEdit.py (EventEditor.__init__): add translated name to the
popdown menu list if isn't already there. Prevents a parital match on
other strings
* src/PedView.py: add a '*' to the popup menu if the child has children


svn: r2402
2003-11-29 03:52:53 +00:00
Frode Jemtland
1ef5fa0a3f Fixed a couple of fuzzy lines
svn: r2401
2003-11-28 22:52:33 +00:00
Don Allingham
396f433caa * 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
bcdfb91a1e * src/po/template.po: updated translatable strings
svn: r2398
2003-11-27 18:16:17 +00:00
Don Allingham
e5b8cf4db3 * 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
17ec8913c1 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
9f69fc39d6 Error correction
svn: r2393
2003-11-26 23:35:56 +00:00
Alex Roitman
b901a0afa0 * 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
490d01f487 * 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
204b76f3c8 * 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
d0d510b949 Updated more keyboard shortcuts, fixed some typos
svn: r2383
2003-11-25 22:54:39 +00:00
Don Allingham
bf42148e0e * src/Utils.py (search_for): check for directory
svn: r2379
2003-11-25 21:34:39 +00:00
Don Allingham
0044a79964 * 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
5926857d8a Fixed some errors
svn: r2370
2003-11-25 00:26:47 +00:00
Frode Jemtland
53666fcb94 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
979bdc6808 * 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
66c6136288 Update
svn: r2366
2003-11-23 20:55:14 +00:00
Alex Roitman
23eb01d4ef * 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
31efc3060b Updated some keyboard sortcuts. Cleaning out some errors.
svn: r2364
2003-11-23 20:35:35 +00:00
Alex Roitman
247b04c2e1 * 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
574eecb679 update
svn: r2362
2003-11-22 15:16:54 +00:00
Don Allingham
2d0d822176 * src/preferences.glade: make the title on the dialog non-expandable
svn: r2361
2003-11-22 15:15:13 +00:00
Alex Roitman
f10c8d0b0c * src/po/fr.po: Fix format line.
svn: r2359
2003-11-21 15:08:11 +00:00
Alex Roitman
477926d419 * src/FamilyView.py: Enable keyboard navigation in Family View.
svn: r2358
2003-11-20 04:59:36 +00:00
Don Allingham
b28d22243a * 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
5c0a59234d * 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
8ead9aba9d * 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
b382ac0476 * 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
bd66760151 * 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
7a216129d5 * 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
f6a14dfe8a * 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
296f1291dd * src/dialog.glade: fixed sizes of dialog windows.
svn: r2342
2003-11-16 02:39:35 +00:00
Don Allingham
11a6ccbb90 * src/EditPerson.py: Fixed typo
svn: r2340
2003-11-14 22:50:03 +00:00
Don Allingham
c688da8615 * 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
1ca20ccdc1 Initial commit of the translation for Norwegian Bokm�l (nb_NO)
svn: r2337
2003-11-13 22:47:31 +00:00
Alex Roitman
0074cb7eea * 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
90a7d7a007 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
939946756a * 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
25aaeb6210 * src/GrampsCfg.py: Fixed name format selection problem
svn: r2332
2003-11-13 19:28:58 +00:00
Alex Roitman
4f01f4111b * 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
80297accda * 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
5a64444135 update
svn: r2329
2003-11-13 04:25:25 +00:00
Don Allingham
5bb2d91afa * 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
c2bb96a905 * 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
b4e7f53943 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
c3c8e207de Update
svn: r2325
2003-11-11 00:38:24 +00:00
Alex Roitman
5908567be6 * 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
4fecfc8f5b * 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
192a74d07c * 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
ab6f7ac74f * 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
9b5aafc260 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
1f9b8dafdd 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
d570b0fd56 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
570e4a1102 Standard says 'jpeg'.
svn: r2316
2003-11-03 12:18:48 +00:00
Tim Waugh
7603083ca6 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
31329801d8 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
456c988d82 handle SuSE's broken gconf configuration
svn: r2313
2003-11-02 23:22:36 +00:00
Tim Waugh
13f1688db2 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
6bfe82b545 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
0f93a5e600 * 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
34171c6173 * 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
dd56ad01a7 * 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
1810846114 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
550870269f 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
a485ed0303 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
ac145687c1 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
1c00ddcaec 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
571ae69a55 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
b317d9ddbd * 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
9a2de4c4ee * 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
f648e6c663 * 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
8e5801b970 pychecker fixes
svn: r2294
2003-10-30 04:18:17 +00:00
Don Allingham
0acb576661 * 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
fac780d229 * 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
71632a3953 * 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
84b555b087 * 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
f01d498dbc * 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
4e26588329 * src/plugins/ReadGedcom.py (GedcomParser.__init__):
Build translation map of correct length.


svn: r2284
2003-10-23 15:33:57 +00:00
Don Allingham
0fe280dfc0 * 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
ff581b3772 * 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
57286b7845 * 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
9d79e056e4 * 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
77cd15aa6c * src/MediaView.py: Correct behavior for right-click popup menu.
svn: r2274
2003-10-21 22:31:37 +00:00
Don Allingham
5282f103b1 * 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
329a660098 update
svn: r2271
2003-10-21 03:07:19 +00:00
Alex Roitman
73fcaec440 * 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
f04c26b90d * 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
01237c99a0 * 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
8fea0928b0 (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
22be24f661 Update
svn: r2265
2003-10-17 04:25:56 +00:00
Alex Roitman
1b0b7b3377 * 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
8df8cae9b4 * 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
b33e8c95cc * 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
b7cfa1a6b4 * 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
612c9241be 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
97d21e3388 * src/ListModel.py (find): Prevent traceback if the entry is not found.
svn: r2257
2003-10-15 04:19:51 +00:00
Don Allingham
0f52350340 update
svn: r2256
2003-10-15 03:55:54 +00:00
Don Allingham
f8f5efc5e5 * 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
ecfad8edcb * src/data/templates/Makefile.am: install blue_edge.tpkg
svn: r2254
2003-10-15 03:52:56 +00:00
Don Allingham
15f45d4a44 * 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
b57e63e9b7 * 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
c2e56b0fb6 Update
svn: r2250
2003-10-14 02:42:20 +00:00
Alex Roitman
f9107a17f4 * 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
647000c15a initial version
svn: r2248
2003-10-13 21:06:29 +00:00
Alex Roitman
d8d91425e4 * 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
b104b23a9b * 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
ca4a8962bb * 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
2da2f0ed04 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
1700f2dd4a * 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
f853e1628d * src/README, src/NEWS, src/ChangeLog, src/po/ChangeLog: Remove extra
files.


svn: r2240
2003-10-13 01:00:29 +00:00
Don Allingham
32520be016 * 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