Commit Graph

511 Commits

Author SHA1 Message Date
Alex Roitman
9ec87fc160 * src/Sources.py: (SourceSelector.on_help_clicked,
SourceEditor.on_help_clicked): Add functions.
* src/srcsel.glade: Add Help buttons to dialogs.
* src/places.glade: Add Help buttons to dialogs.
* src/EditSource.py (on_help_clicked): Add function.
* src/EditPlace.py (on_help_clicked): Add function;
(__init__): Make the dialog modal and a transient for its parent;
* src/PlaceView.py: Pass the window to the EditPlace class.


svn: r2352
2003-11-19 18:00:58 +00:00
Tim Waugh
02ddd38c12 Fix date :-)
svn: r2350
2003-11-19 15:37:05 +00:00
Alex Roitman
188bfa24a9 * src/ChooseParents.py (ModifyParents.__init__): Make the dialog modal
and a transient for its parent; (ModifyParents.on_help_clicked): Add
function; (ChooseParents.__init__): Make the dialog modal and a
transient for its parent; (ChooseParents.on_help_clicked):
Add function.
* src/FamilyView.py: Pass the window to the ChooseParents classes.


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


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


svn: r2347
2003-11-18 04:26:06 +00:00
Alex Roitman
4ec6046627 Update
svn: r2346
2003-11-18 03:20:03 +00:00
Don Allingham
19a7bc2ad7 update
svn: r2345
2003-11-17 00:42:41 +00:00
Don Allingham
4d5c200b2e update
svn: r2343
2003-11-16 02:39:46 +00:00
Don Allingham
b6e67ec90b update
svn: r2341
2003-11-14 22:50:11 +00:00
Don Allingham
ad8d05ff12 update
svn: r2339
2003-11-14 05:30:39 +00:00
Alex Roitman
b5e029e27e * src/EditPerson.py: Fix LDS tab label behavior.
* src/Marriage.py: Fix LDS tab label behavior. Fix get_place for LDS (was
using Utils.get_place_from_list which uses deprecated gtk.List and does not
work).


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


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


svn: r2334
2003-11-13 19:52:34 +00:00
Don Allingham
21de092117 update
svn: r2333
2003-11-13 19:29:05 +00:00
Alex Roitman
6d7f263d52 * src/plugins/WebPage.py (IndividualPage.write_normal_row): Add separators
between the references (comma and space).


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

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

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


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


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


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


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


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

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

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


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

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


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


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


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


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


svn: r2314
2003-11-03 11:58:15 +00:00
Tim Waugh
d3ad386729 2003-11-02 Tim Waugh <twaugh@redhat.com>
* src/ArgHandler.py, src/DbPrompter,py: clear_database takes no
        additional arguments.


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


