Commit Graph

131 Commits

Author SHA1 Message Date
Gary Burton
912e5556e2 Bug 2616. Fixes for memory leaks in person and family editors
svn: r12141
2009-02-26 21:44:22 +00:00
Gary Burton
764028f803 Fix for bug #2703: Custom Marker text appears in Relationship Type field.
svn: r11994
2009-02-15 14:56:13 +00:00
Gary Burton
4530bd5cb9 Refactoring. ManagedWindow now controls window sizing
svn: r11905
2009-02-07 22:54:16 +00:00
Doug Blank
943afb3229 Bug #2674: smaller edit family window; clean up of display logic, reduced size
svn: r11885
2009-02-06 13:42:12 +00:00
Benny Malengier
ead6d60e1a 2674: smaller edit family window - Part 1
svn: r11879
2009-02-05 21:25:05 +00:00
Peter Landgren
478736f75c Fix of 2518, so that Alt-C always means Cancel.
svn: r11372
2008-11-30 19:33:54 +00:00
Gary Burton
b8261a4dd3 Fix for bug causing broken child references when removing a child from a family. Bug #2308.
svn: r10967
2008-08-04 22:29:44 +00:00
Gerald Britton
4982292774 Code optimizations wrt handling of None - bug 2212
svn: r10811
2008-06-16 15:01:46 +00:00
Zsolt Foldvari
05b39c5c15 Reorganize custom widgets into a new 'widgets' package.
1. moving existing widget modules under src/widgets/


svn: r10694
2008-05-08 19:40:56 +00:00
Raphael Ackermann
20426f36e3 2008-02-24 Raphael Ackermann <raphael.ackermann@gmail.com>
* Editors/_EditRepository.py
	* Editors/_EditFamily.py
	* DisplayTabs/_SourceEmbedList.py
	* DisplayTabs/_PersonRefEmbedList.py
	* DisplayTabs/_RepoEmbedList.py
	* DisplayTabs/_AddrEmbedList.py
	* DisplayTabs/_WebEmbedList.py
	* DisplayTabs/_NameEmbedList.py
	* DisplayTabs/_EventEmbedList.py
	* DisplayTabs/_EmbeddedList.py
	* DisplayTabs/_NoteTab.py
	* DisplayTabs/_LocationEmbedList.py
	* DisplayTabs/_ButtonTab.py
	* DisplayTabs/_DataEmbedList.py
	* DisplayTabs/_AttrEmbedList.py
	* DisplayTabs/_LdsEmbedList.py
	* DisplayTabs/_GrampsTab.py
	add Up and Down buttons to the tabs. Added individual tooltips for buttons
	0001807: Missing buttons MoveUp, MoveDown on a Events list in a person...

svn: r10108
2008-02-24 18:58:45 +00:00
Gary Burton
3171f0f756 * src/Editors/_EditFamily.py: Add fallback dates for birth and death
Bug #1785

2008-02-22 Gary Burton <gary.burton@zen.co.uk>


svn: r10097
2008-02-22 23:53:24 +00:00
Gary Burton
a58e6fdb60 2008-02-22 Gary Burton <gary.burton@zen.co.uk>
* src/DataViews/RelationView.py:
	* src/Editors/_EditFamily.py:
	* src/Editors/_EditChildRef.py
	Fix crash on doubleclicking buttons. Bug #1802



svn: r10096
2008-02-22 22:09:39 +00:00
Raphael Ackermann
de5edf9f29 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/DataViews/PersonView.py
	* src/ViewManager.py
	* src/GrampsCfg.py
	* src/plugins/WriteCD.py
	* src/plugins/FindDupes.py
	* src/Merge/_MergePerson.py
	* src/DbManager.py
	* src/ArgHandler.py
	* src/docgen/HtmlDoc.py
	* src/DbLoader.py
	use from QuestionDialog import ErrorDialog etc to bring in line with
	rest of gramps
	* src/Editors/_EditPrimary.py: EditPrimary._uses_duplicate_id() check
	for duplicates and give error dialog if id is already used. #0001347
	* src/Editors/_EditFamily.py: EditFamily.__do_save(), add call to 
	_uses_duplicate_id(). #0001347 

