Commit Graph

318 Commits

Author SHA1 Message Date
Don Allingham
d20b4833f9 2007-03-24 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: add support for new directory type
	* src/GrampsDb/_GrampsDbBase.py: use normal pickle encoding
	* src/GrampsDb/_GrampsDBDir.py: new directory based type
	* src/GrampsDb/_GrampsDbFactories.py: add support for new directory type
	* src/Editors/_EditNote.py: only update on save
	* src/Selectors/_SelectPerson.py: use normal columns
	* src/GrampsDbUtils/_ReadGedcom.py: add support for new directory type
	* src/GrampsDbUtils/__init__.py: add support for new directory type
	* src/GrampsDbUtils/_Backup.py: fast pickle based backup
	* src/ArgHandler.py: add support for new directory type



svn: r8313
2007-03-25 02:25:37 +00:00
Zsolt Foldvari
be30e422b9 * src/Editors/_EditAddress.py:
* src/Editors/_EditLdsOrd.py:
	* src/Editors/_EditSourceRef.py:
	* src/Editors/_EditEventRef.py:
	* src/Editors/_EditMedia.py:
	* src/Editors/_EditName.py:
	* src/Editors/_EditEvent.py:
	* src/glade/gramps.glade:
	move date_entry(ValidatableMaskedEntry) out into glade.

2007-03-24  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8312
2007-03-24 00:30:14 +00:00
Zsolt Foldvari
901f282088 2007-03-24 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py (MarkupBuffer.set_text): better unicode encoding.
	* src/Editors/_EditPlace.py: source code encoding comment removed;
	EditPlace._validate_coordinate: proper unicode coding;
	EditPlace._setup_fields: longitude and latitude entries moved out to
	glade.
	* src/Editors/_EditNote.py (EditNote._local_init): redundant method
	call removed.
	* src/GrampsWidgets.py: enable custom widget support from glade;
	MonitoredEntry.connect: enable support for custom data for signal.
	* src/glade/gramps.glade (place_editor): include ValidatableMaskedEntry
	for longitude and latitude entries.
	* src/ManagedWindow.py (ManagedWindow.show): replace window.show() with
	window.show_all().



svn: r8311
2007-03-23 23:18:32 +00:00
Zsolt Foldvari
8c6223ba1e 2007-03-21 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py (MarkupBuffer.set_text): convert unicode to byte
	string for parseString.
	* src/Editors/_EditAddress.py:
	* src/Editors/_EditLdsOrd.py:
	* src/Editors/_EditSourceRef.py:
	* src/Editors/_EditEventRef.py:
	* src/Editors/_EditMedia.py:
	* src/Editors/_EditName.py:
	* src/Editors/_EditEvent.py: attach ValidatableMaskedEntry into table
	with FILL=False yoption for having the validation error tip at right
	position.



svn: r8309
2007-03-21 22:11:52 +00:00
Don Allingham
0d778ae075 2007-03-18 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: use tooltips for buttons when text disabled (bug 959)
	* src/Editors/_EditSourceRef.py: fix help button (bug 960),  delete the cancel
	on the comment tab.
	* src/Editors/_EditReference.py: make sure help button is sensitive if used.
	* src/GrampsDbUtils/_GedcomParse.py: check for UTF16 BOM
	* src/ArgHandler.py: use STOCK_NEW for create of db (bug 947)
	* src/DbLoader.py: use STOCK_NEW for create of db (bug 947)



svn: r8304
2007-03-19 04:19:49 +00:00
Zsolt Foldvari
eacc71f544 2007-03-17 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/Editors/_EditPlace.py: better tooltip for coordinates; fix position
	of those tooltip.



svn: r8301
2007-03-17 20:07:11 +00:00
Brian Matherly
ab75a832f7 src/Editors/_EditPlace.py: Add the following comment at the top of the
file:
   # -*- coding: latin-1 -*-
See here: http://www.python.org/dev/peps/pep-0263/ for details.
I'm not sure if this is what we want to do, or if there is a better way,
But I needed to do something to get Gramps running again.

svn: r8300
2007-03-15 02:50:36 +00:00
Zsolt Foldvari
efcaf0d6e1 * src/Editors/_EditPlace.py (_setup_fields): validate coordinates
* src/glade/gramps.glade: delete long, lat entries from place_editor

2007-03-13  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8293
2007-03-13 22:12:10 +00:00
Zsolt Foldvari
63e344754f 2007-03-13 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/RelLib/_Note.py: import const from MarkupText module
	* src/MarkupText.py: use actions instead of widgets on the interface;
	new helper functions
	* src/Editors/_EditNote.py: move widgets out to glade; implement new
	MarkupText buffer interface; use uimanager/toolbar for formatting
	* src/glade/gramps.glade: edit_note update



