Commit Graph

356 Commits

Author SHA1 Message Date
Don Allingham
2df83d0a6a * GrampsMime.py: added mime types
* grampslib_wrap.c: removed
* various: more undo functionality


svn: r3074
2004-04-04 04:39:52 +00:00
Don Allingham
8592fa2cc9 * various: Add undo functionality
svn: r3065
2004-03-30 04:50:24 +00:00
Don Allingham
06d3497ea6 * src/gramps_main.py: remove unused functions, fix history
* src/FamilyView.py: improve reordering of children


svn: r3058
2004-03-25 04:04:35 +00:00
Don Allingham
bf92d284ab * src/SelectChild.py: use PersonModel
* src/plugins/FilterEditor.py: use new SelectPerson


svn: r3052
2004-03-23 05:01:19 +00:00
Don Allingham
4a7d9131aa Convert to new GenericTreeView models
svn: r3040
2004-03-22 04:41:35 +00:00
Don Allingham
5534cc0035 * src/PeopleModel.py: Column reordering/selection
* src/PeopleView.py: Column reordering/selection
* src/RelLib.py: Column reordering/selection
* src/gramps_main.py: Column reordering/selection
* src/gramps.glade: Column editor
* src/ColumnOrder.py: Column editor


svn: r2998
2004-03-10 05:15:06 +00:00
Don Allingham
fbb05c44eb * src/EditPerson.py: TreeView enhancements
* src/PeopleModel.py: TreeView enhancements
* src/PeopleView.py: TreeView enhancements
* src/gramps_main.py: TreeView enhancements


svn: r2984
2004-03-09 05:12:14 +00:00
Don Allingham
151c988230 * src/PeopleModel.py: New GenericTreeView based model
* src/RelLib.py: metadata/people model support
* src/gramps_main.py: PeopleModel support
* src/PeopleView.py: PeopleModel support


svn: r2978
2004-03-07 21:50:41 +00:00
Don Allingham
5aae97b744 * src/gramps_main.py: remove local media concept
* src/RelLib.py: remove local media concept
* src/SelectObject.py: remove local media concept


svn: r2941
2004-03-01 04:33:36 +00:00
Don Allingham
f60a720646 Database saving
svn: r2927
2004-02-28 20:15:48 +00:00
Don Allingham
93542c93f5 * src/gramps_main.py: switch to DB as default, remove save option
* src/RelLib.py: setup DB environment better
* src/DbPrompter.py: handle save/open with new DBs


svn: r2924
2004-02-28 18:46:40 +00:00
Alex Roitman
4f4b2131ba More windows
svn: r2919
2004-02-28 03:51:59 +00:00
Alex Roitman
ead0485d14 More windows updates and small fixes
svn: r2914
2004-02-26 03:34:19 +00:00
Don Allingham
ebed4e0f5f * src/plugins/WebPage.py: media reference fixes
* src/plugins/ReadGedcom.py: media reference fixes
* src/plugins/IndivSummary.py: media reference fixes
* src/plugins/IndivComplete.py: media reference fixes
* src/plugins/DetAncestralReport.py: media reference fixes
* src/plugins/DetDescendantReport.py: media reference fixes
* src/plugins/Check.py: media reference fixes
* src/gramps_main.py: media reference fixes
* src/Utils.py: gnome.vfs vs. grampslib
* src/RelLib.py: single db file, media reference fixes
* src/MediaView.py: media reference fixes


svn: r2911
2004-02-25 03:25:57 +00:00
Alex Roitman
bbe933fd73 Update
svn: r2910
2004-02-25 03:20:53 +00:00
Don Allingham
e2da222236 Additional Reference fixes
svn: r2888
2004-02-22 04:57:06 +00:00
Alex Roitman
976e854a2f * src/ImageSelect.py: Corrections.
* src/RelLib.py: Corrections.
* src/Sources.py: Corrections.
* src/gramps_main.py: Corrections.
* src/Bookmarks.py: Corrections.


