Commit Graph

903 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Don Allingham
32520be016 * src/RelLib.py : support for capitalized name formats
* src/EditPerson.py: eliminate capitilzing names, instead rely on
the display formats
* src/Utils.py: new display formats for names
* src/GrampsCfg.py: eliminate name only option in status line,
add support for capitalized name formats
* src/preferences.glade : eliminate name only option in status line,
drop capitalize in favor of expanded name format


svn: r2238
2003-10-12 04:26:00 +00:00
Don Allingham
2c49a9de8b * src/plugins/WebPage.py: handle page titles
* src/docgen/HtmlDoc.py: handle page titles


svn: r2236
2003-10-12 02:29:24 +00:00
Don Allingham
cbc95b9ff1 * 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
fbc842961d * src/plugins/rel_it.py: Italian relationship calculator
added
* src/plugins/RelGraph.py: Advanced relationship graph
report generator


svn: r2232
2003-10-11 22:59:32 +00:00
Don Allingham
eb4098d198 * src/plugins/rel_it.py: Italian relationship calculator
added


svn: r2231
2003-10-11 22:42:22 +00:00
Don Allingham
47474665e0 * src/docgen/HTMLDoc.py: removed references to
gnome.ui.WarningDialog


svn: r2229
2003-10-11 14:22:17 +00:00
Don Allingham
03644b93cf * src/plugins/Verify.py: add ability to disable age estimation
* src/plugins/verify.glade: add ability to disable age estimation


svn: r2226
2003-10-11 03:13:41 +00:00
Don Allingham
efd35b299c update
svn: r2225
2003-10-11 02:25:15 +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
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
f7105b7f89 * src/po/sv.po: Typo.
svn: r2219
2003-10-08 20:43:46 +00:00
Alex Roitman
1b709537e3 Update
svn: r2218
2003-10-08 13:01:55 +00:00
Alex Roitman
755d9f9879 Update
svn: r2217
2003-10-08 12:52:31 +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
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
4440c1dfac * src/plugins/WebPage.py: Fixed ID link so that link references are
not converted to &lt; and &gt;
* src/plugins/WriteGedcom.py: Fixed undefined reference to ref_text


svn: r2205
2003-10-07 03:12:05 +00:00
Don Allingham
d29d21d912 * src/plugins/WriteGedcom.py: Fixed undefined reference to ref_text
svn: r2202
2003-10-07 01:41:09 +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
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
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
5f1a3207a0 * src/gramps_main.py: removed import of TreeModel (does
not exist).


svn: r2196
2003-10-05 23:38:05 +00:00
Don Allingham
20ed0b0440 * src/gramps_main.py: removed import of TreeModel (does
not exist).


svn: r2195
2003-10-05 14:35:50 +00:00
Don Allingham
7dc6df853a * 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
Jason Zedlitz
0976832359 nice to have this here, too
svn: r2192
2003-10-04 21:31:03 +00:00
Don Allingham
c0ce4086ee * 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
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
ef95a64b10 * src/gramps_main.py: fixed delete person problem.
svn: r2185
2003-09-30 03:31:14 +00:00
Don Allingham
28f06feb2f update
svn: r2180
2003-09-29 01:12:12 +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
Don Allingham
0c39234249 * src/docgen/RTFDoc.py: Fixed double printing of lines
svn: r2175
2003-09-27 19:41:39 +00:00
Marcos Bedinelli
847aba957b Translation update for 0.9.4
svn: r2174
2003-09-27 18:21:29 +00:00
Don Allingham
5511193ff2 updated for 0.9.4
svn: r2173
2003-09-27 18:21:19 +00:00
Alex Roitman
b0b830d539 * src/po/it.po: Italian translation.
svn: r2172
2003-09-26 15:11:33 +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
0dfd943245 updated Dutch translation
svn: r2168
2003-09-25 02:00:07 +00:00
Don Allingham
dbf3c8b46f * src/plugins/WriteFTree.py: increment the count properly
svn: r2166
2003-09-24 22:49:51 +00:00
Don Allingham
d64df75721 * src/EventEditor.py: Fix destroy window callback
* src/dialog.glade: removed unused callbacks