svn: r8292
2007-03-13 20:31:50 +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
Don Allingham
a7ad83b3ff 2007-03-03 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsGEDDB.py: readonly database for GEDCOM
	* src/Editors/_EditNote.py: add additional fields
	* src/RelLib/_Note.py: cleanup
	* src/DisplayTabs/_NoteModel.py: display correctly
	* src/GrampsWidgets.py: readonly support for checkbox
	* src/glade/gramps.glade: note fixes
	* src/DisplayModels/_NoteModel.py: display data correctly
	* src/GrampsDbUtils/_GedcomParse.py: cleanup 
	* example/gramps/example.gramps: new note support
	* example/gedcom/sample.ged: new note support



svn: r8264
2007-03-04 02:55:43 +00:00
Don Allingham
dd6be5ad72 * src/GrampsDbUtils/_GedcomChar.py: handle stripping of newlines
* src/GrampsDbUtils/_GedcomLex.py: handle newlines and eof
	the declaration line, give notes and id/handle


svn: r8256
2007-02-28 05:20:30 +00:00
Don Allingham
18984b840e 2007-02-25 Don Allingham <don@gramps-project.org>
* src/DataViews/__init__.py: Add NoteView
	* src/DataViews/_NoteView.py: Added
	* src/Config/_GrampsConfigKeys.py: Added new keys to handle note dialog 
	width
	* src/Editors/__init__.py: Add _EditNote.py
	* src/Editors/_EditNote.py: Added
	* src/DisplayTabs/_NoteTab.py: Updated to the new list format
	* src/GrampsWidgets.py: Add checkbox support
	* src/glade/gramps.glade: Added edit_note
	* data/gramps.schemas.in: new keys



svn: r8240
2007-02-26 01:39:16 +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
Alex Roitman
961a543cda Merge multiple notes branch
svn: r8182
2007-02-20 00:39:10 +00:00
Zsolt Foldvari
9d4b8bbb59 2007-02-16 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/DisplayTabs/_NoteTab.py: accelerators replaced with key-press
	signal handler.
	* src/DisplayTabs/_ButtonTab.py: accelerators removed; wrong concept.
	* src/DisplayTabs/_GrampsTab.py: accelerators removed; wrong concept.
	* src/Editors/_EditPrimary.py: accelerators removed; wrong concept.
	* src/Editors/_EditSecondary.py: accelerators removed; wrong concept.
	* src/Editors/_EditReference.py: accelerators removed; wrong concept.
	* src/ManagedWindow.py: accelerators removed; wrong concept.



svn: r8154
2007-02-18 18:08:26 +00:00
Zsolt Foldvari
d3b383109d 2007-02-16 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/data/mainX.css: enable formatted notes on narrative web
	* src/plugins/NarrativeWeb.py: enable formatted notes on narrative web
	* src/MarkupText.py: properly reset xml generator output: fix #924
	* src/ManagedWindow.py: enable accelerators in editor windows 
	* src/Editors/_EditPrimary.py: enable accelerators in editor windows
	* src/Editors/_EditSecondary.py: enable accelerators in editor windows
	* src/Editors/_EditReference.py: enable accelerators in editor windows
	* src/DisplayTabs/_NoteTab.py: enable accelerators in editor windows 
	* src/DisplayTabs/_ButtonTab.py: enable accelerators in editor windows
	* src/DisplayTabs/_GrampsTab.py: enable accelerators in editor windows



svn: r8137
2007-02-16 21:20:36 +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
Don Allingham
b4fedb0e0e * src/DataViews/_PersonView.py: use new delete function
* src/GrampsDb/_DbUtils.py: add person delete function
	* src/Editors/_EditFamily.py: catch signals to update window


svn: r8021
2007-01-31 04:50:12 +00:00
Alex Roitman
b37878b661 * src/plugins/RemoveUnused.py: Rewrite to offer object list
proposed for removal.
	* src/DisplayTabs/_BackRefList.py (edit_button_clicked): Change
	argument order in EditEvent call.
	* src/DataViews/_EventView.py: Change argument order in EditEvent call.
	* src/Editors/_EditEvent.py: Change argument order.


svn: r8018
2007-01-31 02:05:01 +00:00
Don Allingham
b2860d222e * src/DisplayModels/_BaseModel.py: Refactor out node/path maps
* various: remove sets import