svn: r2886
2004-02-21 18:59:45 +00:00
Alex Roitman
71f8f5476b * src/EditPerson.py: Corrections.
* src/EditSource.py: Use parent class. Use windows menu.
* src/ImageSelect.py: Corrections.
* src/Sources.py: Corrections.
* src/gramps.glade: Add handlers.
* src/NoteEdit.py: Corrections.
* src/dialog.glade: Add handler.
* src/Witness.py: Corrections.
* src/RelLib.py: Include witnesses in comparing events.
* src/FamilyView.py: Pass parent on to child classes.
* src/AddSpouse.py: Pass parent on to EditPerson.
* src/ChooseParents.py: Pass parent on to EditPerson.
* src/gramps_main.py: Pass Gramps class to child classes.
* src/MergeData.py: Pass parent on to EditPerson.


svn: r2885
2004-02-21 06:40:44 +00:00
Don Allingham
e878549bfd First DB pass
svn: r2884
2004-02-21 06:11:59 +00:00
Alex Roitman
83130e1889 * src/EditPerson.py: Use parent class. Add/remove itself from/to
the Windows menu.
* src/NameEdit.py: Make non-modal.
* src/gramps.glade: Add Windows menu.
* src/gramps_main.py: Get Windows menu and its submenu.
Pass Gramps class to the children -- first-class object editors.


svn: r2870
2004-02-19 13:40:09 +00:00
Don Allingham
2e9976510b get_id updates
svn: r2846
2004-02-15 23:10:12 +00:00
Alex Roitman
12ce70ddf9 * src/Relationship.py: More corrections.
* src/plugins/rel_ru.py: Corrections.
* src/gramps_main.py: Corrections.


svn: r2842
2004-02-15 21:28:31 +00:00
Don Allingham
5ec7809000 updates for IDs
svn: r2840
2004-02-15 20:49:34 +00:00
Alex Roitman
f9d6c51a72 * src/plugins/IndivComplete.py: Call doc.init() after open.
* src/plugins/IndivSummary.py: Call doc.init() after open.
* src/plugins/RelCalc.py: Use class of calculator.
* src/plugins/rel_ru.py: Convert to class.
* src/Plugins.py: Register _relcalc_class.
* src/gramps_main.py: Use class of relationship calculator.


svn: r2835
2004-02-15 07:08:55 +00:00
Alex Roitman
7022a133f0 * src/plugins/DetDescendantReport.py: Add style descriptions
for the paragraphs. Add first entry style. Change defaults to be
similar to the FTM style reports.
* src/plugins/DetAncestralReport.py: Add style descriptions
for the paragraphs. Add first entry style. Change defaults to be
similar to the FTM style reports.
* src/StyleEditor.py (draw, save_paragraph): Allow users
to adjust first line indent.
* src/styles.glade: Add first line indent entry.
* src/plugins/Check.py (delete_empty_family): Remove families
in which person is a parent, not only a child.
* src/gramps_main.py (post_load): Use display_frel and
display_fattr.
* src/MediaView.py (key_press): Add function.
* src/PlaceView.py (key_press): Add function.
* src/SourceView.py (key_press): Add function.
* src/plugins/WebPage.py: Add tab with index page options.

* src/po/hu.po: Update
* doc/gramps-manual/hu/filtref.xml: Update


svn: r2831
2004-02-15 03:24:12 +00:00
Don Allingham
015973462a Move from object references to IDs
svn: r2822
2004-02-14 05:40:30 +00:00
Don Allingham
d2ef9e69fe * src/gramps_main.py: better error messages on database write failure
* src/WriteXML.py: better error messages on database write failure
* src/GrampsXML.py: better error messages on database write failure

* src/PeopleView.py (PeopleView.add_to_person_list): don't attempt to sort the
model unless it has be assigned.


