Commit Graph

74 Commits

Author SHA1 Message Date
Alex Roitman
477926d419 * src/FamilyView.py: Enable keyboard navigation in Family View.
svn: r2358
2003-11-20 04:59:36 +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
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
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
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
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
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
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
d8def400f3 * 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
Don Allingham
619634ca4b * 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
Don Allingham
b7483de413 * 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
8f88ab5b6b * src/gramps_main.py: Really fix start-up view when family
view style is the default. Clean up the use of views.
(post_load): Select the person with the alphabetically lowest ID
to be active if no home person is set. Fixes 793127.
(goto_active_person): Create alpha page if it does not exist.
* src/FamilyView.py (init_interface): Do not connect handlers to
events if they already exist;
(set_widgets): Set correct page before hiding the old one. Fixes
resizing issue on applying preferences after changing Family View
layout.


svn: r2087
2003-09-03 04:57:36 +00:00
Don Allingham
8532b385e9 * src/docgen/PdfDoc.py: Support drawing functions.
* src/docgen/PdfDrawDoc.py: remove - all functions integrated into
PdfDoc.py
* src/DbPrompter.py: change title from "Save" to "Create" when
opening a new database, prompt with last database saved.
* src/FamilyView.py: don't add columns to the child list if it
is already initialized


svn: r2065
2003-08-31 03:29:12 +00:00
Alex Roitman
32a3796ae1 * src/gramps_main.py: Enable context menu for an empty people view.
* src/FamilyView.py: Cleanups for the case of empty database.


svn: r2063
2003-08-30 23:14:00 +00:00
Alex Roitman
ee00dedf8d * src/plugins/TimeLine.py: Likewise.
* src/FamilyView.py: New items for context menus.


svn: r2061
2003-08-30 01:16:40 +00:00
Alex Roitman
f85214c358 * src/docgen/LaTeXDoc.py: Do not register as a book format (have to
support both text and graphics).
* src/plugins/AncestorChart.py:  Minor code cleanup.
* src/plugins/BookReport.py: Add context menus to the dialog.
* src/FamilyView.py: Properly refer to gtk stock items.
* src/gramps_main.py: Likewise.


svn: r2056
2003-08-29 03:08:02 +00:00
Don Allingham
0830050603 * src/FamilyView.py: don't add columns to family view items
if they have already be added.


svn: r2054
2003-08-28 01:50:29 +00:00
Don Allingham
eb60bb7782 * src/gramps.glade: move alternate family view tab, assign a
few object names
* src/FamlyView.py: handle alternate family view
* src/preferences.glade: allow user to choose family view
* src/GrampsCfg.py: allow user to choose family view
* src/gramps_main.py: allow user to choose family view


svn: r2047
2003-08-26 03:45:41 +00:00
Alex Roitman
666428c576 Update
svn: r2040
2003-08-25 03:54:08 +00:00
Alex Roitman
3d80f515b2 * src/FamilyView.py (edit_active_person, build_ap_menu,
build_child_menu, build_spouse_menu, build_parents_menu,
build_sp_parents_menu, edit_parents, edit_sp_parents):
Add navigation portion to all context menus.


svn: r2035
2003-08-24 23:42:42 +00:00
Don Allingham
b5f75c0a77 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Alex Roitman
e2c4969585 * src/FrenchRepublic.py: Insert encoding line because non-ascii
charatcers are used. This behavior is deprecated and causes warnings
in python 2.3.
* src/const.py.in: Likewise.
* src/FamilyView.py: Likewise.
* src/SelectChild.py: Likewise.
* src/plugins/rel_ru.py: Likewise.


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


svn: r1997
2003-08-13 04:28:07 +00:00
Alex Roitman
cb359e8d47 * configure.in: Set version to 0.9.4 (since the release is 0.CVS...).
Otherwise it becomes older-version that the latest release.
* src/EditPerson.py: Change const.save_fevent() calls to
const.save_event().
* src/EventEdit.py: Display event name with const.display_event()
(was backwards).
* src/GrampsParser.py: Call const.save_event() and const.attr()
when parsing XML. This should take care of prior data with standard
events and attributes recorded in $LANG.
* src/FamilyView.py (nameof): Translate parent's relation to a child.


svn: r1986
2003-08-11 00:59:16 +00:00
Don Allingham
fc2759edf9 * src/FamilyView.py: set menu title
svn: r1969
2003-08-08 03:17:38 +00:00
Alex Roitman
3a7293dd47 * src/FamilyView.py (load_family): Enable translation for family
relation.
* src/const.py.in: Add new functions: display_event(), save_event(),
display_attr(), and save_attr() which work for either personal or
family events/attributes. Correct silly typo.
* src/WriteXML.py (dump_my_event): Call const.save_event() before
saving; (write_family_id): Call const.save_frel() before saving;
(write_attribute_list): Call const.save_attr() before saving.
* src/Marriage.py (redraw_event_list): Call const.display_fevent()
before saving; (on_add_clicked): change const.save_fevent() to
const.display_fevent(); (on_event_update_clicked): Likewise.
* src/EventEdit.py (EventEditor.__init__): Call self.trans() before
displaying event name.