svn: r8011
2007-01-29 19:13:15 +00:00
Don Allingham
d2633548af 2007-01-27 Don Allingham <don@gramps-project.org>
* src/Editors/_EditPerson.py (EditPerson._image_button_press): check
	for window already being open (#882)



svn: r7995
2007-01-27 18:28:29 +00:00
Don Allingham
2bf872a8c3 2007-01-24 Don Allingham <don@gramps-project.org>
* src/Editors/_EditSourceRef.py: remove debug statements
	* src/AddMedia.py: remove debug statements
	* src/ArgHandler.py: remove debug statements



svn: r7980
2007-01-25 05:37:24 +00:00
Don Allingham
217a8be23b 2007-01-23 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py: initialize the next gramps_id
	indexes to the length of the tables to prevent a walk of the db 
	entries.
	* src/DisplayModels/_BaseModel.py: handle row-insert properly
	* src/PageView.py: handle row adding properly



svn: r7963
2007-01-23 17:02:55 +00:00
Alex Roitman
58b1a424bb 2007-01-22 Alex Roitman <shura@gramps-project.org>
* src/Editors/_EditSource.py (query_response): Remove sourcerefs
	from repos (indirectly, through secondary objects).
	* src/Editors/_EditPlace.py (query_response): Avoid db walk.
	* src/DataViews/_FamilyList.py (remove): Set busy cursor.
	* src/DataViews/_PlaceView.py (remove): Set busy cursor.
	* src/DataViews/_SourceView.py (remove): Set busy cursor.
	* src/DataViews/_MediaView.py (remove): Set busy cursor.
	* src/DataViews/_EventView.py (remove): Set busy cursor.
	* src/DataViews/_RepositoryView.py (remove): Set busy cursor.
	* src/Editors/_EditEventRef.py (DelEventQuery): Remove unneeded class.
	* src/Filters/Rules/_HasTextMatchingSubstringOf.py: Remove
	unneeded import.
	* src/Filters/Rules/Person/_HasTextMatchingSubstringOf.py
	(cache_sources): Adapt to changes in get_source_referents.
	* src/Utils.py (get_source_referents): Use reference map, add
	repositories to the search results;
	(get_media_referents): Use reference map.



svn: r7958
2007-01-23 03:37:13 +00:00
Don Allingham
2406378435 * src/GrampsDb/_GrampsDBCallback.py: sys.getfilesystemencoding()
* src/GrampsDb/_GrampsBSDDB.py: sys.getfilesystemencoding()
	* src/Exporter.py: sys.getfilesystemencoding()
	* src/ReportBase/_FileEntry.py: sys.getfilesystemencoding()
	* src/Editors/_EditMedia.py: sys.getfilesystemencoding()
	* src/DisplayTabs/_SourceEmbedList.py: sys.getfilesystemencoding()
	* src/plugins/WriteCD.py: sys.getfilesystemencoding()
	* src/plugins/WritePkg.py: sys.getfilesystemencoding()
	* src/plugins/Check.py: sys.getfilesystemencoding()
	* src/plugins/EventCmp.py: sys.getfilesystemencoding()
	* src/AddMedia.py: sys.getfilesystemencoding()
	* src/DisplayModels/_BaseModel.py: sys.getfilesystemencoding()
	* src/DateEdit.py: sys.getfilesystemencoding()
	* src/ArgHandler.py: sys.getfilesystemencoding()
	* src/DbLoader.py: sys.getfilesystemencoding()


svn: r7951
2007-01-22 03:56:23 +00:00
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
Alex Roitman
154787c06c 2006-07-06 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (ViewManager.post_load_newdb): Register
	custom formats after loading the db.
	* src/GrampsCfg.py: Switch to use new formats (still in progress).
	* src/GrampsDb/_GrampsDbBase.py (GrampsDbBase.__init__): Set up
	custom name formats list.
	* src/GrampsDb/_DbUtils.py (db_copy): Copy custom name formats.
	* src/GrampsDb/_ReadXML.py (start_format): Parse custom formats.
	* src/GrampsDb/_WriteXML.py (write_name_formats): Add method.
	* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB._load_metadata) 
	(GrampsBSDDB._close_metadata): load and save name_formats.
	* src/Editors/_EditName.py (EditName._setup_fields): Use proper
	format lists.
	* src/NameDisplay.py: Support new name formats scheme.
	* src/RelLib/_Name.py (Name.DEFAULT_FORMATS): Add list of formats.



svn: r6999
2006-07-06 17:46:46 +00:00
Don Allingham
4e3de8da45 2006-07-05 Don Allingham <don@gramps-project.org>
* src/Editors/_EditChildRef.py: fix title
	* src/Editors/_EditFamily.py: call sequence for EditChildRef 
	* src/glade/gramps.glade: childref label fix
	* src/ManagedWindow.py: spacking
	* help/C/gramps-manual.xml: text updates
	* help/C/figures/select-family.png: added
	* help/C/figures/select-person.png: added
	* help/C/figures/family-warn.png: added
	* help/C/figures/child-ref.png: added
	* help/C/figures/edit-family.png: added
	* help/C/figures/gedcom-export.png: updated
	* help/C/figures/export-druid.png: updated



svn: r6993
2006-07-05 19:00:32 +00:00
Don Allingham
e593f5fd33 * various: pyflakes fixes
svn: r6982
2006-07-03 04:25:33 +00:00
Don Allingham
dc4b7dab9d 2006-06-22 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py: remove unused variable
	* src/Editors/_EditPlace.py: Allow duplicate names
	* src/Editors/_EditFamily.py: improve error message



svn: r6950
2006-06-23 04:13:06 +00:00
Don Allingham
a5a4eed7fc 2006-06-21 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: Don't attempt to be too clever and
	swap families if a duplicate is found. Just warn, and continue.



svn: r6943
2006-06-21 20:13:40 +00:00
Don Allingham
d48229472a 2006-06-21 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: re-enable disabled blocks after
	the + is clicked



