Commit Graph

67 Commits

Author SHA1 Message Date
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
1c55edca96 svn: r8173 2007-02-19 22:50:09 +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
Zsolt Foldvari
4cd6d41f79 * src/MarkupText.py: cleanup
* src/DisplayTabs/_NoteTab.py (build_interface): debug log
	* src/const.py.in: add new command line arg '-d,--debug'
	* src/gramps.py (setup_logging): change root logger default level
	to WARNING
	* src/ArgHandler.py (parse_arg): handle command line arg: debug

2007-02-12  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8093
2007-02-12 22:33:03 +00:00
Zsolt Foldvari
4f390df00d 2007-02-12 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py: improvements
	* src/RelLib/_Note.py (get): try to remove tags only if note is
	formatted
	* src/DisplayTabs/_NoteTab.py: cleanup



svn: r8092
2007-02-12 19:53:30 +00:00
Zsolt Foldvari
e54cbc8c51 2007-02-11 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py: added
	* src/DisplayTabs/_NoteTab.py: handling 'rich text' notes
	* src/RelLib/_NoteBase.py: handling 'rich text' notes
	* src/RelLib/_Note.py: handling 'rich text' notes
	* src/GrampsDb/_GrampsBSDDB.py: handling 'rich text' notes
	* src/GrampsDbUtils/_ReadXML.py: handling 'rich text' notes
	* src/GrampsDbUtils/_WriteXML.py: handling 'rich text' notes
	* src/Merge/_MergeSource.py: handling 'rich text' notes
	* src/Merge/_MergePlace.py: handling 'rich text' notes
	* src/Merge/_MergePerson.py: handling 'rich text' notes
	* src/ReportBase/_ReportUtils.py: handling 'rich text' notes
	* src/ViewManager.py: cleanup



svn: r8081
2007-02-10 23:40:48 +00:00
Don Allingham
77ae228939 svn: r8064 2007-02-07 02:31:46 +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
Alex Roitman
37b246608a 2007-01-24 Alex Roitman <shura@gramps-project.org>
* src/RelLib/_Event.py (Event): Change inheritance order.
	* src/RelLib/_Family.py (Family): Change inheritance order.
	* src/RelLib/_MediaObject.py (MediaObject): Change inheritance order.
	* src/RelLib/_Place.py (Place): Change inheritance order.
	* src/RelLib/_Repository.py (Repository): Change inheritance order.
	* src/RelLib/_Person.py (Person): Change inheritance order.
	* src/RelLib/_Source.py (Source): Change inheritance order.
	(_has_handle_reference, _remove_handle_references,
	_replace_handle_reference): Add methods to report correct
	repository references.
	* src/DisplayTabs/_BackRefModel.py (__init__): Remove extra statement.



svn: r7979
2007-01-25 05:26:22 +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
Zsolt Foldvari
e8038567e1 2007-01-13 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/DisplayTabs/_NoteTab.py: beginning of formatted tabs



