Commit Graph

494 Commits

Author SHA1 Message Date
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
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
77756901e7 updateChangeLog
svn: r2323
2003-11-10 22:31:17 +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
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
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
07a4277d06 update
svn: r2310
2003-11-02 00:24:14 +00:00
Don Allingham
8583f8ab89 update
svn: r2308
2003-11-02 00:22:18 +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
dc82edaa0f Fixed typo
svn: r2300
2003-10-31 09:29:53 +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
7264c30f88 update
svn: r2298
2003-10-31 01:27:10 +00:00
Don Allingham
8e5801b970 pychecker fixes
svn: r2294
2003-10-30 04:18:17 +00:00
Don Allingham
446c866610 update
svn: r2292
2003-10-29 05:07:59 +00:00
Don Allingham
fa0ecba1bc update
svn: r2290
2003-10-29 05:05:47 +00:00
Don Allingham
a182ecadd1 update
svn: r2288
2003-10-27 03:51:22 +00:00
Don Allingham
b0f5bf62fa update
svn: r2286
2003-10-23 21:54:09 +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
Alex Roitman
3411788d6b Update
svn: r2280
2003-10-22 04:20:27 +00:00
Don Allingham
70b3853997 update
svn: r2278
2003-10-22 04:14:46 +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
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
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
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
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
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
466a350139 update
svn: r2253
2003-10-14 04:22:35 +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
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
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
503defa3cf update
svn: r2239
2003-10-12 04:28:56 +00:00
Don Allingham
ce14c45c60 update
svn: r2237
2003-10-12 02:29:47 +00:00
Don Allingham
9e7f1bd764 update
svn: r2235
2003-10-12 00:17:02 +00:00
Don Allingham
9b111fe4de update
svn: r2233
2003-10-11 23:04:20 +00:00
Don Allingham
e5375b09f9 update
svn: r2230
2003-10-11 14:22:51 +00:00
Don Allingham
af04874ca7 update
svn: r2227
2003-10-11 03:13:57 +00:00
Don Allingham
efd35b299c update
svn: r2225
2003-10-11 02:25:15 +00:00
Tim Waugh
f61649e346 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
843d6e8c10 * 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
d510a3b9e4 * 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
3f474d24e3 Update
svn: r2220
2003-10-08 20:47:55 +00:00
Alex Roitman
f7105b7f89 * src/po/sv.po: Typo.
svn: r2219
2003-10-08 20:43:46 +00:00
Don Allingham
484a94bb74 update
svn: r2216
2003-10-08 04:24:26 +00:00
Alex Roitman
1451ac5552 * 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
4b7f14d66f 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
a7d583dbf7 * 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
ee43d53753 update
svn: r2206
2003-10-07 03:12:13 +00:00
Alex Roitman
d2dde84a4a * 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
0b0d538a4b 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
f23d7dd063 update
svn: r2199
2003-10-06 04:30:12 +00:00
Alex Roitman
3a46b36b15 * 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
40397cc000 update
svn: r2194
2003-10-05 04:35:22 +00:00
Don Allingham
37303b8b85 update
svn: r2191
2003-10-04 20:04:45 +00:00
Alex Roitman
081d437873 * 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
0fa1c5e4ec * 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
cd028353b3 * 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
44035eca90 update
svn: r2186
2003-09-30 03:37:01 +00:00
Alex Roitman
23b26aa5fe * TODO: Update the list with the postponed todo items.
* configure.in: Increment release number.


svn: r2184
2003-09-30 00:08:45 +00:00
Alex Roitman
78aa304a39 * Version 0.9.4: the "This used to bug me..." release.
svn: r2183
2003-09-29 04:22:26 +00:00
Tim Waugh
a400b7b189 2003-09-28 Tim Waugh <twaugh@redhat.com>
* configure.in: Fetch ChangeLog from srcdir, not builddir (fixes
        'make distcheck').
        * src/po/Makefile.am: Fetch zh_CN.po from srcdir, not builddir (fixes
        'make distcheck').


svn: r2179
2003-09-28 10:50:41 +00:00
Alex Roitman
2d85d35d05 * doc/gramps-manual/C/filtref.xml: Manual corrections.
* doc/gramps-manual/C/cmdline.xml: Likewise.
* doc/gramps-manual/C/mainwin.xml: Likewise.
* doc/gramps-manual/C/figures/pedigree.png: Update figure.


svn: r2177
2003-09-27 23:01:41 +00:00
Don Allingham
3e2fadbe50 update
svn: r2176
2003-09-27 19:42:05 +00:00
Alex Roitman
b0b830d539 * src/po/it.po: Italian translation.
svn: r2172
2003-09-26 15:11:33 +00:00
Alex Roitman
49446f12b5 * doc/gramps-manual/C/figures/family-alt.png: Add figure.
* doc/gramps-manual/C/figures/family.png: Update figure.
* doc/gramps-manual/C/figures/places.png: Update figure.


svn: r2171
2003-09-26 03:41:14 +00:00
Alex Roitman
a353edb3a0 * src/plugins/rel_ru.py: Add more possible language codes.
svn: r2170
2003-09-26 02:23:22 +00:00
Alex Roitman
8628171a48 * src/plugins/DetAncestralReport.py: Fix translatable string.
svn: r2169
2003-09-25 23:11:03 +00:00
Don Allingham
a25b1ebdc0 update
svn: r2167
2003-09-24 22:49:59 +00:00
Don Allingham
6793165ebb ChangeLog
svn: r2165
2003-09-24 02:25:44 +00:00
Alex Roitman
4ae6859447 * doc/gramps-manual/C/figures/cfe-ar.png: Add figure.
* doc/gramps-manual/C/figures/bookreport.png: Update figure.
* doc/gramps-manual/C/figures/gedcom-export.png: Likewise.
* doc/gramps-manual/C/figures/first-open.png: Likewise.
* doc/gramps-manual/C/figures/mainwin.png: Likewise.
* doc/gramps-manual/C/figures/side-filt.png: Likewise.
* doc/gramps-manual/C/figures/sources.png: Likewise.
* doc/gramps-manual/C/figures/media.png: Likewise.


svn: r2160
2003-09-23 04:04:14 +00:00
Alex Roitman
c6b5a7e663 * src/latin_utf8.py (latin_to_utf8): Convert to unicode only if needed.
svn: r2159
2003-09-23 02:50:53 +00:00
Alex Roitman
aba8ba3512 * src/po/ru.po: Update Russian translation.
* doc/gramps-manual/C/gramps-manual.xml: Update manual.
* doc/gramps-manual/C/filtref.xml: Add file -- split appendix
into a separate file.
* doc/gramps-manual/C/cmdline.xml: Likewise.
* doc/gramps-manual/C/getstart.xml: Likewise.
* doc/gramps-manual/C/mainwin.xml: Likewise.
* doc/gramps-manual/C/usage.xml: Likewise.
* doc/gramps-manual/C/custom.xml: Likewise.
* doc/gramps-manual/C/Makefile.am: Ship new files.
* doc/gramps-manual/C/Makefile.in: Likewise.


svn: r2157
2003-09-23 00:48:01 +00:00
Alex Roitman
04201a42ba * src/plugins/book.glade: Minor improvements to the dialogs.
* doc/gramps-manual/C/gramps-manual.xml: Update manual.


svn: r2156
2003-09-22 05:10:59 +00:00
Don Allingham
13845e76cb update
svn: r2155
2003-09-22 01:54:28 +00:00
Don Allingham
6f75d2b539 update
svn: r2152
2003-09-20 19:56:27 +00:00