svn: r6939
2006-06-21 19:32:50 +00:00
Don Allingham
f9dc4c6d9a * src/Editors/_EditFamily.py: handle drag-n-drop for childrefs
separately


svn: r6927
2006-06-20 21:18:49 +00:00
Don Allingham
bb9b456824 2006-06-20 Don Allingham <don@gramps-project.org>
* src/Editors/_EditEvent.py: focus on date on open
	* src/Editors/_EditEventRef.py: focus on date on open
	* src/UndoHistory.py: don't attempt to unregister with the window
	manager, since not registered to begin with



svn: r6926
2006-06-20 15:01:27 +00:00
Don Allingham
c6b026e6dd * src/Editors/_EditPerson.py: select given name field if the
surname field is already defined


svn: r6910
2006-06-18 03:21:03 +00:00
Don Allingham
20ee3d9d2f 2006-06-16 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamiy.py: make EditPerson windows subordinate
	to EditFamily windows. This prevents the EditPerson window from
	trying to trying to access a non-existent window and causing a
	segfault



svn: r6900
2006-06-16 17:42:36 +00:00
Don Allingham
4cf930d039 * src/GrampsDb/_GrampsDbBase.py: prevent null event types and
attribute types from being added
	* src/Editors/_EditAttribute.py: prevent null attribute types
	* src/Editors/_EditEvent.py: prevent null attribute types
	* src/AutoComp.py: filter out empty strings
	* src/ImgManip.py: check for file before attempting thumbnailer


svn: r6898
2006-06-16 03:32:51 +00:00
Alex Roitman
0c850aeda1 In .:
* src/DisplayTabs/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/DisplayTabs/__init__.py: Import new module.
	* src/DisplayTabs/_TextTab.py: Add new module.
	* src/Editors/_EditSourceRef.py (_setup_fields): Remove Text tab;
	(_create_tabbed_pages): Add Text tab.
	* src/glade/gramps.glade (source_ref_edit): Remove Text tab.
In po:
2006-06-15  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new file.



svn: r6894
2006-06-15 17:17:42 +00:00
Alex Roitman
5b113d9558 2006-06-14 Alex Roitman <shura@gramps-project.org>
* src/NameDisplay.py: Factor out commont code.
	* src/Editors/_EditName.py (_setup_fields): Remove Default item.
	* src/RelLib/_Name.py (Name.DEF): Replace with CUSTOM, use LNFN in
	place of previous DEF.
	* src/GrampsCfg.py (add_name_panel): Add Name Display panel.
	* src/GrampsDb/_ReadXML.py (stop_name): Properly set name type;
	do not set conf attribute on attr, addr, and event.



svn: r6889
2006-06-14 20:20:39 +00:00
Don Allingham
cb2cebd7e9 2006-06-13 Don Allingham <don@gramps-project.org>
* src/Editors/_EditLdsOrd.py: LDS confirmation support
	* src/GrampsDb/_ReadGedcom.py: LDS confirmation support
	* src/GrampsDb/_WriteGedcom.py: LDS confirmation support
	* src/GrampsDb/_GedTokens.py: LDS confirmation support
	* src/GrampsDb/_LdsOrdd.py: LDS confirmation support



svn: r6887
2006-06-13 23:51:24 +00:00
Alex Roitman
cb63f90caa 2006-05-31 Alex Roitman <shura@gramps-project.org>
* src/Selectors/_SelectPerson.py (__init__): take track argument.
	* src/Editors/_EditFamily.py: Adapt to SelectPerson change.
	* src/Editors/_EditPersonRef.py (_select_person): Adapt to
	SelectPerson change.
	* src/ReportBase/_BareReportDialog.py: Use dbstata and uistate,
	convert to Managed window.
	* src/ReportBase/_ReportDialog.py: Use dbstate and uistate.
	* src/ReportBase/_DrawReportDialog.py: Use dbstate and uistate.
	* src/ReportBase/_TextReportDialog.py: Use dbstate and uistate.
	* src/ViewManager.py (make_report_callback): Use dbstate and uistate.



svn: r6830
2006-05-31 18:26:50 +00:00
Alex Roitman
2e9af64722 Update
svn: r6823
2006-05-31 02:03:29 +00:00
Alex Roitman
0ab5eb9a0d 2006-05-30 Alex Roitman <shura@gramps-project.org>
* various: break Report into a package.



svn: r6820
2006-05-31 00:48:07 +00:00
Alex Roitman
fe55f54624 * src/Editors/_EditFamily.py (EditFamily.save): Typo.
svn: r6816
2006-05-29 18:15:58 +00:00
Alex Roitman
e0642915d7 * src/Editors/_EditFamily.py (EditFamily.save): Typo.
svn: r6806
2006-05-29 02:46:00 +00:00
Don Allingham
8ec6242dd7 2006-05-26 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: build skip list for SelectFamily so that
	* a person cannot be his own parent
	* src/Editors/_EditFamily.py: don't allow a person to be his own parent
	* src/Selectors/_BaseSelector.py: Add skipping of handles
	* src/DisplayModels/_BaseModel.py: Add skipping of handles
	* src/DisplayModels/_MediaModel.py: Add skipping of handles
	* src/DisplayModels/_RepositoryModel.py: Add skipping of handles
	* src/DisplayModels/_SourceModel.py: Add skipping of handles
	* src/DisplayModels/_EventModel.py: Add skipping of handles
	* src/DisplayModels/_FamilyModel.py: Add skipping of handles
	* src/DisplayModels/_PlaceModel.py: Add skipping of handles