svn: r10046
2008-02-18 10:09:50 +00:00
Gary Burton
6ba049eb94 2008-02-15 Gary Burton <gary.burton@zen.co.uk>
* src/DataViews/RelationView.py:
	* src/Editors/_EditFamily.py: prevent right mouse button causing crash.
	Bug #1729



svn: r10041
2008-02-15 22:44:39 +00:00
Benny Malengier
15e789467b 2008-02-15 Benny Malengier <benny.malengier@gramps-project.org>
* src/DisplayTabs/_SourceEmbedList.py:
	* src/DisplayTabs/_PersonRefEmbedList.py:
	* src/DisplayTabs/_RepoEmbedList.py:
	* src/DisplayTabs/__init__.py:
	* src/DisplayTabs/_AddrEmbedList.py:
	* src/DisplayTabs/_WebEmbedList.py:
	* src/DisplayTabs/_NameEmbedList.py:
	* src/DisplayTabs/_EventEmbedList.py:
	* src/DisplayTabs/_EmbeddedList.py:
	* src/DisplayTabs/_GalleryTab.py:
	* src/DisplayTabs/_BackRefList.py:
	* src/DisplayTabs/_NoteTab.py:
	* src/DisplayTabs/_LocationEmbedList.py:
	* src/DisplayTabs/_ButtonTab.py:
	* src/DisplayTabs/_DataEmbedList.py:
	* src/DisplayTabs/_AttrEmbedList.py:
	* src/DisplayTabs/_LdsEmbedList.py:
	* src/DisplayTabs/_GrampsTab.py:
	* src/Editors/_EditPrimary.py:
	* src/Editors/_EditPlace.py:
	* src/Editors/_EditSecondary.py:
	* src/Editors/_EditSourceRef.py:
	* src/Editors/_EditReference.py:
	* src/Editors/_EditRepoRef.py:
	* src/Editors/_EditNote.py:
	* src/Editors/_EditMediaRef.py:
	* src/Editors/_EditEventRef.py:
	* src/Editors/_EditName.py:
	* src/Editors/_EditFamily.py:
	Add mnemonics for all tabs, eg ALT+S and INSERT to move to sources and
	insert a new source.
	* src/DisplayTabs/_TextTab.py:
	* src/DisplayTabs/Makefile.am:
	* po/POTFILES.in:
	Remove unused TextTab



svn: r10040
2008-02-15 22:38:47 +00:00
Benny Malengier
470232fa5a 2008-02-15 Benny Malengier <benny.malengier@gramps-project.org>
* src/DateEdit.py: example use of help
	* src/GrampsDisplay.py: internationalization of help system
	* src/Editors/_EditPrimary.py: define_help_button link to webpage
	* src/Editors/_EditSecondary.py: define_help_button link to webpage
	* src/Editors/_EditReference.py: define_help_button link to webpage
	* src/Editors/_EditFamily.py: remove empty line



svn: r10036
2008-02-15 11:40:17 +00:00
Benny Malengier
06b2b6da38 * src/DisplayTabs/_EmbeddedList.py: allow to define middle click
* src/Editors/_EditFamily.py: middle click on child calls edit child

2008-02-12 Benny Malengier <benny.malengier@gramps-project.org>


svn: r10021
2008-02-12 12:38:47 +00:00
Benny Malengier
3dbfd6cbac 2008-02-12 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditFamily.py: popup: edit child at top, add images.
	* src/DisplayTabs/_EmbeddedList.py: allow popup with image/custom text
	* src/DisplayModels/_BaseModel.py: add comment to function
	* src/DisplayModels/_NoteModel.py: test, UTF-8 for preview



svn: r10020
2008-02-12 12:17:58 +00:00
Benny Malengier
c11f6d6a1b 2008-02-11 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditFamily.py: call editprimary correctly, double gid