svn: r1964
2003-08-07 03:54:10 +00:00
Don Allingham
016214b255 * 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
5384b63ffa * src/plugins/DetAncestralReport.py: add import of string
* src/plugins/DetDescendantReport.py: add import of string
* src/Date.py: compare date modes when comparing dates
* src/EditPerson.py: save date strings which comparing for changes
* src/FamilyView.py: Scope Person.male properly


svn: r1839
2003-07-08 00:42:26 +00:00
Don Allingham
8e8a0c8449 * src/FamilyView.py: keep focus on correct family after a new
child is added


* src/plugins/WriteGedcom.py: catch filter exceptions
* src/GenericFilter.py: eliminate loop detection


svn: r1761
2003-06-19 03:54:45 +00:00
Don Allingham
df6c1648ad * src/FamilyView.py: keep focus on correct family after a new
child is added


* src/plugins/WriteGedcom.py: catch filter exceptions
* src/GenericFilter.py: eliminate loop detection


svn: r1760
2003-06-18 23:57:03 +00:00
Tim Waugh
920a605393 2003-06-18 Tim Waugh <twaugh@redhat.com>
* src/FamilyView.py (add_child_clicked): No reason to assume children
        are female.


svn: r1759
2003-06-18 16:30:49 +00:00
Don Allingham
34c2b0332b * src/gramps.glade: Add a dialog to allow a child's relationships
to his/her parents to be altered.
* src/FamilyView.py: Add popup menu for childlist to allow the
enabling of the new child relationship editor dialog
* src/SelectChild.py: Child relationship editor
* src/RelLib.py: Allow for altering of relationships of the
AltFamilyList


svn: r1756
2003-06-17 04:15:58 +00:00
Tim Waugh
90337c2baa 2003-06-16 Tim Waugh <twaugh@redhat.com>
* src/FamilyView.py (north_american): Fixed traceback when adding
        a new child in the family view.


svn: r1752
2003-06-16 16:24:17 +00:00
Don Allingham
ae7ee195c6 * src/gramps.glade: added select/edit buttions to family view
* src/SelectChild.py: change title from Add Children to Add Child
to Family
* src/FamilyView: add support for adding spouse/child with full
Edit Person window, along with old method of adding via selectors


svn: r1746
2003-06-15 04:13:16 +00:00
Don Allingham
36c54ceb8d * src/FamilyView.py: Call marriage editor with callback to update
the family view
* src/Marriage.py: Call the family view callback after saving to update
the display with changed marriage information


svn: r1667
2003-06-07 16:30:44 +00:00
Don Allingham
a18b7ff964 Fixed spouse selection when family changes
svn: r1643
2003-06-03 02:54:56 +00:00
Alex Roitman
045d69243c * src/FamilyView.py (load_family): Select the first spouse in the list.
svn: r1639
2003-06-02 22:43:43 +00:00
Alex Roitman
1d38ec320a Translation cleanups
svn: r1591
2003-05-24 03:40:58 +00:00
Don Allingham
76f10e127d Shift-click to edit spouse, re-implemented family name guessing
svn: r1537
2003-05-18 04:18:12 +00:00
Don Allingham
dff2e9ddc0 Icons for drag and drop
svn: r1535
2003-05-17 03:20:50 +00:00
Don Allingham
69eb302f86 Don't print b. and d. if not used
svn: r1481
2003-04-30 03:33:20 +00:00
Don Allingham
f1518ec2a4 Accessibility for dialogs
svn: r1384
2003-03-23 03:50:59 +00:00
Unknown
4bbcb97203 Typos and German translation
svn: r1347
2003-03-13 18:58:52 +00:00
Don Allingham
6883b0590d Bug fixes from pychecker
svn: r1333
2003-03-08 05:59:20 +00:00
Don Allingham
cea94cbae5 Paragraph editor enhancements - styles have descriptions
svn: r1332
2003-03-08 05:03:18 +00:00
Don Allingham
ce77a02144 Interface compliance changes
svn: r1323
2003-03-03 04:32:53 +00:00
Don Allingham
7f70415166 HIG improvements
svn: r1319
2003-02-27 00:29:37 +00:00
Don Allingham
b70d9bb856 HIG compliance (or at least the start of)
svn: r1318
2003-02-26 05:43:55 +00:00