svn: r2736
2004-02-01 03:16:23 +00:00
Don Allingham
22cd43d3e2 * src/PeopleView.py: correctly handle disabling report/tool buttons
* src/gramps_main.py: correctly handle disabling report/tool buttons


svn: r2683
2004-01-21 04:43:51 +00:00
Alex Roitman
9fc5ce16db * src/gramps_main.py (save_media): Add support for default action.
* src/plugins/Check.py (cleanup_missing_photos): Add support for default action.
* src/plugins/WriteCD.py (on_ok_clicked): Add support for default action.
* src/plugins/WritePkg.py (export): Add support for default action.
* src/plugins/WriteFtree.py: Do not import unused dialog.


svn: r2652
2004-01-18 01:59:30 +00:00
Don Allingham
0718510e0a * src/docgen/AbiWord2Doc.py: pychecker fixes
* src/docgen/HtmlDoc.py: pychecker fixes
* src/docgen/KwordDoc.py: pychecker fixes
* src/docgen/LaTeXDoc.py: pychecker fixes
* src/docgen/OpenOfficeDoc.py: pychecker fixes
* src/docgen/OpenSpreadSheet.py: pychecker fixes
* src/docgen/PSDrawDoc.py: pychecker fixes
* src/docgen/PdfDoc.py: pychecker fixes
* src/docgen/SvgDrawDoc.py: pychecker fixes
* src/plugins/Ancestors.py: pychecker fixes
* src/plugins/BookReport.py: pychecker fixes
* src/plugins/CustomBookText.py: pychecker fixes
* src/plugins/DescendReport.py: pychecker fixes
* src/plugins/DetAncestralReport.py: pychecker fixes
* src/plugins/DetDescendantReport.py: pychecker fixes
* src/plugins/FtmStyleAncestors.py: pychecker fixes
* src/plugins/IndivComplete.py: pychecker fixes
* src/plugins/ReadPkg.py: pychecker fixes
* src/plugins/RelCalc.py: pychecker fixes
* src/plugins/SimpleBookTitle.py: pychecker fixes
* src/plugins/TimeLine.py: pychecker fixes
* src/plugins/WriteCD.py: pychecker fixes
* src/plugins/WriteFtree.py: pychecker fixes
* src/plugins/rel_de.py: pychecker fixes
* src/GenericFilter.py: pychecker fixes
* src/RelLib.py: pychecker fixes
* src/Report.py: pychecker fixes
* src/SelectPerson.py: pychecker fixes
* src/gramps_main.py: pychecker fixes


svn: r2634
2004-01-13 05:05:39 +00:00
Don Allingham
0e490d6bde * src/Makefile.am: export papersize.xml
* src/RelLib.py: Don't call setAncestor if default person is None
* src/gramps_main.py: remove children out of alternate families
when deleting a person, set default person to None if deleting the
default person.


svn: r2627
2004-01-12 03:35:02 +00:00
Don Allingham
e0855a56f3 * src/revision.glade: removed unused call (on_help_dbopen_clicked)
* src/gramps_main.py: don't add places twice after an edit of a person
* src/AddSpouse.py: don't add places twice after an edit of a person
* src/ChooseParents.py: don't add places twice after an edit of a person
* src/EditPerson.py: don't add places twice after an edit of a person
* src/FamilyView.py: don't add places twice after an edit of a person


svn: r2538
2003-12-17 18:38:02 +00:00
Alex Roitman
6ed92954d3 * src/gramps_main.py (__init__): Remove unneeded handler.
svn: r2450
2003-12-06 21:09:46 +00:00
Alex Roitman
267514c280 * 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
Alex Roitman
af43a774a8 * 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
Don Allingham
cf34fd189f * src/gramps_main.py: update person table after edit (BUG 851637)
svn: r2426
2003-12-02 17:24:01 +00:00
Alex Roitman
dcf4bb8d31 * 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Don Allingham
a0c10c2203 * 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
99cc57c470 * 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
Alex Roitman
d3cd682eaf * 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
d5bee0d775 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
a49d27a6eb * 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
77a0a7f728 * 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
18454e96b5 * 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
5d18912711 * src/gramps_main.py: reinitialize interface after preferences
has been clicked.