svn: r6790
2006-05-26 20:48:40 +00:00
Alex Roitman
54e3f6908d * src/Utils.py: move event/attr constants to GedcomInfo.
* src/plugins/TestcaseGenerator.py: Use new methods.
	* src/DisplayTabs/_LdsModel.py: Use new methods.
	* src/Editors/_EditLdsOrd.py: Use new methods.
	* src/RelLib/_LdsOrd.py: Add new methods.
	* src/GrampsDb/_WriteGedcom.py: Do not import unused module.
	* src/GrampsDb/_ReadXML.py: Use methods from LdsOrd.
	* src/lds.py: Rename to LdsUtils.py
	* src/GrampsDb/_ReadGedcom.py: Use new module name.
	* src/Makefile.am (gdir_PYTHON): Ship new file.



svn: r6770
2006-05-24 05:28:33 +00:00
Don Allingham
74b55ce32a 2006-05-23 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: finish shading
	* src/GrampsDb/_DbUtils.py: add birth/death index set funcion
	* src/Editors/_EditPerson.py: birth/death index fixes
	* src/DisplayTabs/_PersonEventEmbedList.py: birth/death index fixes
	* src/GrampsWidgets.py: shading fixes
	* src/DisplayModels/_PeopleModel.py: birth/death index fixes



svn: r6764
2006-05-23 21:07:26 +00:00
Alex Roitman
c531fc65bc 2006-05-21 Alex Roitman <shura@gramps-project.org>
* src/DisplayTabs/_PersonEventEmbedList.py
	(PersonEventEmbedList.default_type): properly process event list.
	* src/Editors/_EditEventRef.py (EditEventRef.get_custom_events):
	Use correct method.
	* src/Editors/_EditEvent.py (EditEvent.get_custom_events)
	(EditPersonEvent.get_custom_events): Use correct method.
	* src/GrampsDb/_GrampsDbBase.py: Remove obsolete methods.
	* src/GrampsDb/_GrampsInMemDB.py: Remove obsolete methods.



svn: r6735
2006-05-21 18:17:52 +00:00
Don Allingham
230ec2bf8a 2006-05-20 Don Allingham <don@gramps-project.org>
* src/Editors/_EditPlace.py: custom menus
	* src/Editors/_EditLdsOrd.py: custom menus
	* src/Editors/_EditSourceRef.py: custom menus
	* src/Editors/_EditSource.py: custom menus
	* src/Editors/_EditRepoRef.py: custom menus
	* src/Editors/_EditUrl.py: custom menus
	* src/Editors/_EditAttribute.py: custom menus
	* src/Editors/_EditPerson.py: custom menus
	* src/Editors/_EditLocation.py: custom menus
	* src/Editors/_EditMediaRef.py: custom menus
	* src/Editors/_EditEventRef.py: custom menus
	* src/Editors/_EditMedia.py: custom menus
	* src/Editors/_EditRepository.py: custom menus
	* src/Editors/_EditName.py: custom menus
	* src/Editors/_EditChildRef.py: custom menus
	* src/Editors/_EditFamily.py: custom menus
	* src/Editors/_EditEvent.py: custom menus



svn: r6734
2006-05-21 04:24:56 +00:00
Don Allingham
b06911309a * src/GrampsDb/_GrampsDbBase.py: remove place name storage
* src/Editors/_EditLdsOrd.py: new SelectPlace interface
	* src/glade/gramps.glade: new select place interface changes


svn: r6697
2006-05-17 20:42:02 +00:00
Don Allingham
0a2c8f684f * src/Editors/_EditEventRef.py: new SelectPlace interface, remove
old code


svn: r6696
2006-05-17 20:21:16 +00:00
Don Allingham
9b03472a0a 2006-05-17 Don Allingham <don@gramps-project.org>
* src/Editors/_EditPlace.py: new SelectPlace interface
	* src/Editors/_EditEventRef.py: new SelectPlace interface
	* src/Editors/_EditEvent.py: new SelectPlace interface
	* src/GrampsWidgets.py: new Place editor interface



