Commit Graph

37 Commits

Author SHA1 Message Date
Don Allingham
bfc08ca83a * PeopleModel.py: simplify model interface
* EditPerson.py: get_family_from_handle fixes
* EditSource.py: get_family_from_handle fixes
* GraphLayout.py: get_family_from_handle fixes
* ImageSelect.py: get_family_from_handle fixes
* MediaView.py: get_family_from_handle fixes
* MergeData.py: get_family_from_handle fixes
* PlaceView.py: get_family_from_handle fixes
* ReadXML.py: get_family_from_handle fixes
* RelLib.py: get_family_from_handle fixes
* Relationship.py: get_family_from_handle fixes
* SelectChild.py: get_family_from_handle fixes
* SourceView.py: get_family_from_handle fixes
* SubstKeywords.py: get_family_from_handle fixes
* WriteXML.py: get_family_from_handle fixes
* gramps_main.py: get_family_from_handle fixes
* plugins/AncestorChart.py: get_family_from_handle fixes
* plugins/AncestorChart2.py: get_family_from_handle fixes
* plugins/AncestorReport.py: get_family_from_handle fixes
* plugins/Ancestors.py: get_family_from_handle fixes
* plugins/Check.py: get_family_from_handle fixes
* plugins/CountAncestors.py: get_family_from_handle fixes
* plugins/Desbrowser.py: get_family_from_handle fixes
* plugins/DescendReport.py: get_family_from_handle fixes
* plugins/DetAncestralReport.py: get_family_from_handle fixes
* plugins/DetDescendantReport.py: get_family_from_handle fixes
* plugins/FamilyGroup.py: get_family_from_handle fixes
* plugins/FanChart.py: get_family_from_handle fixes
* plugins/FtmStyleAncestors.py: get_family_from_handle fixes
* plugins/FtmStyleDescendants.py: get_family_from_handle fixes
* plugins/GraphViz.py: get_family_from_handle fixes
* plugins/IndivComplete.py: get_family_from_handle fixes
* plugins/IndivSummary.py: get_family_from_handle fixes
* plugins/Merge.py: get_family_from_handle fixes
* plugins/RelGraph.py: get_family_from_handle fixes
* plugins/Verify.py: get_family_from_handle fixes
* plugins/WebPage.py: get_family_from_handle fixes
* plugins/WriteCD.py: get_family_from_handle fixes
* plugins/WritePkg.py: get_family_from_handle fixes
* plugins/rel_de.py: get_family_from_handle fixes
* plugins/rel_hu.py: get_family_from_handle fixes
* plugins/rel_ru.py: get_family_from_handle fixes


svn: r3443
2004-08-19 21:35:16 +00:00
Don Allingham
44870279d4 * src/accent.py: provide sorting on i18n characters without
accents
* src/Makefile.am: add accent.py to list