svn: r2052
2003-08-27 03:46:27 +00:00
Alex Roitman
7dc824487c * 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
Don Allingham
74667d39bc * 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
3b8a6aec8f * 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
313faca8da * 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
c0d79487b5 * 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
aa861a39db 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
f77ca9b479 * src/gramps_main.py (build_backhistmenu,build_fwdhistmenu):
Limit of 20 for the Back/Forward history menus.
Add hotkeys for these menus.


svn: r2025
2003-08-19 12:39:05 +00:00
Alex Roitman
e4dd91c55f Enable context menu upon right-click in the People View with Back,
svn: r2022
2003-08-19 02:55:27 +00:00
Alex Roitman
b1f34817a6 * 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
ed0fd7f134 * src/gramps_main.py: Better behavior for the history menu.
svn: r2019
2003-08-17 16:07:06 +00:00
Alex Roitman
e6ce232335 * src/gramps_main.py: Functional history submenu of the Go menu.
svn: r2018
2003-08-17 04:01:52 +00:00
Don Allingham
ebdc5fbcc3 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Alex Roitman
8178a7f82e * 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
66d35b9df4 * 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
Don Allingham
53c3da4a2d * src/gramps_main.py: implement a basic history mechanism
* src/gramps.glade: add back and forward buttons


svn: r2000
2003-08-14 03:51:19 +00:00
Don Allingham
a5d499fe20 * src/AddMedia.py: set title for image select dialog
* src/DbPrompter.py: set default path in database file entry box
* src/gramps_main.py: set default path in database file entry box
* src/ImageSelect.py: set default path in image select file entry box,
keep track of last directory used
* src/Report.py: set default path in report file entry box
* src/imagesel.glade: enlarge image select dialog box


svn: r1997
2003-08-13 04:28:07 +00:00
Don Allingham
d3333e1265 * src/gramps_main.py: apply the filter after a load of the database,
allow default view to be set
* src/GrampsCfg.py: handle the defaultview key to allow the user to
choose Family or People view as the default
* src/preferences.glade: defaultview settings


svn: r1993
2003-08-12 03:01:17 +00:00
Alex Roitman
0ff39d38a0 * src/gramps_main.py (save_file): Remove statusbar.set_pulse_step()
call because gnome.ui.AppBar does not have such method.


svn: r1958
2003-08-03 05:41:08 +00:00
Don Allingham
40619fa17f * src/gramps_main.py: handle status bar message with autosave
* src/FamilyView.py: add right-context menus in the family view


svn: r1947
2003-08-01 03:38:51 +00:00
Don Allingham
36ca5fbec9 * src/ChooseParents.py: Used EditPerson dialog instead of quick add,
select added parent in list
* src/gramps_main.py: eliminated importing of string, display
error if no person selected when trying to export
* src/ListModel.py : explicitly delete renderers and columns due
to memory leak in pygtk 1.99.16
* src/PlaceView.py: explictly delete model due to above memory leak
* src/plugins/pkgexport.glade: don't set height of window
* src/plugins/WriteFtree.py: export to Web Family Tree


svn: r1942
2003-07-31 11:58:08 +00:00
Don Allingham
80e6b47bfb * src/gramps_main.py: handle autosave more gracefully
svn: r1940
2003-07-29 04:36:13 +00:00
Don Allingham
2d71fb6768 * src/ListModel.py: set the cell renderers to a fixed size
to improve performance
* src/PlaceView.py: set the cell renderers to a fixed size
to improve performance
* src/SourceView.py: set the cell renderers to a fixed size
to improve performance
* src/Sources.py: set the cell renderers to a fixed size
to improve performance
* src/Utils.py: set the cell renderers to a fixed size
to improve performance
* src/gramps_main.py: prevent double loading of place_view