svn: r7897
2007-01-13 21:49: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
Don Allingham
0e5ac2fb42 svn: r7845 2006-12-24 22:08:43 +00:00
Don Allingham
e21731926f 2006-12-23 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/_EventRefModel.py: properly sort events by date (bug #508)
	* src/DisplayTabs/_EventEmbedList.py: properly sort events by date (bug #508)

	loss of data (bug #777)
	loss of data (bug #777)
	loss of data (bug #777)
	loss of data (bug #777)


svn: r7843
2006-12-24 05:51:31 +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
d1f3305a32 2006-12-06 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/EventEmbedList.py: fix typo



svn: r7767
2006-12-07 05:13:08 +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
80ff4e8848 svn: r7610 2006-11-11 05:22:32 +00:00
Martin Hawlisch
ed5c45d64e * src/DisplayTabs/_PersonRefEmbedList.py,
* src/DdTargets.py,
* src/ScratchPad.py: Fix support of PersonRef DnD



svn: r7608
2006-11-10 23:28:40 +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
559882d64f svn: r7368 2006-10-08 04:17:04 +00:00
Don Allingham
ef0c2b6bd3 2006-10-04 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/_EventEmbedList.py: catch attempt to multiply
	edit an event through events and event references

2006-10-03  Don Allingham  <don@gramps-project.org>
	* src/Editors/_EditFamily.py: don't try to change families if the
	parents don't exist



svn: r7353
2006-10-05 04:33:09 +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
0b6095fdc8 2006-09-10 Don Allingham <don@gramps-project.org>
* src/DisplayTabls/_PersonEmbedList.py: enable dnd with people for
	associations



svn: r7308
2006-09-11 01:55:57 +00:00
Don Allingham
5e1bfce004 * src/DisplayTabs/_EventEmbedList.py: bring up the event reference
editor on drag-n-drop onto the event reference list


svn: r7307
2006-09-09 22:46:14 +00:00
Don Allingham
25f7f7b792 2006-09-04 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: don't delete tabs
	* src/DisplayTabs/_NoteTab.py: allow tabs to be entered



svn: r7302
2006-09-04 17:18:30 +00:00
Don Allingham
27a0993f03 2006-09-02 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/_EventEmbedList.py: Don't override event type on
	a drag-n-drop (bug #420)
	* po/POTFILES.in: remove non-shipping modules

        * src/plugins/Calendar.py: fix filter typo
        * src/plugins/WritePkg.py: don't set uid on Windows


svn: r7300
2006-09-02 23:31:30 +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
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
Don Allingham
0695d2a5f3 2006-08-14 Don Allingham <don@gramps-project.org>
* src/DispalyTabs/_NoteTab.py: don't add text window using viewport (#344)
	* src/DispalyTabs/_TextTab.py: don't add text window using viewport (#344)



svn: r7175
2006-08-14 13:13:45 +00:00
Don Allingham
2d0da934cf 2006-08-13 Don Allingham <don@gramps-project.org>
* src/DataViews/_MediaView.py: fix drag-n-drop
	* src/DisplayTabs/_GalleryTab.py: handle media obj and media ref 
	for drag-n-drop
	* src/DdTargets.py: add media ref type



svn: r7169
2006-08-14 01:50:47 +00:00
Don Allingham
2368211ba1 2006-08-10 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/_EmbeddedList.py: use cPickle instead of pickle
	* src/DisplayTabs/_GalleryTab.py: add dnd functionality
	* src/DdTargets.py: add URI_LIST and APP_ROOT



svn: r7151
2006-08-11 03:22:38 +00:00
Alex Roitman
76be2957b4 2006-08-03 Alex Roitman <shura@gramps-project.org>
* src/DisplayTabs/_BackRefList.py (find_node): Use class name.
	* src/DisplayTabs/_BackRefModel.py (__init__, load_model): Add new
	column to keep both class name and translation.



svn: r7113
2006-08-03 13:28:40 +00:00
Alex Roitman
648d0b4a52 * src/DisplayTabs/_BackRefModel.py (BackRefModel.load_model):
Translate displayed object type.


svn: r7067
2006-07-24 18:30:42 +00:00
Alex Roitman
4c828cc0d0 * src/DisplayTabs/_GalleryTab.py (GalleryTab.build_interface):
Allow working with pygtk older than 2.8.


svn: r7035
2006-07-16 15:33: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
Don Allingham
e593f5fd33 * various: pyflakes fixes
svn: r6982
2006-07-03 04:25:33 +00:00
Don Allingham
9d57da77ee * src/DisplayTabs/_SourceEmbedList.py: check for empty reference
before attempting to edit


svn: r6979
2006-07-02 03:46:19 +00:00
Alex Roitman
1d830a0e43 2006-06-21 Zsolt Foldvari <zsolt.foldvari@nokia.com>
* src/DisplayTabs/_GalleryTab.py (GalleryTab.build_interface):
	Properly add icon list.
	* src/Selectors/_BaseSelector.py (BaseSelector.add_columns): Allow
	resize-able columns.



svn: r6942
2006-06-21 19:58:49 +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
54eab375a6 2006-06-19 Don Allingham <don@gramps-project.org>
* src/ViewManger.py: try tabs on the side
	* src/DisplayTabs/_PersonRefEmbedList.py: change Relationships to
	Associations
	* src/help/C/*: updates



svn: r6919
2006-06-19 21:06:29 +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
Don Allingham
97cec77029 (BackRefList.create_buttons): set tooltips
svn: r6854
2006-06-04 02:59:08 +00:00
Don Allingham
ecab6c97a8 * src/DisplayTabs/_BackRefList.py (BackRefList.right_click):
override right click, because Remove and Add have no relevence


svn: r6853
2006-06-04 02:44:41 +00:00
Don Allingham
6a52f53e2a * src/DisplayTabs/_NoteTab.py (NoteTab.flow_changed): save flow status
in Note


svn: r6787
2006-05-26 04:09:36 +00:00
Don Allingham
5017c4a1e7 2006-05-24 Don Allingham <don@gramps-project.org>
* src/images/stock_notes.png: added
	* src/images/Makefile.am: add stock_notes.png
	* src/gramps_main.py: register stock_notes as gramps_notes
	* src/DisplayTabs.py: use gramps_notes instead of stock_notes



svn: r6771
2006-05-25 00:23:22 +00:00