svn: r2311
2003-11-02 12:43:53 +00:00
Don Allingham
61ce42d3f2 update
svn: r2310
2003-11-02 00:24:14 +00:00
Don Allingham
7c0b8f9db9 update
svn: r2308
2003-11-02 00:22:18 +00:00
Tim Waugh
38e4401965 2003-11-01 Tim Waugh <twaugh@redhat.com>
* src/gramps_main.py (Gramps.delete_person_clicked): Fix removal
        of multiple people at once (bug #834102).


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


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


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


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


svn: r2299
2003-10-31 09:28:49 +00:00
Don Allingham
d431e0b8dc update
svn: r2298
2003-10-31 01:27:10 +00:00
Don Allingham
aed31e7a33 pychecker fixes
svn: r2294
2003-10-30 04:18:17 +00:00
Don Allingham
d96abbe81e update
svn: r2292
2003-10-29 05:07:59 +00:00
Don Allingham
d4111e6e8e update
svn: r2290
2003-10-29 05:05:47 +00:00
Don Allingham
93f87bda38 update
svn: r2288
2003-10-27 03:51:22 +00:00
Don Allingham
a2b1e36b89 update
svn: r2286
2003-10-23 21:54:09 +00:00
Alex Roitman
1e54886508 * src/plugins/ReadGedcom.py (GedcomParser.__init__):
Build translation map of correct length.


svn: r2284
2003-10-23 15:33:57 +00:00
Don Allingham
dc115bc519 update
svn: r2283
2003-10-23 03:05:28 +00:00
Alex Roitman
4926c65d3e Update
svn: r2280
2003-10-22 04:20:27 +00:00
Don Allingham
cea588db38 update
svn: r2278
2003-10-22 04:14:46 +00:00
Alex Roitman
4e8c2a3886 * src/PedView.py: Correct colors so that they work with dark and
high-contrast themes.


svn: r2276
2003-10-22 03:20:59 +00:00
Alex Roitman
2f99f02e5f * src/MediaView.py: Correct behavior for right-click popup menu.
svn: r2274
2003-10-21 22:31:37 +00:00
Don Allingham
565e55f84a update
svn: r2273
2003-10-21 03:43:13 +00:00
Alex Roitman
f7158aa398 * src/SourceView.py: Correct behavior for right-click popup menu.
* src/EditPerson.py: Likewise.
* src/FamilyView.py: Likewise.
* src/ImageSelect.py: Likewise.
* src/PedView.py: Likewise.
* src/PlaceView.py: Likewise.
* src/plugins/BookReport.py: Likewise.
* src/PeopleView.py: Likewise.


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


svn: r2269
2003-10-18 15:50:16 +00:00
Don Allingham
7bec3e9e1a update
svn: r2268
2003-10-18 02:40:50 +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
56c2b3a66d * src/FamilyView.py (set_widgets): Do not connect buttons if this
view is already initialized.
* src/GrampsCfg.py: Set GNOME toolbar prefs as the default.
Correct existing gconf key detection.


svn: r2264
2003-10-17 04:24:36 +00:00
Don Allingham
d3fd8b06b9 update
svn: r2263
2003-10-17 03:12:27 +00:00
Alex Roitman
df597a0422 * NEWS: Instant prefs.
svn: r2261
2003-10-16 16:50:34 +00:00
Alex Roitman
a9c28c392c * src/GrampsCfg.py: Implement instant preferences (HIG).
* src/preferences.glade: Likewise.
* src/gramps_main.py (pref_callback): Update statusbar from prefs
(needed for Family View).


svn: r2260
2003-10-16 16:43:07 +00:00
Alex Roitman
3a5ccf8e7f * src/gramps.glade: Correct tooltips.
* src/GrampsCfg.py:	Enable using four toolbar styles as well as
the gnome default style.
* src/preferences.glade: Add a title for the tree. HIGify toolbar styles.
* src/gramps_main.py (pref_callback): Set toolbar style from prefs.


svn: r2259
2003-10-16 04:42:21 +00:00
Tim Waugh
7fc8c32729 2003-10-15 Tim Waugh <twaugh@redhat.com>
* src/Makefile.am: Add uninstall rule for grampslib.so (now 'make
        distcheck' passes again).


svn: r2258
2003-10-15 12:55:08 +00:00
Alex Roitman
81b02975d6 * src/ListModel.py (find): Prevent traceback if the entry is not found.
svn: r2257
2003-10-15 04:19:51 +00:00
Don Allingham
e54014834a update
svn: r2256
2003-10-15 03:55:54 +00:00
Don Allingham
ad6b1155ff update
svn: r2253
2003-10-14 04:22:35 +00:00
Alex Roitman
5c0fffe1d9 * src/plugins.glade: Switch from GtkDialog to GtkWindow (prevents it
from always being on top under metacity). Remove extra button.
* src/Plugins.py (PluginDialog.__init__): Provide custom labels and
tooltips for reports (Generate) and tools (Run);
(ReportPlugins.__init__, ToolPlugins.__init__): call PluginDialog
with appropriate labels and tooltips.
* src/Report.py (BareReportDialog.__init__): Change button back to OK.
* src/plugins/rel_ru.py (getallancestors): Replace with existing
apply_filter from Relationship.py.
* src/gramps.glade: Correct tooltips in Family Views (make parents an
active family).


svn: r2249
2003-10-14 02:22:14 +00:00
Alex Roitman
2d9909d471 * configure.in, configure: Change version and release numbers.
* TODO: Remove completed items.


svn: r2247
2003-10-13 13:02:34 +00:00
Alex Roitman
2fd773bda4 * src/gramps_main.py (edit_button_clicked): Modify edit person call
to always handle currently active person in family view;
(delete_person_clicked): Use single person mlist for family views;
(delete_person_response): Replace Back with just setting active
person to current history index (remove_from_history already places
hindex in the correct place). Always call redraw_histmenu().
* src/FamilyView.py (spouse_swap): Use change_active_person() call
in order to correctly build history.


svn: r2246
2003-10-13 04:23:34 +00:00
Alex Roitman
9e56adc006 * src/FamilyView.py (new_spouse_after_edit): Rename function (used
to be called spouse_after_edit);
(add_spouse): Call new_spouse_after_edit.
(spouse_after_edit): Add function to be called after editing existing
spouse's personal data. Takes care of display issues only;
(new_child_after_edit): Rename function (used to be called
child_after_edit);
(add_child_clicked): Call new_child_after_edit.
(edit_relationship): Change callback to get consistent behavior.


svn: r2245
2003-10-13 03:26:05 +00:00
Don Allingham
a5d336fc1f update
svn: r2244
2003-10-13 03:12:37 +00:00
Alex Roitman
3d69bafa2f and rel_it.py.
* src/ArgHandler.py: Split off gramps_main into a separate file.
* src/gramps_main.py: Likewise.
* src/Makefile.am, src/Makefile.in: Ship src/ArgHandler.py.
* NEWS: More items.


svn: r2242
2003-10-13 01:55:56 +00:00
Alex Roitman
1b8ea5487c * src/README, src/NEWS, src/ChangeLog, src/po/ChangeLog, src/AUTHORS:
Remove extra files.
* AUTHORS: Consolidate with src/AUTHORS.
* src/plugins/Makefile.am, src/plugins/Makefile.in: Ship RelGraph.py
and rel_it.py.


svn: r2241
2003-10-13 01:07:01 +00:00
Alex Roitman
1c3c76855d * src/README, src/NEWS, src/ChangeLog, src/po/ChangeLog: Remove extra
files.


svn: r2240
2003-10-13 01:00:29 +00:00
Don Allingham
314d0511ba update
svn: r2239
2003-10-12 04:28:56 +00:00
Don Allingham
52839e9ba0 update
svn: r2237
2003-10-12 02:29:47 +00:00
Don Allingham
a52c5a83b9 update
svn: r2235
2003-10-12 00:17:02 +00:00
Don Allingham
16d1e4c84e update
svn: r2233
2003-10-11 23:04:20 +00:00
Don Allingham
9e4d1b6e9a update
svn: r2230
2003-10-11 14:22:51 +00:00
Don Allingham
ca234e4d30 update
svn: r2227
2003-10-11 03:13:57 +00:00
Don Allingham
2c58ecf0fd update
svn: r2225
2003-10-11 02:25:15 +00:00
Tim Waugh
c5901bf46d 2003-10-10 Tim Waugh <twaugh@redhat.com>
* src/PeopleStore.py: Fixed bug where you needed to expand the row
        twice before it shows the people.


svn: r2223
2003-10-10 22:49:55 +00:00
Alex Roitman
69d98c478e * src/gramps.glade: Remove hot keys from toolbar buttons.
Add editing items under Edit menu.
* src/gramps_main.py: Enable/disable new menu items.
* NEWS, configure, configure.in, gramps.spec, doc/gramps.1,
doc/gramps-manual/C/gramps-manual-C.omf,
doc/gramps-manual/C/gramps-manual.xml: merge with 0.9.5 branch.

* Version 0.9.5:  the "Fix me up" release.

* src/gramps_main.py (delete_person_response, merge_update):
Add remove_from_history and redraw_histmenu() calls before deleting
the person.
* doc/gramps.1.in, doc/gramps.1, doc/gramps-manual/C/gramps-manual.xml,
doc/gramps-manual/C/gramps-manual.omf, gramps.spec: New version.
* configure.in: Fix version and release numbers for 0.9.5-1.
* NEWS: Update for a 0.9.5 release.


svn: r2222
2003-10-10 03:56:19 +00:00
Alex Roitman
098a8832de * src/gramps_main.py (init_interface, redraw_histmenu): Add
accelerators to the navigation menus.


svn: r2221
2003-10-09 04:18:53 +00:00
Alex Roitman
ab71ad3b69 Update
svn: r2220
2003-10-08 20:47:55 +00:00
Alex Roitman
84ce09b598 * src/po/sv.po: Typo.
svn: r2219
2003-10-08 20:43:46 +00:00
Don Allingham
9c1484a001 update
svn: r2216
2003-10-08 04:24:26 +00:00
Alex Roitman
be5179705d * src/plugins/FtmStyleAncestors.py (write_report): Likewise.
* src/plugins/Verify.py (on_apply_clicked): Detect homosexual
marriage only if the spouses' gender is known and equal.


svn: r2214
2003-10-08 04:13:41 +00:00
Alex Roitman
505a97be29 Make static Descendant and Ancestral filters inclusive. Fixes 819390.
* src/plugins/FtmStyleDescendants.py (write_report): Change from
partial phrases to the complete phrases. Consider all cases (birth
date/place, death date/place, gender). Closes 810904, 810905.


svn: r2213
2003-10-08 03:23:07 +00:00
Alex Roitman
b52151ddf9 * src/plugins/GraphViz.py (GraphVizDialog.get_report_filters):
Make static Descendant and Ancestral filters inclusive.


svn: r2212
2003-10-08 01:49:35 +00:00
Don Allingham
13682c0cf8 update
svn: r2206
2003-10-07 03:12:13 +00:00
Alex Roitman
463d8be93d * src/gramps_main.py (delete_person_response): Add remove_from_history
call before deleting the person.
* src/PeopleView.py (remove_from_history): Add function;
(row_changed) Remove extra change_active_person() call.


svn: r2201
2003-10-06 22:49:16 +00:00
Tim Waugh
3dd61f752a 2003-10-06 Tim Waugh <twaugh@redhat.com>
* src/Makefile.am: Ship PeopleView.py and PeopleStore.py.


svn: r2200
2003-10-06 16:54:15 +00:00
Don Allingham
b9613eb360 update
svn: r2199
2003-10-06 04:30:12 +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
c83c17fb80 update
svn: r2194
2003-10-05 04:35:22 +00:00
Don Allingham
c5e2944130 update
svn: r2191
2003-10-04 20:04:45 +00:00
Alex Roitman
ba09e070c9 * src/plugins/BookReport.py (BookReportSelector.__init__):
Use underline for labels.
* src/plugins/book.glade: Rework the dialog's layout.


svn: r2189
2003-10-02 03:46:09 +00:00
Alex Roitman
3ae9a34c1a * src/filters/MatchSndEx2.py: Make consistent use of ...
* src/filters/RegExMatch.py: Likewise.
* src/filters/SubString.py: Likewise.


svn: r2188
2003-09-30 04:22:50 +00:00
Alex Roitman
a59ec071e8 * src/Plugins.py: Fix label for the tools dialog.
* src/gramps.glade: Add accelerators to filter controls.
* src/places.glade: Fix accelerator in Edit Plase dialog.
* src/gramps_main.py: Typo.
* src/PlaceView.py: Likewise.
* src/GenericFilter.py: Likewise.

* src/gramps_main.py: fixed delete person problem.


svn: r2187
2003-09-30 04:19:35 +00:00
Don Allingham
5a46237416 update
svn: r2186
2003-09-30 03:37:01 +00:00