Commit Graph

2233 Commits

Author SHA1 Message Date
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
a182ecadd1 update
svn: r2288
2003-10-27 03:51:22 +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
b0f5bf62fa update
svn: r2286
2003-10-23 21:54:09 +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
afc42114c5 update
svn: r2283
2003-10-23 03:05:28 +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
Don Allingham
dcefcf761b More information
svn: r2281
2003-10-22 04:49:44 +00:00
Alex Roitman
3411788d6b Update
svn: r2280
2003-10-22 04:20:27 +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
Don Allingham
70b3853997 update
svn: r2278
2003-10-22 04:14:46 +00:00
Don Allingham
2e89dba0f3 * 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.
* TestPlan.txt: start of a test plan


svn: r2277
2003-10-22 04:14:32 +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
d918c23f62 update
svn: r2273
2003-10-21 03:43:13 +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
5108634fcd update
svn: r2268
2003-10-18 02:40:50 +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
5b623ac30a update
svn: r2263
2003-10-17 03:12:27 +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
b6efc6a3f1 * NEWS: Instant prefs.
svn: r2261
2003-10-16 16:50:34 +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
466a350139 update
svn: r2253
2003-10-14 04:22:35 +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
6af88a4846 * configure.in, configure: Change version and release numbers.
* TODO: Remove completed items.


svn: r2247
2003-10-13 13:02:34 +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
2d18f5c5b5 update
svn: r2244
2003-10-13 03:12:37 +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