svn: r10016
2008-02-11 09:01:57 +00:00
Raphael Ackermann
04e16919a1 2008-02-08 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Editors/_EditEvent.py:
    * src/Editors/_EditFamily.py:
    * src/Editors/_EditMedia.py:
    * src/Editors/_EditNote.py:
    * src/Editors/_EditPlace.py:
    * src/Editors/_EditPrimary.py:
    * src/Editors/_EditRepository.py:
    * src/Editors/_EditSource.py:
    pylint fixes

svn: r10005
2008-02-08 15:29:28 +00:00
Raphael Ackermann
6776b91ca5 2008-02-07 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Editors/_EditEvent.py:
    * src/Editors/_EditFamily.py:
    * src/Editors/_EditMedia.py:
    * src/Editors/_EditNote.py:
    * src/Editors/_EditPerson.py:
    * src/Editors/_EditPlace.py:
    * src/Editors/_EditPrimary.py:
    * src/Editors/_EditRepository.py:
    * src/Editors/_EditSource.py:
    0001745: fix where on update empty ID field would not be filled 
    automatically

svn: r10004
2008-02-08 13:40:04 +00:00
Benny Malengier
01460af4ef 2008-01-18 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditNote.py: focus on text field on start
	* src/Editors/_EditChildRef.py: add usability: name of child, edit btn
	* src/Editors/_EditFamily.py: grab Errors.WindowActiveError
	* src/glade/gramps.glade: add usability to childref, see #1462


svn: r9873
2008-01-17 23:15:08 +00:00
Benny Malengier
65141d25ac 2008-01-17 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditChildRef.py: set focus on OK button for quick work
	* src/Editors/_EditFamily.py: double click on child, adding child
               choosing existing child, brings up child ref editor, #1462



svn: r9872
2008-01-17 21:52:13 +00:00
Raphael Ackermann
56d33a2c4f 2008-01-08 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Editors/_EditFamily.py: import fixes
	* src/plugins/FindDupes.py: variable typo fix
	0001428: In EditFamily: NameError



svn: r9752
2008-01-08 15:27:28 +00:00
Raphael Ackermann
1f2ad6a747 2008-01-08 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Editors/_EditFamily.py: 0001428: In EditFamily: NameError. 
	changed db -> self.db



svn: r9749
2008-01-08 07:44:05 +00:00
Gary Burton
8e04fa506f 2008-01-01 Gary Burton <gary.burton@zen.co.uk>
* src/Editors/_EditFamily.py: Enabled tooltips on person edit buttons
	bug #1501


svn: r9672
2008-01-01 12:57:18 +00:00
Brian Matherly
e90e15c4af Modifications so that GenericFilters can be applied to a PeopleModel.
svn: r9665
2007-12-31 22:22:12 +00:00
Gary Burton
9726d358bd 2007-12-31 Gary Burton <gary.burton@zen.co.uk>
* src/DataViews/RelationView.py:
	* src/Editors/_EditFamily.py: Add a signal handler for changes to events.
	bug #1416 and #1329. Also remove previous attempt at fixing #1416 now that
	I know a bit more about how signal handling works.



svn: r9660
2007-12-31 19:23:16 +00:00
Doug Blank
21b0612e84 2007-12-18 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/Editors/_EditFamily.py: doubleclick now edits; fixed share popup
	* src/DisplayTabs/_EmbeddedList.py: fixed share popup
	* src/DisplayTabs/_GalleryTab.py: fixed share popup