svn: r6695
2006-05-17 19:32:19 +00:00
Alex Roitman
a90a6fb15f 2006-05-16 Alex Roitman <shura@gramps-project.org>
* src/Editors/_EditLdsOrd.py: Adapt to new selector.
	* src/DisplayTabs/_SourceEmbedList.py: Adapt to new selector.
	* src/DisplayTabs/_EventEmbedList.py: Adapt to new selector.
	* src/DisplayTabs/_GalleryTab.py: Adapt to new selector.
	* src/Selectors/_BaseSelector.py: Use DisplaModel models.
	* src/Selectors/_SelectRepository.py: Use DisplaModel models.
	* src/Selectors/_SelectSource.py: Use DisplaModel models.
	* src/Selectors/_SelectEvent.py: Use DisplaModel models.
	* src/Selectors/_SelectFamily.py: Use DisplaModel models.
	* src/Selectors/_SelectPlace.py: Use DisplaModel models.
	* src/Selectors/_SelectObject.py: Use DisplaModel models.



svn: r6687
2006-05-17 04:43:53 +00:00
Don Allingham
3b894e16dd * src/Editors/_EditEvent.py: start of SelectPlace integration
* src/glade/gramps.glade: start of SelectPlace integration
	* src/GrampsWidgets.py: start of SelectPlace integration


svn: r6686
2006-05-17 04:35:03 +00:00
Alex Roitman
e0b3dc141d In .:
2006-05-15  Alex Roitman  <shura@gramps-project.org>
	* configure.in: Generate new Makefile.
	* src/Makefile.am: adapt to new module.
	* src/Selectors: separate selectors in their own module.
	* src/Select*.py: move to Selectors.
	* src/DataViews/_FamilyView.py: Use new module.
	* src/Editors/_EditLdsOrd.py: Use new module.
	* src/Editors/_EditPersonRef.py: Use new module.
	* src/Editors/_EditFamily.py: Use new module.
	* src/DisplayTabs/_SourceEmbedList.py: Use new module.
	* src/DisplayTabs/_RepoEmbedList.py: Use new module.
	* src/DisplayTabs/_EventEmbedList.py: Use new module.
	* src/DisplayTabs/_GalleryTab.py: Use new module.
	* src/plugins/FilterEditor.py: Use new module.
	* src/plugins/SimpleBookTitle.py: Use new module.
	* src/PluginUtils/_Report.py: Use new module.

In po:
2006-05-15  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r6669
2006-05-15 15:53:42 +00:00
Don Allingham
0aaaa45ca1 * src/DataViews/_MediaView.py: tool tips
* src/DataViews/_RepositoryView.py: tool tips
	* src/DataViews/_SourceView.py: tool tips
	* src/DataViews/_EventView.py: tool tips
	* src/DataViews/_PedigreeView.py: tool tips
	* src/DataViews/_PlaceView.py: tool tips
	* src/DataViews/_PersonView.py: tool tips
	* src/ViewManager.py: tool tips
	* src/QuestionDialog.py: add info dialog
	* src/PageView.py: tool tips


svn: r6574
2006-05-08 01:15:19 +00:00
Alex Roitman
4b1d9e1a1b * src/Editors/_EditSourceRef.py (_create_tabbed_pages): Add data
and repository tabs.


svn: r6562
2006-05-06 05:20:19 +00:00
Don Allingham
56a3b7ef20 * src/DateEdit.py: ManagedWindow
* src/Editors/_EditAddress.py: new DateEdit interface
	* src/Editors/_EditLdsOrd.py: new DateEdit interface
	* src/Editors/_EditSourceRef.py: new DateEdit interface
	* src/Editors/_EditEventRef.py: new DateEdit interface
	* src/Editors/_EditMedia.py: new DateEdit interface
	* src/Editors/_EditName.py: new DateEdit interface
	* src/Editors/_EditEvent.py: new DateEdit interface
	* src/GrampsWidgets.py: new DateEdit interface


svn: r6559
2006-05-06 03:14:13 +00:00
Don Allingham
91d49b8c5e 2006-05-05 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: import ChildModel



svn: r6558
2006-05-06 02:35:47 +00:00
Don Allingham
19236f8c67 nickname/call name changes
svn: r6555
2006-05-05 21:16:24 +00:00
Don Allingham
dcd9927969 * src/glade/gramps.glade: add call name field, add id fields
* src/glade/edit_person.glade: add call name field
	* src/DataViews/_PersonView.py: start of filter sidebar,
	use hbox instead of hpaned
	* src/Editors/_EditPlace.py: add ID field
	* src/Editors/_EditSource.py: add ID field
	* src/Editors/_EditEventRef.py: add ID field
	* src/Editors/_EditEvent.py: add ID field


svn: r6551
2006-05-05 13:25:24 +00:00
Alex Roitman
6169cecbd3 In .:
2006-05-04  Alex Roitman  <shura@gramps-project.org>
	* src/DisplayTabs.py: remove file.
	* src/DisplayTabs: Add package.

In po:
2006-05-04  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r6546
2006-05-05 00:39:11 +00:00
Alex Roitman
65a760097f 2006-05-03 Alex Roitman <shura@gramps-project.org>
* src/Editors/_EditPlace.py (_setup_fields): Typo.