svn: r1931
2003-07-27 03:50:57 +00:00
Alex Roitman
f8d2f86295 * src/gramps_main.py (open_example): Fix destination name when copying
files (was directory name).
* doc/gramps-manual/C/gramps-manual.xml: Reflect name change for
Comprehensive Ancestors Report.
* src/plugins/AncestorReport.py: Prefixed style names ("AHN:").
* src/plugins/Ancestors.py: Prefixed style names ("AR:").
* src/plugins/DescendReport.py: Prefixed style names ("DR:").
* src/plugins/DetAncestralReport.py: Prefixed style names ("DAR:").
* src/plugins/DetDescendantReport.py: Prefixed style names ("DDR:").
* src/plugins/FtmStyleAncestors.py: Prefixed style names ("FTA:").
* src/plugins/FtmStyleDescendants.py: Prefixed style names ("FTD:").
* src/plugins/FamilyGroup.py: Prefixed style names ("FGR:").
* src/plugins/CustomBookText.py: Prefixed style names ("CBT:").
* src/plugins/SimpleBookTitle.py: Prefixed style names ("SBT:").
Rename "Copyright string" with "Subtitle string".
* src/plugins/BookReport.py (BookReportDialog.__init__): Finally,
clear the style problem.


svn: r1901
2003-07-18 06:17:28 +00:00
Alex Roitman
1a5fb683a9 * src/gramps_main.py: Replace old "file-should-be-directory" message.
* src/StartupDialog.py: Minor typos.
* src/plugins/Verify.py: Likewise.
* src/plugins/WebPage.py: Likewise.
* src/plugins/book.glade: Likewise.
* src/MediaView.py: Likewise.
* src/PlaceView.py: Likewise.
* src/po/template.po: Update the above corrections in template.


svn: r1894
2003-07-17 02:37:28 +00:00
Don Allingham
e4a1d75f14 * src/DisplayTrace.py: identify more linux versions
svn: r1803
2003-06-30 03:07:24 +00:00
Don Allingham
00c9985d60 * src/plugins/ReadGedcom.py: removed unused variable
* src/latin_utf8.py: explicity state iso-8859-1 to unicode translation
* src/gramps_main.py: handle clearing of tabs better, eliminating
spurious tabs being added on a complete rebuild of the tabs.


svn: r1782
2003-06-26 02:53:04 +00:00
Don Allingham
c5a32dfae8 update
svn: r1775
2003-06-25 03:36:48 +00:00
Don Allingham
cf54cbc309 pychecker fixes
svn: r1750
2003-06-16 04:57:25 +00:00
Don Allingham
8189febf02 * src/preferences.glade: Don't immediately show preferences dialog
* src/GrampsCfg.py: Handle new callback for preferences dialog
* src/gramps_main.py: Pass update_display instead of full_update to
loadConfig to prevent the displaying of multiple entries on the display.


svn: r1738
2003-06-14 14:47:41 +00:00
Alex Roitman
8edebcad36 * src/ReadXML.py (import_data), src/WriteXML.py (export_data),
src/RelImage.py (import_media_object), src/gramps_main.py
(open_example), src/plugins/Check.py (cleanup_missing_photos),
src/plugins/WebPage.py (write_gallery):
Change shutil.copy() calls to first call shutil.copyfile() and then try
setting up bits.


