Commit Graph

190 Commits

Author SHA1 Message Date
Martin Hawlisch
838b35e8f2 * src/Editors/*: Switch notebook tabs during DnD
svn: r7915
2007-01-16 07:12:10 +00:00
Zsolt Foldvari
ecbfe5bf78 2007-01-09 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsWidget.py: set_completion_mode() added, exact_completion
	fixed, cleanup
	* src/GrampsLogger/_ErrorView.py: missing help_clicked method added
	* src/Editors/_EditEventRef.py: reminder about missing help handle
	


svn: r7887
2007-01-09 22:10:36 +00:00
Don Allingham
2b30971dc3 2007-01-06 Don Allingham <don@gramps-project.org>
* src/Editors/_EditAddress.py: new date entry
	* src/Editors/_EditLdsOrd.py: new date_entry
	* src/Editors/_EditSourceRef.py: new date_entry
	* src/Editors/_EditEventRef.py: new date_entry
	* src/Editors/_EditMedia.py: new date_entry
	* src/Editors/_EditName.py: new date_entry
	* src/Editors/_EditEvent.py: new date_entry
	* src/GrampsWidgets.py: add options to ValidatedDateEntry to specify colors and icon
	* src/glade/gramps.glade: new date_entry
	* src/Errors.py: new date_entry
	* src/DateEdit.py: new date_entry



svn: r7872
2007-01-06 22:35:29 +00:00
Don Allingham
8f12743e79 2007-01-02 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_WriteGedcom.py: handle illegal confidence
	* src/RelLib/_Person.py: set_parent_family_list
	* src/Editors/_EditPerson.py: catch family changes



svn: r7865
2007-01-03 02:37:34 +00:00
Martin Hawlisch
cdb76d6209 * src/DisplayTabs/_PersonBackRefList.py: new file
* src/DisplayTabs/__init__.py: add PersonBackRefList
* src/DisplayTabs/Makefile.am: ship new file
* src/Editors/_EditPerson.py: show PersonBackRefList



svn: r7864
2007-01-02 16:16:11 +00:00
Alex Roitman
cb9ba78177 2006-12-22 Alex Roitman <shura@phy.ucsf.edu>
* src/GrampsDb/_WriteGedcom.py (write_source_ref): Write PAGE as a
	single line.
	* src/Editors/_EditFamily.py (build_interface): Remove extra
	show() call.
	* src/Editors/_EditMedia.py (_local_init): Remove extra show() call.
	* src/Editors/_EditEvent.py (_local_init): Remove extra show() call.
	* src/Editors/_EditRepository.py (_local_init): Remove extra
	show() call.
	* src/Editors/_EditSecondary.py (_set_size): Remove extra show() call.
	* src/Editors/_EditReference.py (_set_size): Remove extra show() call.
	* src/Editors/_EditSource.py (_local_init): Remove extra show() call.



svn: r7839
2006-12-22 23:48:13 +00:00
Martin Hawlisch
a78af64666 * src/Editors/_EditSourceRef.py,
* src/Editors/_EditRepoRef.py,
* src/Editors/_EditUrl.py,
* src/Editors/_EditMediaRef.py,
* src/Editors/_EditEventRef.py,
* src/Editors/_EditFamily.py,
* src/DisplayTabs/_NameEmbedList.py,
* src/DisplayTabs/_EmbeddedList.py,
* src/DisplayTabs/_GalleryTab.py,
* src/DisplayTabs/_DataEmbedList.py: Disable some more controls when readonly



svn: r7804
2006-12-15 12:39:28 +00:00
Martin Hawlisch
8059e67938 * src/DataViews/_PedigreeView.py,
* src/DataViews/_RelationView.py,
* src/Editors/_EditLdsOrd.py,
* src/Editors/_EditSourceRef.py,
* src/Editors/_EditAttribute.py,
* src/Editors/_EditPerson.py,
* src/Editors/_EditEventRef.py,
* src/Editors/_EditName.py,
* src/DisplayTabs/_ButtonTab.py: Hide some more controls when readonly



svn: r7801
2006-12-14 15:32:33 +00:00
Don Allingham
227cd3b555 * src/Editors/_EditMedia.py: fix menu title (bug#755)
svn: r7784
2006-12-12 04:57:36 +00:00
Don Allingham
41ff120b1a 2006-12-09 Don Allingham <don@gramps-project.org>
* src/DataViews/_MediaView.py: external view support for media objects
	* src/Editors/_EditPlace.py: external view support for media objects
	* src/Editors/_EditMediaRef.py: external view support for media objects
	* src/Editors/_EditMedia.py: external view support for media objects
	* src/glade/gramps.glade: external view support for media objects



svn: r7773
2006-12-10 04:24:11 +00:00
Don Allingham
6f593329ae svn: r7711 2006-11-26 22:05:35 +00:00
Don Allingham
dfd4069827 svn: r7710 2006-11-26 21:50:21 +00:00
Don Allingham
6c810c6ef4 * src/Editors/_EditPlace.py: consistent menu and title names
* src/Editors/_EditSource.py: consistent menu and title names
	* src/Editors/_EditPerson.py: consistent menu and title names
	* src/Editors/_EditMedia.py: consistent menu and title names
	* src/Editors/_EditRepository.py: consistent menu and title names
	* src/Editors/_EditFamily.py: consistent menu and title names
	* src/Editors/_EditEvent.py: consistent menu and title names


svn: r7709
2006-11-26 21:18:30 +00:00
Don Allingham
78195bc5c8 2006-11-25 Don Allingham <don@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: remember window size
	* src/Editors/_EditAddress.py: remember window size
	* src/Editors/_EditSecondary.py: remember window size
	* src/Editors/_EditLdsOrd.py: remember window size
	* src/Editors/_EditReference.py: remember window size
	* src/Editors/_EditUrl.py: remember window size
	* src/Editors/_EditRepoRef.py: remember window size
	* src/Editors/_EditAttribute.py: remember window size
	* src/Editors/_EditPersonRef.py: remember window size
	* src/Editors/_EditLocation.py: remember window size
	* src/Editors/_EditMediaRef.py: remember window size
	* src/Editors/_EditEventRef.py: remember window size
	* src/Editors/_EditName.py: remember window size
	* src/glade/gramps.glade: remember window size
	* data/gramps.schemas.in: remember window size



svn: r7701
2006-11-26 04:39:34 +00:00
Don Allingham
49a99e7815 * src/Config/_GrampsConfigKeys.py: remember editor size
* src/Editors/_EditPlace.py: remember editor size
	* src/Editors/_EditSource.py: remember editor size
	* src/Editors/_EditPerson.py: remember editor size
	* src/Editors/_EditMedia.py: remember editor size
	* src/Editors/_EditRepository.py: remember editor size
	* src/Editors/_EditEvent.py: remember editor size
	* src/glade/gramps.glade: remember editor size
	* data/gramps.schemas.in: remember editor size


svn: r7695
2006-11-26 01:29:58 +00:00
Don Allingham
95a364563f 2006-11-20 Don Allingham <don@gramps-project.org>
* src/Editors/_EditName.py: autocomplete for surnames
	* src/glade/gramps.glade: set focus properly



svn: r7661
2006-11-21 02:43:24 +00:00
Don Allingham
0765641c12 * src/Editors/_EditPerson.py: save previous window size
* data/gramps.schemas.in: default transactions to off, previous editperson window size
	* src/Config/_GrampsConfigKeys.py: default transaction to off, previous editperson window size


svn: r7632
2006-11-16 04:47:34 +00:00
Don Allingham
220ccd309a 2006-11-15 Don Allingham <don@gramps-project.org>
* data/gramps.schemas.in: default transactions to off
	* src/Config/_GrampsConfigKeys.py: default transaction to off
	* src/Editors/_EditFamily.py: remove dead code
	* src/plugins/DetDescendantReport.py: remove dead code



svn: r7631
2006-11-16 04:02:28 +00:00
Don Allingham
06ee27beb3 update
svn: r7624
2006-11-14 01:26:50 +00:00
Don Allingham
4376a416ba 2006-11-13 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: fix FAM_WIDTH



svn: r7623
2006-11-14 01:10:17 +00:00
Don Allingham
6d5598173c 2006-11-11 Don Allingham <don@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: add saving of family editor size 
	* src/Editors/_EditFamily.py: add saving of family editor size 
	* src/DisplayTabs/_GalleryTab.py: Catch possible exception
	* src/glade/gramps.glade: add saving of family editor size 
	* src/DbLoader.py: Display error message on RUNRECOVERY error

	* src/DisplayTabs/_AddrEmbedList.py: make labels more consistent (#513)


svn: r7616
2006-11-12 03:12:57 +00:00
Don Allingham
4cacb6f4ab 2006-11-06 Don Allingham <don@gramps-project.org>
* src/Editors/_EditPerson.py: Change Unknown Gender dialog to allow
	the user to specify without going back to the main window
	* src/plugins/RemoveUnused.py: cleanup



svn: r7569
2006-11-06 21:27:49 +00:00
Alex Roitman
72403bcdb5 2006-11-03 Alex Roitman <shura@gramps-project.org>
* configure.in: Bump up the version.
	* src/Editors/_EditLdsOrd.py (update_parent_label): Spurious
	translation.
	* src/DataViews/_RelationView.py (write_event_ref): Spurious
	translation.
	* src/ReportBase/_ReportDialog.py (get_header): Spurious
	translation.
	* RELEASE: version 2.2.2 is released.



svn: r7547
2006-11-03 17:05:24 +00:00
Don Allingham
81fd55aff4 2006-10-27 Don Allingham <don@gramps-project.org>
* src/GrampsCfg.py: remove unused online maps string
	* src/Editors/_EditRepoRef.py: fixed transation strings
	* src/Editors/_EditName.py: fixed transation strings
	* src/Editors/_EditChildRef.py: fixed transation strings
	* src/ScratchPad.py: fixed transation strings
	* help/C/gramps.xml: update
	* help/C/figures/prefs.png: update
	* help/C/figures/select-person.py: update



svn: r7460
2006-10-28 03:53:46 +00:00
Alex Roitman
0ae2cf5f41 2006-10-16 Alex Roitman <shura@gramps-project.org>
* src/Editors/_EditPerson.py (_given_focus_out_event): Convert to
	unicode before guessing gender.



svn: r7411
2006-10-16 20:42:49 +00:00
Don Allingham
ea0e6248f1 2006-10-09 Don Allingham <don@gramps-project.org>
* src/Editors/_EditPerson.py: add person's name to title
	* src/RelLib/_Name.py: add empty check



svn: r7378
2006-10-09 22:46:06 +00:00
Alex Roitman
907cdf2ec2 * src/Editors/_EditPlace.py (_create_tabbed_pages): Fix sources.
* src/Editors/_EditPersonRef.py (_create_tabbed_pages): Fix sources.
	* src/Editors/_EditPerson.py (_create_tabbed_pages): Fix sources.
	* src/Editors/_EditName.py (_create_tabbed_pages): Fix sources.
	* src/Editors/_EditMediaRef.py (_create_tabbed_pages): Fix sources.
	* src/Editors/_EditMedia.py (_create_tabbed_pages): Fix sources.
	* src/Editors/_EditFamily.py (_create_tabbed_pages): Fix sources.
	* src/Editors/_EditLdsOrd.py (_create_tabbed_pages): Fix sources.
	* src/Editors/_EditEventRef.py (_create_tabbed_pages): Fix sources.
	* src/Editors/_EditEvent.py (_create_tabbed_pages): Fix sources.
	* src/Editors/_EditChildRef.py (_create_tabbed_pages): Fix sources.
	* src/Editors/_EditAttribute.py (_create_tabbed_pages): Fix sources.
	* src/Editors/_EditAddress.py (_create_tabbed_pages): Fix sources.


svn: r7373
2006-10-09 02:45:26 +00:00
Don Allingham
747ffa7f38 2006-10-08 Don Allingham <don@gramps-project.org>
* src/Editors/_EditReference.py: call cancel_and_close on window
	cancel
	* src/DisplayTabs/_SourceRefModel.py: remove debug 
	* src/DisplayTabs/_EmbeddedList.py: remove debug 



svn: r7372
2006-10-09 02:45:05 +00:00
Alex Roitman
e2ae267d98 * src/Editors/_EditSourceRef.py (_cleanup_on_exit): Factor out
cleanup into its own method (as in the parent class).
	FIXME: This needs to be fixed so that _cleanup_on_exit is not
	run on OK, only on cancel. Maybe we need _clean_up_on_cancel() ?
	* src/DisplayTabs/_TextTab.py (cancel): Only reset text, not the
	whole source reference.


svn: r7370
2006-10-08 06:19:07 +00:00
Don Allingham
c95d16c782 debug test
svn: r7369
2006-10-08 04:29:48 +00:00
Don Allingham
559882d64f svn: r7368 2006-10-08 04:17:04 +00:00
Don Allingham
d95b58e056 svn: r7350 2006-10-04 05:01:14 +00:00
Don Allingham
71bddf1ac2 2006-10-03 Don Allingham <don@gramps-project.org>
* src/GrampsLogger/_ErrorReportAssistant.py: capitalize "GRAMPS"
	* src/ViewManager.py: display buttons on first open
	* src/Editors/_EditSourceRef.py: fix cancelling of text (bug #450)
	* src/DisplayTabs/_NoteTab.py: fix cancelling of text
	* src/DisplayTabs/_TextTab.py: fix cancelling of text 




svn: r7345
2006-10-03 16:59:51 +00:00
Don Allingham
fe8b4e1839 2006-09-23 Don Allingham <don@gramps-project.org>
* src/images/sources.svg: new icon
	* src/images/reports.svg: new icon
	* src/images/tools.svg: new icon
	* src/images/events.svg: new icon
	* src/images/place.svg: new icon
	* src/images/tools.svg: new icon
	* src/ViewManager.py: use new icons
	* src/gramps_main.py: register new icons

2006-09-22  Don Allingham  <don@gramps-project.org>
	* src/GrampsDb/_GrampsGEDDB.py: support for disabling transactions
	* src/GrampsDb/_GrampsXMLDB.py: support for disabling transactions
	* src/GrampsDb/_GrampsBSDDB.py: support for disabling transactions
	* src/GrampsDb/_GrampsDbBase.py: support for disabling transactions
	* src/GrampsDb/_ReadGedcom.py: check for IO Eror
	* src/ViewManager.py: display message if a portability problem is 
	detected
	* src/QuestionDialog.py: Add Warning dialog that can be disabled
	* src/DbLoader.py: Detect missing database problem
	* src/ArgHandler.py: support for disabling transactions
	* src/GrampsCfg.py: new config keys for transactions
	* src/Config/_GrampsConfigKeys.py: new config keys for transactions

2006-09-17  Don Allingham  <don@gramps-project.org>
	* src/ViewManager.py: handle missing database on autoload (#447)
	* src/ArgHandler.py: handle missing database on autoload (#447)
	* src/DbLoader.py: handle missing database on autoload (#447)
	* src/Makefile.am: remove uninstalled packages from makefile
	* src/GrampsDb/_ReadXML.py: place vs. address changes
	* src/GrampsDb/_WriteXML.py: place vs. address changes
	* src/GrampsDb/_EditPlace.py: place vs. address changes
	* src/Editors/_EditPlace.py: place vs. address changes
	* src/Editors/_EditLocation.py: place vs. address changes
	* src/RelLib/_Address.py: place vs. address changes
	* src/RelLib/_LocationBase.py: place vs. address changes
	* src/RelLib/_Location.py: place vs. address changes
	* src/DisplayTabs/_LocationModel.py: place vs. address changes
	* src/DisplayTabs/_LocationEmbedList.py: place vs. address changes
	* src/glade/gramps.glade: place vs. address changes



svn: r7325
2006-09-24 04:37:59 +00:00
Don Allingham
76cce7e656 2006-09-09 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadXML.py: remove commented out code
	* src/Editors/_EditEvent.py: handle overwriting of date text
	* src/RelLib/_DateBase.py: allow optional dropping of date text on
	serialization
	* src/RelLib/_Date.py: allow optional dropping of date text on
	serialization
	* src/RelLib/_Event.py: allow optional dropping of date text on
	serialization



svn: r7306
2006-09-09 17:10:13 +00:00
Alex Roitman
eb217f2cb6 2006-08-29 Alex Roitman <shura@gramps-project.org>
* src/glade/gramps.glade: Add privacy controls to all editors.
	* src/Editors/_EditSource.py: Add privacy control.
	* src/Editors/_EditSourceRef.py: Add privacy control.
	* src/Editors/_EditPlace.py: Add privacy control.
	* src/Editors/_EditMedia.py: Add privacy control.
	* src/Editors/_EditMediaRef.py: Add privacy control.
	* src/Editors/_EditRepository.py: Add privacy control.
	* src/Editors/_EditRepoRef.py: Add privacy control.



svn: r7290
2006-08-29 23:45:07 +00:00
Don Allingham
04f08a3be4 2006-08-28 Don Allingham <don@gramps-project.org>
* src/RelLib/_Name.py: pyflakes fixes
	* src/Editors/_EditName.py: pyflakes fixes
	* src/DisplayTabs/_BackRefModel.py: pyflakes fixes
	* src/DisplayTabs/_GalleryTab.py: pyflakes fixes



svn: r7284
2006-08-29 03:43:46 +00:00
Don Allingham
1784b402c3 * src/Editors/_EditMedia.py (EditMedia.save): don't set path on
a save


svn: r7270
2006-08-26 14:18:47 +00:00
Don Allingham
2293665757 * src/Editors/_EditPerson.py: add name callback to update screen
after a primary name change
	* src/DisplayTabs/_NameEmbedList.py: add primary name change menu item
	* src/GrampsWidgets.py: add reinitalization method to handle change of
	associated data item


svn: r7268
2006-08-26 04:29:20 +00:00
Alex Roitman
dfe1287d4f * src/Editors/_EditPerson.py (_image_callback): Take three
arguments; correctly call load_photo(); rebuild gallery.
	(load_photo): Name path variable as such, for clarity.


svn: r7248
2006-08-23 19:22:47 +00:00
Alex Roitman
8f188fee5e * src/GrampsDb/_ReadXML.py (start_attribute): Support attributes
in event and eventref;
	(stop_cause): Create attribute on cause tag.
	* src/Editors/_EditEventRef.py (_create_tabbed_pages): Typos.
	* src/Editors/_EditEvent.py (_create_tabbed_pages): Typo.
	* data/grampsxml.rng: Document XML changes (xml 1.1.2).
	* data/grampsxml.dtd: Document XML changes (xml 1.1.2).
	* src/GrampsDb/_WriteXML.py (dump_event_ref): Write attributes;
	(write_event): write attributes, remove cause.


svn: r7182
2006-08-15 20:59:12 +00:00
Don Allingham
edfef7d661 2006-08-13 Don Allingham <don@gramps-project.org>
* src/Editors/_EditEventRef.py: add attribute list, remove cause
	* src/Editors/_EditEvent.py: add attribute list, remove cause
	* src/glade/gramps.glade: event fixes



svn: r7172
2006-08-14 03:32:20 +00:00
Alex Roitman
9901bae55a 2006-08-11 Alex Roitman <shura@gramps-project.org>
* src/Editors/_EditFamily.py: Use cPickle.



svn: r7152
2006-08-11 18:56:53 +00:00
Don Allingham
92b1f152e1 * src/RelLib/_Place.py: Check for empty location
* src/Editors/_EditEvent.py: use default data change check


svn: r7111
2006-08-02 04:29:46 +00:00
Zsolt Foldvari
a16b488d1d 2006-07-31 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/NameDisplay.py: Rewrite in more object oriented way; Interface
	change.
	* src/ViewManager.py (post_load_newdb): Change of NameDisplay interface.
	* src/GrampsDb/_ReadXML.py (parse): Change of NameDisplay interface.
	* src/GrampsDb/_ReadGrdb.py (importData): Change of NameDisplay
	interface.
	* src/GrampsCfg.py: Change of NameDisplay interface; Name format Edit
	and Add callbacks divided.
	* src/RelLib/_Name.py: Default/standard name format definitions moved to
	NameDisplay.
	* src/Editors/_EditName.py (_setup_fields): Change of NameDisplay
	interface.
	* src/plugins/Check.py (cleanup_deleted_name_formats): Change of
	NameDisplay interface.



svn: r7099
2006-07-31 11:08:44 +00:00
Alex Roitman
6ac1e3a1f5 * src/Editors/_EditMedia.py (EditMedia.save): Use absolute path
to determine mime type.


svn: r7092
2006-07-30 04:01:45 +00:00
Zsolt Foldvari
c7d9e4b9fe 2006-07-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsCfg.py: Custom name format support improvements.
	* src/Editors/_EditName.py: Custom name format support improvements.
	* src/NameDisplay.py: Custom name format support improvements.
	* src/plugins/Check.py (cleanup_deleted_name_formats): Db cleanup of
	deleted custom name format references.



svn: r7083
2006-07-27 10:48:16 +00:00
Alex Roitman
cf0449db8f 2006-07-16 Zsolt Foldvari <zsolt.foldvari@nokia.com>
* src/ViewManager.py: Custom name format support.
	* src/GrampsCfg.py: Custom name format support.
	* src/RelLib/_Name.py: Custom name format support.
	* src/Editors/_EditName.py: Custom name format support.
	* src/glade/gramps.glade: Custom name format support.
	* src/NameDisplay.py: Custom name format support.



svn: r7032
2006-07-16 14:44:13 +00:00
Don Allingham
185f1044b4 2006-07-07 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: add edit child/relationship options
	in the popup menu
	* src/DisplayTab/_EmbeddedList.py: break out menu specification to
	make it easier to override
	* src/glade/gramps.glade: remove unused objects
	* help/C/figures/place.png: update



svn: r7008
2006-07-08 04:17:50 +00:00
Alex Roitman
712d0828e2 Update
svn: r7002
2006-07-06 21:27:29 +00:00