svn: r6531
2006-05-03 16:59:22 +00:00
Don Allingham
5791ff7fcd fix selectperson call
svn: r6506
2006-05-01 22:14:26 +00:00
Don Allingham
4063ae7172 * src/Editors/_EditFamily.py: fix Select Person calls
* src/docgen/Makefile.am: add ODSDoc.py
	* po/POTFILES.in: add ODSDoc.py


svn: r6499
2006-04-30 04:17:54 +00:00
Don Allingham
45853f8c75 * src/ViewManager.py: add ScratchPad to the View menu
* src/Editors/_EditFamily.py: Fix tooltips
	* src/glade/gramps.glade: remove predefined tooltips


svn: r6491
2006-04-28 22:58:43 +00:00
Don Allingham
8d72a85628 svn: r6490 2006-04-28 22:42:07 +00:00
Don Allingham
9d695790d0 2006-04-27 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py: fix custom event storing
	* src/GrampsDb/_GrampsBSDDB.py: fix custom event storing
	* src/Editors/_EditEventRef.py: fix custom event storing
	* src/Editors/_EditEvent.py: fix custom event storing
	* src/GrampsWidgets.py: fix custom data types
	* src/AutoComp.py: fix custom data types
	


svn: r6480
2006-04-28 03:32:04 +00:00
Don Allingham
c3a28a2367 2006-04-27 Don Allingham <don@gramps-project.org>
* src/Editors/_EditReference.py: fix warn_box call
	* src/DisplayTabs.py: handle canceled edit box for media
	* src/AddMedia.py: ManagedWindow support
	* src/SelectPerson.py: ManagedWindow support



svn: r6478
2006-04-28 00:33:44 +00:00
Don Allingham
88c6831430 * src/Editors/_EditPerson.py (EditPerson._create_tabbed_pages):
initialize load_image callback
	* src/DisplayTabs.py (GalleryTab): call callback if defined when
	the list is updated, handle reorder inserting of None objects


svn: r6476
2006-04-27 21:56:36 +00:00
Don Allingham
ae1c5c6aee svn: r6474 2006-04-27 21:18:59 +00:00
Don Allingham
d4b2d21e0a 2006-04-27 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: provide add new parent option
	* src/Editors/_EditEvent.py: used set_window
	* src/glade/gramps.glade: add new buttons for add new parent



svn: r6470
2006-04-27 20:21:32 +00:00
Don Allingham
5afa945819 Config method changed
svn: r6429
2006-04-24 21:04:01 +00:00
Alex Roitman
093cbe0775 Update
svn: r6426
2006-04-23 22:43:36 +00:00
Alex Roitman
cd4ee9ca0b 2006-04-23 Alex Roitman <shura@gramps-project.org>
* src/Utils.py: Make set_titles call ManagedWindow.set_titles
	with warning.
	* src/ManagedWindow.py: move set_titles here.
	* src/plugins/FilterEditor.py: Use new set_window method.
	* src/Editors/_Edit*.py: new set_window method.
	



svn: r6425
2006-04-23 22:18:01 +00:00
Don Allingham
c35818b656 pychecker fixes
svn: r6409
2006-04-22 04:00:58 +00:00
Don Allingham
d384497dd9 pychecker fixes
svn: r6407
2006-04-22 03:23:57 +00:00
Don Allingham
768a1356aa fix typos on XML import
svn: r6405
2006-04-21 22:24:54 +00:00
Don Allingham
301dad7671 Fix typo
svn: r6404
2006-04-21 20:51:45 +00:00
Don Allingham
95dfa345a1 Fix warnboxes
svn: r6403
2006-04-21 20:45:10 +00:00
Don Allingham
a78ca88de8 Fix warnboxes
svn: r6401
2006-04-21 20:34:26 +00:00
Don Allingham
7e88c6c037 Fix warnboxes
svn: r6396
2006-04-21 19:56:16 +00:00
Don Allingham
32f6564a01 Attribute Types
svn: r6392
2006-04-21 18:15:23 +00:00
Don Allingham
471694030c * src/DataViews/_EventView.py: pychecker fixes
* src/ViewManager.py: call scratchpad properly
	* src/GrampsCfg.py: pychecker fixes
	* src/Editors/_EditEvent.py
	* src/DisplayModels.py:pychecker fixes
	* src/DisplayTabs.py: pychecker fixes
	* src/ScratchPad.py: use ManagedWindow
	* src/GenericFilter.py: pychecker fixes
	* src/ImgManip.py: pychecker fixes
	* src/PageView.py: pychecker fixes
	* src/ArgHandler.py: pychecker fixes