svn: r1652
2003-06-03 21:18:23 +00:00
Don Allingham
8e21af4a49 Catch loops in filters
svn: r1583
2003-05-23 04:08:03 +00:00
Don Allingham
4021237d5f Fixed loading of places and goto person switching back to first page
svn: r1580
2003-05-23 01:47:36 +00:00
Don Allingham
5c8fcf4c3f Pass the correct object to apply_filter when apply is clicked
svn: r1570
2003-05-22 03:15:48 +00:00
Alex Roitman
0ad11c728c Segfault on changing tab with filter applied
svn: r1569
2003-05-22 01:25:23 +00:00
Alex Roitman
282cd6732d Updates
svn: r1568
2003-05-21 22:08:09 +00:00
Alex Roitman
41f848f53c Finishing command line options
svn: r1564
2003-05-21 18:06:41 +00:00
Alex Roitman
f5c9c8f2cd Command line imports: gedcom and iso
svn: r1552
2003-05-20 20:31:16 +00:00
Alex Roitman
7eded566a4 Unknown option handling
svn: r1551
2003-05-20 19:21:23 +00:00
Alex Roitman
9dbba654e5 Command line export-> default to gramps
svn: r1549
2003-05-20 18:33:14 +00:00
Alex Roitman
697e5cb456 Correction
svn: r1547
2003-05-20 04:52:44 +00:00
Alex Roitman
1d660a389f Command-line import from gedcom: cleanup
svn: r1544
2003-05-19 19:58:52 +00:00
Alex Roitman
c4e62d273a Prompt to save on Open and Open Example
svn: r1543
2003-05-19 18:17:35 +00:00
Alex Roitman
dc0cec92e3 Command line: check action
svn: r1541
2003-05-19 04:54:14 +00:00
Alex Roitman
86be928072 Command line: import cleanup and some exports
svn: r1540
2003-05-19 03:52:06 +00:00
Alex Roitman
ffb10b08d9 Command-line import
svn: r1538
2003-05-18 17:31:45 +00:00
Don Allingham
b2be35af0a Shift-click to edit spouse, re-implemented family name guessing
svn: r1537
2003-05-18 04:18:12 +00:00
Alex Roitman
fc1daf4b66 Command line parameters
svn: r1536
2003-05-17 04:14:13 +00:00
Alex Roitman
6519704bdb Ask user if missing media files on Save As
svn: r1524
2003-05-14 00:39:10 +00:00
Don Allingham
ec119ab64a Fixed marriage problem and startup dialog
svn: r1515
2003-05-12 19:39:49 +00:00
Alex Roitman
3058db9d18 Handle media files on Save As...
svn: r1514
2003-05-12 03:30:30 +00:00
Don Allingham
a6338d63b3 Handle image imports that are abandoned
svn: r1506
2003-05-08 17:12:10 +00:00
Don Allingham
59f87c9487 Patch for tabs from Billy Earney
svn: r1496
2003-05-06 02:54:14 +00:00
Don Allingham
700fc73ae6 Gramps IMPORTING
svn: r1490
2003-05-05 01:36:21 +00:00
Don Allingham
377750f4c1 Handle redraw of the display after a tool is run
svn: r1489
2003-05-03 14:16:59 +00:00
Alex Roitman
9a4e9db4e8 Correction: bind relationship function _after_ the plugins are loaded
svn: r1484
2003-04-30 16:40:28 +00:00
Don Allingham
5d09a26cd2 Relcal changes for plugins
svn: r1479
2003-04-30 00:24:32 +00:00
Don Allingham
13eb91d4c9 Fixed Find from popping up multiple windows.
svn: r1474
2003-04-22 21:52:59 +00:00
Don Allingham
65c7ff817e Allow the user to select the entries to be modified.
svn: r1452
2003-04-16 06:25:38 +00:00
Don Allingham
8a4b9b957e Fix configure file to not include extending-gramps
svn: r1433
2003-04-10 02:58:00 +00:00
Don Allingham
35184f9d6f Translation changes
svn: r1432
2003-04-10 02:49:51 +00:00
Unknown
21fc77e211 German translation and several typo fixes
svn: r1431
2003-04-09 19:49:11 +00:00
Don Allingham
f4b8546438 Pychecker cleanup
svn: r1430
2003-04-09 03:29:08 +00:00
Don Allingham
7b8aa74a1d gtk.glade.bindtextdomain
svn: r1427
2003-04-06 05:07:36 +00:00
Don Allingham
7414aeba7c translation fixes
svn: r1425
2003-04-05 23:39:22 +00:00
Don Allingham
165efc5848 Find support
svn: r1423
2003-04-04 05:48:25 +00:00
Alex Roitman
67bae25522 Typos
svn: r1418
2003-04-01 23:28:21 +00:00
Don Allingham
31cd4e0549 Fixed example file loading
svn: r1414
2003-03-31 03:38:06 +00:00
Don Allingham
2c5b7b691d Example database menu item
svn: r1413
2003-03-31 01:33:40 +00:00
Don Allingham
27d3985fb9 filename clean up
svn: r1408
2003-03-28 02:28:04 +00:00
Don Allingham
de7efc0405 Sidebar/tab handling
svn: r1402
2003-03-27 03:16:09 +00:00
Don Allingham
42b49c4c49 Translate list headers
svn: r1400
2003-03-26 02:32:58 +00:00
Don Allingham
e2d89c8f90 Accessibility for dialogs
svn: r1384
2003-03-23 03:50:59 +00:00
Don Allingham
5a38afb512 Fixed HTML options
svn: r1383
2003-03-23 03:26:55 +00:00
Don Allingham
97068b77a6 Merge fixes, option to display relationship to the home person in the
status bar.