svn: r9530
2007-12-19 00:50:33 +00:00
Gary Burton
253990ff81 * src/DisplayTabs/_ChildModel.py:
* src/Editors/_EditFamily.py: add fallback for birth date (feature #1448)
2007-12-15 Gary Burton <gary.burton@zen.co.uk>
	* src/Editors/_EditFamily.py: emit family-update signal (bug #1416)



svn: r9513
2007-12-15 23:54:52 +00:00
Gary Burton
2eaaa8369e 2007-12-15 Gary Burton <gary.burton@zen.co.uk>
* src/Editors/_EditFamily.py: emit family-update signal #1416



svn: r9512
2007-12-15 21:56:34 +00:00
Doug Blank
c545e281f4 2007-12-01 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/Editors/_EditFamily.py: fixed issues with latin american 
	surname guessing



svn: r9437
2007-12-01 15:32:05 +00:00
Doug Blank
604336d764 2007-11-29 Dougas S. Blank <dblank@cs.brynmawr.edu>
* src/Editors/_EditFamily.py: reverse surname guess for father



svn: r9434
2007-11-29 22:07:05 +00:00
Don Allingham
d58641415d 2007-10-08 Don Allingham <don@gramps-project.org>
* various: gen.lib integration. probably touches almost every file

	* various: gen.utils integration


svn: r9101
2007-10-08 16:41:39 +00:00
Benny Malengier
6e4e4887a1 2007-09-28 Gary Burton <gary.burton@zen.co.uk>
* src/DataViews/_RelationView.py:
	* src/Editors/_EditFamily.py:
	* src/GrampsWidgets.py:
	Allow enter to open iconbuttons that are not delete, issue #1159


svn: r9058
2007-10-01 20:50:36 +00:00
Don Allingham
a65a73d1d7 * various: const.py changes
2007-09-07  Don Allingham  <don@gramps-project.org>
	* src/DateHandler/_Date_fr.py: fix indentation errors

2007-09-07  Don Allingham  <don@gramps-project.org>


svn: r8948
2007-09-08 05:54:02 +00:00
Benny Malengier
824e44f63d Family context menu with quick reports
svn: r8897
2007-08-30 19:49:04 +00:00
Alex Roitman
74ad7b95a4 * src/TreeViews/_PersonTreeView.py: Use name_displayer.
* src/ReportBase/_ReportUtils.py: Use name_displayer.
	* src/ReportBase/_CommandLineReport.py: Use name_displayer.
	* src/ReportBase/_BareReportDialog.py: Use name_displayer.
	* src/PluginUtils/_Tool.py: Use name_displayer.
	* src/plugins/TimeLine.py: Use name_displayer.
	* src/plugins/RelCalc.py: Use name_displayer.
	* src/plugins/ReadGrdb.py: Use name_displayer.
	* src/plugins/NarrativeWeb.py: Use name_displayer.
	* src/plugins/IndivComplete.py: Use name_displayer.
	* src/plugins/GraphViz.py: Use name_displayer.
	* src/plugins/FindDupes.py: Use name_displayer.
	* src/plugins/FamilyGroup.py: Use name_displayer.
	* src/plugins/DetDescendantReport.py: Use name_displayer.
	* src/plugins/DetAncestralReport.py: Use name_displayer.
	* src/plugins/DesGraph.py: Use name_displayer.
	* src/plugins/DescendReport.py: Use name_displayer.
	* src/plugins/DescendChart.py: Use name_displayer.
	* src/plugins/Check.py: Use name_displayer.
	* src/plugins/Ancestors.py: Use name_displayer.
	* src/plugins/AncestorReport.py: Use name_displayer.
	* src/plugins/AncestorChart2.py: Use name_displayer.
	* src/ObjectSelector/_PersonTreeFrame.py: Use name_displayer.
	* src/ObjectSelector/_PersonFrame.py: Use name_displayer.
	* src/Merge/_MergePerson.py: Use name_displayer.
	* src/GrampsDbUtils/_WriteGedcom.py: Use name_displayer.
	* src/GrampsDbUtils/_ReadXML.py: Use name_displayer.
	* src/GrampsDbUtils/_GedcomParse.py: Use name_displayer.
	* src/FilterEditor/_ShowResults.py: Use name_displayer.
	* src/FilterEditor/_EditRule.py: Use name_displayer.
	* src/Editors/_EditPrimary.py: Use name_displayer.
	* src/Editors/_EditPersonRef.py: Use name_displayer.
	* src/Editors/_EditPerson.py: Use name_displayer.
	* src/Editors/_EditName.py: Use name_displayer.
	* src/Editors/_EditLdsOrd.py: Use name_displayer.
	* src/Editors/_EditFamily.py: Use name_displayer.
	* src/DisplayTabs/_PersonRefModel.py: Use name_displayer.
	* src/DisplayTabs/_NameModel.py: Use name_displayer.
	* src/DisplayTabs/_ChildModel.py: Use name_displayer.
	* src/DisplayTabs/_BackRefModel.py: Use name_displayer.
	* src/DisplayModels/_PeopleModel.py: Use name_displayer.
	* src/DisplayModels/_FamilyModel.py: Use name_displayer.
	* src/DataViews/_PersonView.py: Use name_displayer.
	* src/DataViews/_RelationView.py: Use name_displayer.
	* src/DataViews/_PedigreeView.py: Use name_displayer.
	* src/Utils.py: Use name_displayer.
	* src/SubstKeywords.py: Use name_displayer.
	* src/Sort.py: Use name_displayer.
	* src/Reorder.py: Use name_displayer.
	* src/PageView.py (BookMarkView.add_bookmark): Use name_displayer.
	* src/Navigation.py: Use name_displayer.
	* src/DisplayState.py: Use name_displayer.
	* src/GrampsCfg.py: Use name_displayer.
	* src/Bookmarks.py (Bookmarks.make_label): Use name_displayer.
	* src/GrampsDb/Makefile.am (pkgdata_PYTHON): Ship new files.
	* src/Makefile.am (gdir_PYTHON): Ship ProgressDialog.py


svn: r8680
2007-06-28 05:41:40 +00:00
Alex Roitman
cc26961713 svn: r8622 2007-06-22 05:57:48 +00:00
Don Allingham
247e0020ed 2007-05-14 Don Allingham <don@gramps-project.org>
* src/DataViews/_PedigreeView.py: catch errors
	* src/DataViews/_RelationView.py: catch errors
	* src/ReportBase/_ReportDialog.py: catch errors
	* src/ReportBase/_SimpleAccess.py: fix marriage place/date values
	* src/Editors/_EditFamily.py: catch errors
	* src/DisplayTabs/_EmbeddedList.py: catch errors
	* src/plugins/FindDupes.py: catch errors
	* src/plugins/Verify.py: catch errors
	* src/AddMedia.py: fix scale_simple types
	* src/AutoComp.py: pylint fixes
	* src/ImgManip.py: pylint fixes
	* src/LdsUtils.py: new temple types
	* src/DbLoader.py: error types



svn: r8473
2007-05-15 04:17:12 +00:00
Don Allingham
f8b10aff87 2007-05-08 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py (GrampsDbBookmarks.insert): fix
	bookmark insertion (#1050)
	* src/Editors/_EditFamily.py: fix sort columns



svn: r8454
2007-05-10 02:43:56 +00:00
Benny Malengier
0182f42307 2007-05-07 Benny Malengier <bm@cage.ugent.be>
* src/Editors/_EditPlace.py:
	* src/Editors/_EditAddress.py:
	* src/Editors/_EditLdsOrd.py:
	* src/Editors/_EditSourceRef.py:
	* src/Editors/_EditSource.py:
	* src/Editors/_EditRepoRef.py:
	* src/Editors/_EditAttribute.py:
	* src/Editors/_EditPersonRef.py:
	* src/Editors/_EditNote.py:
	* src/Editors/_EditPerson.py:
	* src/Editors/_EditMediaRef.py:
	* src/Editors/_EditEventRef.py:
	* src/Editors/_EditMedia.py:
	* src/Editors/_EditRepository.py:
	* src/Editors/_EditName.py:
	* src/Editors/_EditChildRef.py:
	* src/Editors/_EditFamily.py:
	* src/Editors/_EditEvent.py:
	* src/RelLib/_NoteType.py:
	* src/DisplayTabs/_NoteTab.py:
	* src/GrampsWidgets.py:
	* TODO:
	Implement using a specific notetype instead of General for notes created as part of a
        primary or secondary object. Add list of types to ignore for inclusion in MonitoredDataType in a general manner.
        List remaining issues in TODO for multiple notes.



svn: r8441
2007-05-07 20:41:16 +00:00
Benny Malengier
37255a3b02 2007-04-30 Benny Malengier <bm@cage.ugent.be>
* src/Editors/_EditPlace.py:
	* src/Editors/_EditSource.py:
	* src/Editors/_EditNote.py:
	* src/Editors/_EditPerson.py:
	* src/Editors/_EditRepository.py:
	* src/Editors/_EditFamily.py:
	* src/DisplayTabs/_NoteTab.py:
	Add meaningfull title to the note dialog instead of only the note number, when called from place, source, person, family or repo



svn: r8432
2007-04-30 20:50:41 +00:00
Benny Malengier
eeda8e68fe 2007-04-21 Benny Malengier <bm@cage.ugent.be>
* src/Editors/_EditFamily.py : add up down arraw on children list
	* src/DisplayTabs/_EmbeddedList.py : generalize select method for
	up/down movement in list


svn: r8414
2007-04-21 08:09:51 +00:00
Don Allingham
a712445a2b 2007-04-07 Don Allingham <don@gramps-project.org>
* src/plugins/Checkpoint.py: update from 2.2
	* src/GrampsDb/_GrampsDbWriteXML.py: clean up
	* src/Editors/_EditPrimary.py: prevent double OK clicks
	* src/Editors/_EditPlace.py: prevent double OK clicks
	* src/Editors/_EditSource.py: prevent double OK clicks
	* src/Editors/_EditPerson.py: prevent double OK clicks
	* src/Editors/_EditRepository.py: prevent double OK clicks
	* src/Editors/_EditFamily.py: prevent double OK clicks
	* src/Editors/_EditEvent.py: prevent double OK clicks



svn: r8361
2007-04-08 04:24:38 +00:00
Don Allingham
1736120c61 2007-03-06 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py (EditFamily.save): disable data changed warning
	when saving the data - we know that it changed.



svn: r8276
2007-03-06 21:18:40 +00:00
Richard Taylor
70e12c490e Moved NameDisplay into BasicUtils.
svn: r8197
2007-02-20 20:56:48 +00:00
Don Allingham
a0d4ea5ab8 * src/Editors/_EditPlace.py: note list support
* src/Editors/_EditAddress.py: note list support
	* src/Editors/_EditLdsOrd.py: note list support
	* src/Editors/_EditSourceRef.py: note list support
	* src/Editors/_EditSource.py: note list support
	* src/Editors/_EditRepoRef.py: note list support
	* src/Editors/_EditAttribute.py: note list support
	* src/Editors/_EditPersonRef.py: note list support
	* src/Editors/_EditPerson.py: note list support
	* src/Editors/_EditMediaRef.py: note list support
	* src/Editors/_EditEventRef.py: note list support
	* src/Editors/_EditMedia.py: note list support
	* src/Editors/_EditRepository.py: note list support
	* src/Editors/_EditName.py: note list support
	* src/Editors/_EditChildRef.py: note list support
	* src/Editors/_EditFamily.py: note list support
	* src/Editors/_EditEvent.py: note list support
	* src/DisplayTabs/_NoteTab.py: note list support
	* src/GrampsDbUtils/_GedcomParse.py: note list support


svn: r8183
2007-02-20 01:36:26 +00:00
Don Allingham
ec1ec2a5a1 2007-02-03 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py (EditFamily.check_for_family_change): fix
	warning message.

2007-02-02  Don Allingham  <don@gramps-project.org>
	* src/Editors/_EditFamily.py (EditFamily.check_for_family_change): update on data change
	from family-update signal



svn: r8036
2007-02-03 18:19:25 +00:00
Don Allingham
bef178af13 update from trunk
svn: r8034
2007-02-03 18:08:43 +00:00