svn: r2164
2003-09-24 02:24:41 +00:00
Don Allingham
c86543620c * src/EventEditor.py: Fix destroy window callback
* src/dialog.glade: removed unused callbacks


svn: r2163
2003-09-23 12:14:41 +00:00
Don Allingham
984b3e9715 update
svn: r2162
2003-09-23 12:05:04 +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
6ea9df1e83 * src/AddrEdit.py: Fixed OK button callback
svn: r2154
2003-09-22 01:53:45 +00:00
Alex Roitman
e20d8c1268 Russian translation for 0.9.4
svn: r2153
2003-09-21 05:09:54 +00:00
Don Allingham
6f75d2b539 update
svn: r2152
2003-09-20 19:56:27 +00:00
Don Allingham
e30bf2119d * src/Date.py: Reset date if a empty text string is passed
svn: r2151
2003-09-20 19:55:45 +00:00
Don Allingham
71fc95ba39 * 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
Jens Arvidsson
9128bda40f Translation update for 0.9.4
svn: r2148
2003-09-20 12:29:16 +00:00
Don Allingham
c0fd657474 * src/po/Makefile.am: added support for building zh_CN.mo
* src/po/zh_CN.po: Partial Simplified Chinese translation


svn: r2146
2003-09-20 02:18:04 +00:00
Tim Waugh
cd6344c317 2003-09-19 Tim Waugh <twaugh@redhat.com>
* src/Makefile.am: Fix build when builddir != srcdir.
        * gramps.spec.in: Ship grampslib.so.


svn: r2144
2003-09-19 09:58:50 +00:00
Alex Roitman
5938ab7e9b * src/po/template.po: Update translation template.
svn: r2143
2003-09-19 03:33:42 +00:00
Alex Roitman
557d4e7df0 * src/Makefile.am: Install grampslib under $pkglibdir/$PACKAGE
* src/Makefile.in: Likewise.
* gramps.sh.in: Add $pkglibdir/$PACKAGE to the $PYTHONPATH.


svn: r2142
2003-09-19 03:29:33 +00:00
Don Allingham
c4ded833c6 * src/plugins/ReadGedcom.py: Handle Legacy's method of
handling separations and divorces


svn: r2140
2003-09-18 02:59:52 +00:00
Alex Roitman
289163145a * src/docgen/Makefile.am: Don't ship OpenDrawDoc.py anymore.
* src/docgen/Makefile.in: Likewise.


svn: r2139
2003-09-16 04:02:02 +00:00
Alex Roitman
08b8f46c4a * 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
Don Allingham
a46cde5e05 * src/docgen/OpenOfficeDoc.py: set z-index properly for paths
so they appear over text, fix font for draw_text


svn: r2136
2003-09-16 03:33:05 +00:00
Alex Roitman
a10dd07e32 * gramps.sh.in: Fix bashism to have a valid bourne-shell script.
* src/plugins/Makefile.am: Ship writefree.glade.
* src/plugins/Makefile.in: Likewise.


svn: r2135
2003-09-16 03:05:02 +00:00
Alex Roitman
4f738022e8 * 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
Alex Roitman
8a3bd40f52 * src/ImageSelect.py (ImageSelect.__init__): Make dialog transient for
its parent; (Gallery.__init__): Accept parent_window and pass it on.