svn: r1380
2003-03-22 20:26:44 +00:00
Don Allingham
99a8c5f1dd Message for place displays
svn: r1374
2003-03-21 04:42:12 +00:00
Don Allingham
5d1897c379 Fixed sorting
svn: r1373
2003-03-21 04:25:55 +00:00
Don Allingham
64de2e6acf Faster load times for places
svn: r1364
2003-03-20 02:54:28 +00:00
Don Allingham
2615f4c186 HIG improvements
svn: r1358
2003-03-19 04:27:34 +00:00
Don Allingham
c326597f61 HIG changes
svn: r1355
2003-03-17 05:21:40 +00:00
Don Allingham
50f66cbddd Updates to people list occur only on active display
svn: r1353
2003-03-17 02:28:43 +00:00
Don Allingham
d822a0ebfa Faster initial display
svn: r1350
2003-03-15 18:51:30 +00:00
Don Allingham
d554f53049 Hide main window until it is completely initialized.
svn: r1348
2003-03-14 05:46:02 +00:00
Don Allingham
f9f602f378 Patch names improvements
svn: r1345
2003-03-12 23:17:54 +00:00
Don Allingham
177c14d082 Faster loading of pages, Improvements to filters
svn: r1340
2003-03-12 03:02:08 +00:00
Don Allingham
a72b6df23c Bug fixes from pychecker
svn: r1333
2003-03-08 05:59:20 +00:00
Don Allingham
b6fe29b4d8 Title handling
svn: r1328
2003-03-07 02:21:18 +00:00
Don Allingham
368378119d Window title strings
svn: r1327
2003-03-06 06:12:51 +00:00
Don Allingham
e3e2a02607 Interface compliance changes
svn: r1323
2003-03-03 04:32:53 +00:00
Don Allingham
072c64eb5e HIG improvements
svn: r1319
2003-02-27 00:29:37 +00:00
Don Allingham
b3baca9985 HIG compliance (or at least the start of)
svn: r1318
2003-02-26 05:43:55 +00:00
Don Allingham
0f616d0b90 Updated dialogs
svn: r1314
2003-02-24 04:51:57 +00:00
Don Allingham
a631b949cb Translator names in credits
svn: r1306
2003-02-14 03:55:20 +00:00
Don Allingham
8637d33501 Clear displays after a new database is created.
svn: r1305
2003-02-14 02:20:59 +00:00
Don Allingham
acf975cd1a updated strings, called gnome.init
svn: r1301
2003-02-13 05:15:39 +00:00
Don Allingham
a9f8fe034f ansel/utf8 encodings
svn: r1258
2003-01-19 06:25:20 +00:00
Don Allingham
a5b4fcd791 pychecker cleanup
svn: r1254
2003-01-12 05:22:21 +00:00
Don Allingham
f36b5c5056 Graphviz index problem, scroll window on person list
svn: r1253
2003-01-11 23:43:24 +00:00
Don Allingham
4f6e5a4031 Pychecker fixes, gnome.url.show to gnome.url_show
svn: r1252
2003-01-10 13:52:32 +00:00
Don Allingham
7f514dac82 pychecker fixes, GEDCOM import/export improvements, calendar improvements
svn: r1250
2003-01-10 05:21:32 +00:00
Don Allingham
1e1ef8dc73 Calendar updates
svn: r1247
2003-01-09 04:41:08 +00:00
Don Allingham
1d449eb7c7 Unselect selected person on goto_active_person, apply Alexandre Duret-Lutz's
GEDCOM patches