svn: r3433
2004-08-19 02:37:35 +00:00
Don Allingham
3a9130f5ad * various: Updated cleaned up API
svn: r3388
2004-08-13 04:34:07 +00:00
Don Allingham
93c5dbebcd * src/RelLib.py: rework of the API
* src/*.py: rework of the api


svn: r3371
2004-08-11 03:42:38 +00:00
Don Allingham
082907d675 * various: change try_to_find_*_from_handle to
get_*_from_handle


svn: r3355
2004-08-07 05:16:57 +00:00
Don Allingham
95e62181d3 * src/RelLib.py, etc.: convert get_id to get_handle
svn: r3290
2004-07-28 02:29:07 +00:00
Alex Roitman
7cc5d39fc9 * src/RelLib.py (Transaction.__len__): Redefine length.
* src/ChooseParents.py, src/EditPerson.py, src/EditSource.py,
src/EventEdit.py, src/FamilyView.py, src/gramps_main.py,
src/ImageSelect.py, src/Marriage.py, src/MediaView.py,
src/PedView.py, src/PeopleModel.py, src/PlaceView.py,
src/SelectChild.py, src/SelectObject.py, src/Sources.py,
src/SourceView.py, src/Utils.py, src/Witness.py,
src/WriteXML.py: Switch from find_* to try_to_find_* methods.


svn: r3193
2004-05-26 03:26:18 +00:00
Don Allingham
79d9a39a9e * various: undo messages
svn: r3181
2004-05-19 06:13:36 +00:00
Don Allingham
2bd66d6b4c pychecker fixes
svn: r3166
2004-05-13 22:45:51 +00:00
Don Allingham
1c995add59 * src/Bookmarks.py: use IDs instead of person references
* src/ChooseParents.py: allow for NOSORT option
* src/GrampsParser.py: removed
* src/GrampsXML.py: removed
* src/MediaView.py: allow for NOSORT option
* src/PedView.py: double click to edit
* src/PeopleView.py: allow for NOSORT option
* src/PlaceView.py: allow for NOSORT option
* src/RelLib.py: handle bookmarks in metadata
* src/ReadXML.py: merge GrampsParser
* src/SourceView.py: allow for NOSORT option
* src/const.py.in: fix paths for xml files
* src/gramps_main.py: bookmark fixes
* src/papersize.xml : move to data subdirectory
* src/plugins/ReadGedcom.py: fix menu string
* src/plugins/ReadNative.py: fix menu string
* src/plugins/ReadPkg.py: fix menu string


svn: r3085
2004-04-11 02:37:13 +00:00
Don Allingham
8592fa2cc9 * various: Add undo functionality
svn: r3065
2004-03-30 04:50:24 +00:00
Don Allingham
bf92d284ab * src/SelectChild.py: use PersonModel
* src/plugins/FilterEditor.py: use new SelectPerson


svn: r3052
2004-03-23 05:01:19 +00:00
Don Allingham
4a7d9131aa Convert to new GenericTreeView models
svn: r3040
2004-03-22 04:41:35 +00:00
Don Allingham
93542c93f5 * src/gramps_main.py: switch to DB as default, remove save option
* src/RelLib.py: setup DB environment better
* src/DbPrompter.py: handle save/open with new DBs


svn: r2924
2004-02-28 18:46:40 +00:00
Alex Roitman
ead0485d14 More windows updates and small fixes
svn: r2914
2004-02-26 03:34:19 +00:00
Alex Roitman
0d2ee48ee0 Update
svn: r2898
2004-02-23 05:42:19 +00:00
Alex Roitman
7022a133f0 * src/plugins/DetDescendantReport.py: Add style descriptions
for the paragraphs. Add first entry style. Change defaults to be
similar to the FTM style reports.
* src/plugins/DetAncestralReport.py: Add style descriptions
for the paragraphs. Add first entry style. Change defaults to be
similar to the FTM style reports.
* src/StyleEditor.py (draw, save_paragraph): Allow users
to adjust first line indent.
* src/styles.glade: Add first line indent entry.
* src/plugins/Check.py (delete_empty_family): Remove families
in which person is a parent, not only a child.
* src/gramps_main.py (post_load): Use display_frel and
display_fattr.
* src/MediaView.py (key_press): Add function.
* src/PlaceView.py (key_press): Add function.
* src/SourceView.py (key_press): Add function.
* src/plugins/WebPage.py: Add tab with index page options.

* src/po/hu.po: Update
* doc/gramps-manual/hu/filtref.xml: Update


svn: r2831
2004-02-15 03:24:12 +00:00
Don Allingham
015973462a Move from object references to IDs
svn: r2822
2004-02-14 05:40:30 +00:00
Don Allingham
6080ab594e * src/SourceView.py: handle column sorting properly
* src/PlaceView.py: handle column sorting properly


svn: r2740
2004-02-01 04:49:49 +00:00
Don Allingham
4cbee97a19 * src/RelLib.py: add sorting by source title, remove dependency on string
module
* src/PlaceView.py: do an initial sort, don't rely on "click" function
* src/SourceView.py: do an initial sort, don't rely on "click" function


svn: r2565
2003-12-29 18:37:44 +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
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
Alex Roitman
1021a5ef65 * 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
ebdc5fbcc3 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Don Allingham
2d71fb6768 * src/ListModel.py: set the cell renderers to a fixed size
to improve performance
* src/PlaceView.py: set the cell renderers to a fixed size
to improve performance
* src/SourceView.py: set the cell renderers to a fixed size
to improve performance
* src/Sources.py: set the cell renderers to a fixed size
to improve performance
* src/Utils.py: set the cell renderers to a fixed size
to improve performance
* src/gramps_main.py: prevent double loading of place_view


svn: r1931
2003-07-27 03:50:57 +00:00
Don Allingham
b4ca53cbec * src/SourceView.py: Speed up redraw performance
svn: r1815
2003-07-03 04:15:13 +00:00
Don Allingham
165efc5848 Find support
svn: r1423
2003-04-04 05:48:25 +00:00
Don Allingham
42b49c4c49 Translate list headers
svn: r1400
2003-03-26 02:32:58 +00:00
Don Allingham
e2d89c8f90 Accessibility for dialogs
svn: r1384
2003-03-23 03:50:59 +00:00
Don Allingham
0f616d0b90 Updated dialogs
svn: r1314
2003-02-24 04:51:57 +00:00
Don Allingham
7f514dac82 pychecker fixes, GEDCOM import/export improvements, calendar improvements
svn: r1250
2003-01-10 05:21:32 +00:00
Don Allingham
1e89380047 Removed unneeded pygtk calls
svn: r1210
2002-11-27 05:56:23 +00:00
Don Allingham
f53f056885 use pygtk.require to determine database
svn: r1205
2002-11-26 04:06:23 +00:00
Don Allingham
a6a58ccf78 GEDCOM/ANSEL handing, improved list access
svn: r1173
2002-11-09 18:44:58 +00:00
Don Allingham
7cb2c15d32 GTK translation updates
svn: r1155
2002-10-28 13:36:39 +00:00
Don Allingham
5875df7c48 Initial revision
svn: r1140
2002-10-20 14:25:16 +00:00