svn: r2132
2003-09-15 04:16:12 +00:00
Alex Roitman
f89c9b7e26 * src/SourceView.py (button_press,on_add_clicked,on_delete_clicked,
on_edit_clicked): Pass parent window to the child dialog.
* src/Sources.py (add_src_clicked): Likewise.
* src/EditSource.py (__init__): Add optional parent_window argument.
Make dialog modal and transient for its parent.
* src/gramps.glade (sourceEditor dialog): Delete unneeded handlers
for buttons.
* src/QuestionDialog.py (SaveDialog,QuestionDialog,OptionDialog,
ErrorDialog,WarningDialog,MissingMediaDialog): Set transient status
if parent is given.
* src/EventEdit.py (__init__): Make dialog modal and transient for
its parent.
* src/Witness.py: Make WittnessEditor dialog modal and transient for
its parent. Call SelectPerson with itself as a parent.
* src/SelectPerson.py (__init__): Make dialog transient for its parent.
* src/imagesel.glade: Define proper responses and delete unneeded handlers
for buttons. Make gtkFileEntry modal.
* src/dialog.glade (all dialogs): Define proper responses for buttons.
* src/EditPerson.py (on_add_aka_clicked, on_aka_update_clicked):
Call NameEdit with itself as a parent; (on_add_attr_clicked,
on_update_attr_clicked): Call AttributeEditor with itself as a parent;
(on_add_addr_clicked,on_update_addr_clicked): Call AddressEditor with
itself as a parent; (on_add_url_clicked,on_update_url_clicked): Call
UrlEditor with itself as a parent; (on_name_note_clicked,
on_ldsbap_note_clicked,on_ldsendow_note_clicked,
on_ldsseal_note_clicked): Call NoteEditor with itself as a parent.
* src/NameEdit.py (__init__): Make dialog modal and transient for
its parent.
* src/AttrEdit.py (__init__): Likewise.
* src/AddrEdit.py (__init__): Likewise.
* src/UrlEdit.py (__init__): Likewise.
* src/NoteEdit.py (__init__): Likewise.


svn: r2131
2003-09-15 04:11:30 +00:00
Don Allingham
59009a2b25 * src/plugins/TimeLine.py: call doc.init routine to build header
svn: r2129
2003-09-15 02:54:07 +00:00
Don Allingham
7c847b176f * src/FontScale.py: try to handle non-ASCII characters
svn: r2127
2003-09-15 02:42:40 +00:00
Don Allingham
efbbbf3823 * src/docgen/SvgDrawDoc.py: use proper init parameters for BaseDoc
* src/docgen/PSDrawDoc.py: use proper init parameters for BaseDoc
* src/docgen/OpenOfficeDoc.py: handle rotation of text better
* src/Report.py: Proper init sequence for BaseDoc derived reports


svn: r2125
2003-09-14 04:50:44 +00:00
Alex Roitman
209c8b64bb * src/po/template.po: Update translation template.
* src/po/ru.po: Update Russian translation.
* src/plugins/FilterEditor.py (edit_rule): Use translated strings for
identifying rule/option.
* src/GenericFilter.py (save): Encode XML file as utf-8 (was iso8859-1).


svn: r2124
2003-09-14 04:21:44 +00:00
Alex Roitman
ffaf5013c1 * src/srcsel.glade: Define proper responses for OK and Cancel buttons
in both SourceSelector and SourceEditor windows.
* src/Sources.py: Make both SourceSelector and SourceEditor modal and
transients for their parent window. Add SourceTab window argument to
SourceTab to pass to the SourceEditor.
* src/AddrEdit.py: Pass window widget to the SourceTab.
* src/AttrEdit.py: Likewise.
* src/EditPlace.py: Likewise.
* src/EventEdit.py: Likewise.
* src/NameEdit.py: Likewise.
* src/Marriage.py: Rename top_window to self.window.


svn: r2123
2003-09-13 20:42:57 +00:00
Alex Roitman
928f6aebd9 * src/plugins/AncestorChart.py (AncestorChart.__init__): Call calc()
after self.standalone is defined.