svn: r1243
2003-01-08 04:58:00 +00:00
Don Allingham
c6ca0c4e18 OpenOffice fixes, calendar format fixes
svn: r1239
2003-01-06 05:14:49 +00:00
Don Allingham
1c902e0eef Calendar enhancements
svn: r1235
2003-01-02 04:31:52 +00:00
Don Allingham
ba3ab2b947 Date handling improvements (calendar conversions)
svn: r1233
2002-12-30 00:42:47 +00:00
Don Allingham
8d773d3e7d Dynamically find pages
svn: r1232
2002-12-29 05:44:35 +00:00
Don Allingham
d50af921d3 Dynamic create of person list pages
svn: r1231
2002-12-25 05:22:23 +00:00
Don Allingham
42ab304330 Support for natural find
svn: r1230
2002-12-24 22:36:46 +00:00
Don Allingham
a08425ebc8 Gedcom export, complete_rebuild fix, merge support
svn: r1223
2002-12-14 05:07:09 +00:00
Don Allingham
47e4725f60 Improved reporting for traceback dialog, attempts to determine the distribution
svn: r1220
2002-12-11 05:18:47 +00:00
Don Allingham
3484056b38 List sorting
svn: r1219
2002-12-06 03:37:31 +00:00
Don Allingham
37b8945a47 Surname prefix support
svn: r1217
2002-12-04 04:58:07 +00:00
Don Allingham
efd7282292 Surname prefix support, landscape support for SVG and PS
svn: r1215
2002-12-01 03:40:47 +00:00
Don Allingham
1e89380047 Removed unneeded pygtk calls
svn: r1210
2002-11-27 05:56:23 +00:00
Don Allingham
f53f056885 use pygtk.require to determine database
svn: r1205
2002-11-26 04:06:23 +00:00
Don Allingham
ae834aec56 Delay attaching ListStore to TreeView until after names have been loaded.
svn: r1191
2002-11-17 05:06:43 +00:00
Don Allingham
65f8f4c87b Updates to relationship calculator, disabling menus, saving sidebar/filters
svn: r1190
2002-11-16 23:22:33 +00:00
Don Allingham
aac28fa291 EditPerson fixes, list model enhancements
svn: r1189
2002-11-15 03:49:39 +00:00
Don Allingham
0c740b6ea8 Fixes for sidebar value saving and apply_filter fixes
svn: r1178
2002-11-10 04:22:50 +00:00
Don Allingham
e526e704e2 Warning message
svn: r1175
2002-11-10 00:44:10 +00:00
Don Allingham
96e1119270 Tabbed pages in the person list
svn: r1174
2002-11-10 00:38:58 +00:00
Don Allingham
a6a58ccf78 GEDCOM/ANSEL handing, improved list access
svn: r1173
2002-11-09 18:44:58 +00:00
Don Allingham
814af540c2 Pre02 for gramps-0.9.0
svn: r1160
2002-11-02 21:19:58 +00:00