svn: r6389
2006-04-21 04:14:00 +00:00
Don Allingham
112a0aa332 * src/Editors/_EditFamily.py: Handle marker type in UI
svn: r6388
2006-04-21 02:59:15 +00:00
Don Allingham
313c93cd03 fix display of shared info warning box
svn: r6384
2006-04-20 22:32:17 +00:00
Alex Roitman
2e60bbe16e svn: r6378 2006-04-20 04:59:04 +00:00
Don Allingham
2f5aa02120 * src/RelLib/_Family.py: add remove_child_handle
svn: r6376
2006-04-20 03:44:11 +00:00
Don Allingham
bd7b3136e8 2006-04-19 Don Allingham <don@gramps-project.org>
* src/DataViews/_EventView.py: more GrampsTypes changes
	* src/DataViews/_PedigreeView.py: more GrampsTypes changes
	* src/RelLib/_ChildRef.py: more GrampsTypes changes
	* src/RelLib/_Family.py: more GrampsTypes changes
	* src/RelLib/_Repository.py: more GrampsTypes changes
	* src/RelLib/_Event.py: more GrampsTypes changes
	* src/Editors/_EditPerson.py: more GrampsTypes changes
	* src/Editors/_EditEventRef.py: more GrampsTypes changes
	* src/Editors/_EditEvent.py: more GrampsTypes changes
	* src/PeopleModel.py: more GrampsTypes changes
	* src/DisplayTabs.py: more GrampsTypes changes
	* src/GrampsWidgets.py: more GrampsTypes changes
	* src/Utils.py: more GrampsTypes changes
	* src/PageView.py: more GrampsTypes changes



svn: r6373
2006-04-20 03:10:23 +00:00
Alex Roitman
cd5518015b 2006-04-19 Alex Roitman <shura@gramps-project.org>
* src/Utils.py: Remove obsolete code.
	* src/DisplayTabs.py (EventRefModel.column_role): Adapt to new types.
	* src/PeopleModel.py: Adapt to new types.
	* src/plugins/TestcaseGenerator.py: Adapt to new types.
	* src/RelLib/Makefile.am: Ship new files.
	* src/RelLib/_EventRef.py: Adapt to new types.
	* src/RelLib/_PrimaryObject.py: Adapt to new types.
	* src/RelLib/_EventRoleType.py: Add new module.
	* src/RelLib/_RepoRef.py: Adapt to new types.
	* src/RelLib/_MarkerType.py: Add new module.
	* src/RelLib/_Family.py: Adapt to new types.
	* src/RelLib/_Person.py: Adapt to new types.
	* src/RelLib/_SourceMediaType.py: Add new module.
	* src/RelLib/__init__.py: Expose new modules.
	* src/Editors/_EditPerson.py: Use new type.
	* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Adapt to new types.
	* src/GrampsDb/_ConstXML.py: Comment out obsolete code.
	* src/GrampsDb/_ReadXML.py: Adapt to new types.
	* src/GrampsDb/_GrampsDbBase.py (commit_person): Properly use marker.
	* src/GrampsDb/_ReadGedcom.py: Adapt to new types.
	* src/DataViews/_FamilyView.py (write_relationship): Use new type.
	* src/DataViews/_PedigreeView.py (format_relation): Use new type.



svn: r6372
2006-04-20 00:44:44 +00:00
Don Allingham
41a9e9205c GrampsType support for FamilyRelations, Events
svn: r6371
2006-04-19 22:59:33 +00:00
Don Allingham
f6d8887f35 * src/Editors/_EditChildRef.py: fix call for MonitoredDataType
svn: r6365
2006-04-19 04:44:20 +00:00
Don Allingham
46cc128ee0 * src/Editors/_EditName.py: fix call for MonitoredDataType
svn: r6364
2006-04-19 04:42:49 +00:00
Don Allingham
b82376fb66 * src/GrampsDb/_ReadXML.py: new types
* src/GrampsDb/_ConstXML.py: new types
	* src/GrampsDb/_WriteXML.py: new types
	* src/Editors/_EditUrl.py: new types
	* src/Editors/_EditPerson.py: new types
	* src/Editors/_EditRepository.py: new types
	* src/Editors/_EditName.py: new types
	* src/Editors/_EditChildRef.py: new types
	* src/RelLib/__init__.py: new types
	* src/RelLib/_Url.py: new types
	* src/RelLib/_RepositoryType.py: new types
	* src/RelLib/_GrampsType.py: new types
	* src/RelLib/_UrlType.py: new types
	* src/RelLib/_Repository.py: new types
	* src/RelLib/_NameType.py: new types
	* src/RelLib/_ChildRefType.py: new types
	* src/DisplayTabs.py: new types
	* src/GrampsWidgets.py: new types
	* src/Utils.py: new types


svn: r6360
2006-04-19 03:57:10 +00:00
Don Allingham
01ad261c0a 2006-04-18 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: button messages
	* src/DisplayTabs.py: remove property button stuff



svn: r6357
2006-04-18 23:22:21 +00:00
Don Allingham
6b54577315 * src/Editors/__init__.py: added EditChildRef
* src/Editors/Makefile.am: added EditChildRef
	* src/Editors/_EditChildRef.py: added
	* src/Editors/_EditFamily.py: add child reference editor
	* src/DisplayTabs.py: add optional properties button
	* src/glade/gramps.glade: add child reference editor


svn: r6354
2006-04-18 20:27:53 +00:00
Don Allingham
6fe0f08334 handle child type callback
svn: r6346
2006-04-15 06:24:35 +00:00