svn: r2122
2003-09-13 17:16:19 +00:00
Don Allingham
8047d9b290 update
svn: r2121
2003-09-13 04:58:20 +00:00
Don Allingham
2f7e44c3bb * src/BaseDoc.py: add init function to BaseDoc to be called after
all graphics formats are defined
* src/docgen/OpenOfficeDoc.py: fix rotate_print and center_print
* src/plugins/AncestorChart.py: support BaseDoc.init
* src/plugins/AncestorReport.py: support BaseDoc.init
* src/plugins/BookReport.py: support BaseDoc.init
* src/plugins/CustomBookText.py: support BaseDoc.init
* src/plugins/DesGraph.py: support BaseDoc.init
* src/plugins/DescendReport.py: support BaseDoc.init
* src/plugins/DetAncestralReport.py: support BaseDoc.init
* src/plugins/DetDescendantReport.py: support BaseDoc.init
* src/plugins/FamilyGroup.py: support BaseDoc.init
* src/plugins/FanChart.py: support BaseDoc.init
* src/plugins/FtmStyleAncestors.py: support BaseDoc.init
* src/plugins/FtmStyleDescendants.py: support BaseDoc.init
* src/plugins/SimpleBookTitle.py: support BaseDoc.init
* src/plugins/Ancestors.py: support BaseDoc.init


svn: r2120
2003-09-13 04:57:30 +00:00
Don Allingham
9719ea83ee * src/BaseDoc.py: add init function to BaseDoc to be called after
all graphics formats are defined
* src/docgen/OpenOfficeDoc.py: fix rotate_print and center_print
* src/plugins/AncestorChart.py: support BaseDoc.init
* src/plugins/AncestorReport.py: support BaseDoc.init
* src/plugins/BookReport.py: support BaseDoc.init
* src/plugins/CustomBookText.py: support BaseDoc.init
* src/plugins/DesGraph.py: support BaseDoc.init
* src/plugins/DescendReport.py: support BaseDoc.init
* src/plugins/DetAncestralReport.py: support BaseDoc.init
* src/plugins/DetDescendantReport.py: support BaseDoc.init
* src/plugins/FamilyGroup.py: support BaseDoc.init
* src/plugins/FanChart.py: support BaseDoc.init
* src/plugins/FtmStyleAncestors.py: support BaseDoc.init
* src/plugins/FtmStyleDescendants.py: support BaseDoc.init
* src/plugins/SimpleBookTitle.py: support BaseDoc.init


svn: r2119
2003-09-13 04:56:04 +00:00
Don Allingham
af507eb4b4 * 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
Don Allingham
4191d535f8 * src/docgen/PdfDoc.py: fix typo
svn: r2115
2003-09-11 02:59:21 +00:00
Alex Roitman
70ba1892f9 * src/plugins/SimpleBookTitle.py: Introduce footer.
Introduce Image size option. Re-name item to Title Page (no longer
simple I'm afraid).


svn: r2114
2003-09-11 01:40:20 +00:00
Tim Waugh
9f09421812 2003-09-10 Tim Waugh <twaugh@redhat.com>
* src/Relationship.py: Fixed typos in relationship descriptions.


svn: r2113
2003-09-10 13:43:47 +00:00
Alex Roitman
2a46248af7 * src/plugins/SimpleBookTitle.py: Add functionality to "From file".
* src/AddMedia.py: Make it a modal dialog.
* src/MediaView.py: Call AddMedia as modal dialog.
* src/imagesel.glade: Change responses for dialog buttons.


svn: r2112
2003-09-10 13:38:02 +00:00
Alex Roitman
8d2c37f2b4 (SimpleBookTitle.write_report): Insert image only if it is passed.
Set empty object_id to "" (was None).
* src/plugins/BookReport.py (BookReportSelector.open_book):
Don't displpay person name for special items (title).


svn: r2111
2003-09-10 03:05:14 +00:00
Alex Roitman
07009fbe9d * src/plugins/SimpleBookTitle.py
(SimpleBookTitleDialog.add_user_options): Add a tab for an image,
provide more controls for managing it;
(remove_obj): Add function.
(select_file): Add a placeholder function.
(select_obj): Gracefully handle Cancel empty object (cancel).
Enable Remove button on non-empty selection.


svn: r2110
2003-09-10 01:50:26 +00:00
Don Allingham
4ba080738c update
svn: r2109
2003-09-09 01:48:50 +00:00
Don Allingham
718a68ea33 * src/GenericFilter.py: handle the possibility of missing
"inclusive" settings, assuming that it is 1 if not present.


svn: r2108
2003-09-09 01:48:30 +00:00
Tim Waugh
a8f5de5849 2003-09-08 Tim Waugh <twaugh@redhat.com>
* src/Makefile.am: Ship SelectObject.py.


svn: r2107
2003-09-08 12:59:56 +00:00
Alex Roitman
7afaf5ddc4 * 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
Don Allingham
a115be7739 * src/docgen/PdfDoc.py: handle multiple image classes defined
by reportlab


svn: r2104
2003-09-08 04:20:01 +00:00
Alex Roitman
3795edd1d4 * 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
Alex Roitman
724d66ee19 * src/plugins/SimpleBookTitle.py: Add image options.
svn: r2102
2003-09-08 03:44:54 +00:00
Alex Roitman
788dc2421f * src/SelectObject.py: Add module.
* src/choose.glade: Add select_object dialog.


svn: r2100
2003-09-08 01:24:40 +00:00
Don Allingham
0dcd1fa8da * 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
* src/const.py.in: Add "Alternate Marriage" as a family
event type.


svn: r2099
2003-09-07 18:45:22 +00:00
Don Allingham
fd6da64350 * 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
0b6082e997 * src/plugins/FilterEditor.py (MyInteger): Fix type conversions.
svn: r2097
2003-09-07 02:55:41 +00:00
Don Allingham
ac2bc08335 * src/plugins/FilterEditor.py (MyPlaces): fix handling of get_text,
set_text tasks. Use the default from the base class.


svn: r2095
2003-09-06 23:11:29 +00:00
Alex Roitman
9e6a19860e * src/plugins/BookReport.py (BookList.save): Write encoding.
* src/plugins/FilterEditor.py (MyBoolean): Add class.
(FilterEditor.edit_rule): Implement Inclusive option.
* src/GenericFilter.py: Add categories and descriptions. Implement
Inclusive option.


svn: r2093
2003-09-05 04:38:43 +00:00
Don Allingham
7105782475 * src/RelLib.py: backout yesterday's change
svn: r2091
2003-09-05 03:34:44 +00:00
Don Allingham
4aba6b9fe6 * src/RelLib.py: select the lowest ID for the default person
if the default person is not set


svn: r2089
2003-09-04 03:51:58 +00:00
Don Allingham
fc185e9000 Added BaseDoc.py
svn: r2088
2003-09-03 14:17:53 +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
3b3e0a29f6 update
svn: r2086
2003-09-03 04:20:11 +00:00
Don Allingham
b6788a7fb3 * src/po/Makefile.am: convert .po files to unicode before
running through msgfmt
* src/revision.glade: make the open dialog box a bit bigger


svn: r2085
2003-09-03 04:19:25 +00:00
Alex Roitman
c525f2feec * 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
94f730a17a 2003-09-02 Tim Waugh <twaugh@redhat.com>
* src/plugins/GraphViz.py: Fixed typo.


svn: r2083
2003-09-02 21:50:39 +00:00
Tim Waugh
0d463a5ea2 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
b3298e8d35 * src/docgen/PdfDoc.py (make_color): Remove the first occurence --
was defined twice; (left_print): Remove print statement.


svn: r2081
2003-09-02 04:04:07 +00:00
Don Allingham
caa78c7f0f * src/docgen/OpenOfficeDoc.py: Fix styles
svn: r2079
2003-09-02 03:28:27 +00:00
Alex Roitman
63d16e3085 * src/plugins/BookReport.py (BookList.save): Enable saving options
which are lists;
(BookParser.startElement, BookParser.endElement): Enable parsing
options which are lists.


svn: r2078
2003-09-02 02:59:19 +00:00
Don Allingham
421c8abb17 * src/docgen/PSDrawDoc.py: Change from Text/DrawDoc to BaseDoc
* src/docgen/SvgDrawDoc.py: Change from Text/DrawDoc to BaseDoc


svn: r2076
2003-09-02 02:56:42 +00:00
Alex Roitman
f78e8dcc74 * src/PaperMenu.py: Change from TextDoc to BaseDoc.
* src/Report.py: Likewise.
* src/SpreadSheetDoc.py: Likewise.
* src/StyleEditor.py: Likewise.
* src/docgen/OpenSpreadSheet.py: Likewise.
* src/docgen/AbiWord2Doc.py: Likewise.
* src/plugins/AncestorReport.py: Likewise.
* src/plugins/DescendReport.py: Likewise.
* src/plugins/DetAncestralReport.py: Likewise.
* src/plugins/DetDescendantReport.py: Likewise.
* src/plugins/EventCmp.py: Likewise.
* src/plugins/FamilyGroup.py: Likewise.
* src/plugins/FtmStyleAncestors.py: Likewise.
* src/plugins/GraphViz.py: Likewise.
* src/plugins/IndivComplete.py: Likewise.
* src/plugins/IndivSummary.py: Likewise.
* src/plugins/WebPage.py: Likewise.
* src/plugins/Ancestors.py: Likewise.
* src/plugins/CustomBookText.py: Likewise.
* src/BaseDoc.py: Likewise.


svn: r2074
2003-09-02 00:47:09 +00:00
Tim Waugh
07543dbdde 2003-09-01 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Separate paternal and maternal ancestors
        for easier reading.


svn: r2073
2003-09-01 20:57:51 +00:00
Don Allingham
9964ad1049 make Witness inherit from Persistent
svn: r2071
2003-09-01 15:46:09 +00:00
Tim Waugh
6f7c2daa5b 2003-09-01 Tim Waugh <twaugh@redhat.com>
* src/docgen/Makefile.am: Removed reference to PdfDrawDoc.py.


svn: r2070
2003-09-01 14:26:35 +00:00
Don Allingham
fbf2caaeb2 * src/docgen/PdfDoc.py (left_print): Don't convert to cm.
svn: r2069
2003-09-01 02:23:39 +00:00
Alex Roitman
aef12f25bf * 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
c2b86fbed5 * src/docgen/PdfDoc.py (page_break): Minor cleanup;
(end_page): Was defined twice -- remove the first occurence.


svn: r2067
2003-08-31 04:49:28 +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
Don Allingham
e5195ecf75 * PdfDoc.py: Support drawing functions.
* PdfDrawDoc.py: remove - all functions integrated into
PdfDoc.py
* DbPrompter.py: change title from "Save" to "Create" when
opening a new database, prompt with last database saved.


svn: r2064
2003-08-31 03:26:13 +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
2d8a0a60a8 Update
svn: r2062
2003-08-30 02:37:53 +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
cc2b5e9f3b * src/plugins/TimeLine.py: Likewise.
svn: r2060
2003-08-30 00:15:10 +00:00
Alex Roitman
f7a50210b2 * src/plugins/DesGraph.py: Change from TextDoc and DrawDoc to BaseDoc.
* src/plugins/FanChart.py: Likewise. Enable Book item functionality.
* src/plugins/TimeLine.py: Likewise.


svn: r2059
2003-08-29 22:47:06 +00:00
Alex Roitman
cf8a5ad12f * src/plugins/DesGraph.py: Enable Book item functionality.
svn: r2058
2003-08-29 04:23:06 +00:00
Alex Roitman
18af30c015 Update
svn: r2057
2003-08-29 04:14:59 +00:00