Commit Graph

65 Commits

Author SHA1 Message Date
Doug Blank
0e82517d94 2007-11-25 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/Config/_GrampsGconfKeys.py: fixed changes in gconf interface



svn: r9401
2007-11-25 17:32:20 +00:00
Benny Malengier
28de76d2c0 * src/Config/_GrampsConfigKeys.py: key for gen search depth
* src/GrampsCfg.py: Gramps preferences allows to set search depth
			of relationship.
	* src/Relationship.py: methods to change generation depth of search
	* src/plugins/rel_fr.py: remove depth use
	* src/plugins/all_relations.py: use depth, correct remark print error
	* src/plugins/rel_pl.py: remove depth use
	* src/DisplayState.py: hook to change relclass depth from GrampsCfg
	See also issue #1290

2007-11-22 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9385
2007-11-22 16:13:10 +00:00
Martin Hawlisch
df3c42318b Remember Seting of the PedigreeView in the config
svn: r9351
2007-11-16 07:59:05 +00:00
Doug Blank
b444a96dbe * src/Utils.py: uses MAX_AGE_PROB_ALIVE, MAX_SIB_AGE_DIFF, MIN_GENERATION_YEARS, AVG_GENERATION_GAP from Config (Bug #1217)
* src/Config/_GrampsConfigKeys.py: added MAX_AGE_PROB_ALIVE, MAX_SIB_AGE_DIFF, MIN_GENERATION_YEARS, AVG_GENERATION_GAP

2007-10-13  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9177
2007-10-14 03:29:12 +00:00
Benny Malengier
f97b98c2cb * src/Config/_GrampsConfigKeys.py: add config keys for fuzzy date match
* src/RelLib/_CalSdn.py: correct type in comment
	* src/RelLib/_Date.py: add new match function to match two dates with 
	fuzzy date support (about 2000 matches about 2005).
	* src/Filters/Rules/_HasEventBase.py: use new match
	* src/Filters/Rules/MediaObject/_HasMedia.py: use new match
	* src/Filters/Rules/Person/_HasBirth.py: use new match
	* src/Filters/Rules/Person/_HasDeath.py: use new match
	* src/Filters/Rules/Person/_HasFamilyEvent.py: use new match
	* src/Filters/Rules/_RuleUtils.py: delete, contained old match date routines
	* src/Filters/Rules/Makefile.am: remove RuleUtils
	* po/POTFILES.in: remove RuleUtils
	Based on patch of Douglas S. Blank <dblank@cs.brynmawr.edu>, ticket #1219



svn: r8995
2007-09-20 19:59:46 +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
Don Allingham
173ae91f8a * src/Config/_GrampsIniKeys.py (get): handle "" case
svn: r8870
2007-08-26 04:18:19 +00:00
Don Allingham
342f60a78f 2007-08-25 Don Allingham <don@gramps-project.org>
* src/Config/_GrampsConfigKeys.py; Add EXPORT_NO_PRIVATE and
	EXPORT_RESTRICT
	* src/Config/_GrampsIniKeys.py: properly handle False values
	* src/ExportOptions.py: replace deprecated OptionMenu with ComboBox



svn: r8867
2007-08-25 15:34:13 +00:00
Benny Malengier
39eee89295 store last export type
svn: r8866
2007-08-25 14:31:14 +00:00
Don Allingham
c31914c057 2007-08-24 Don Allingham <don@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: added coment on how do add a new
	key



svn: r8859
2007-08-24 16:35:42 +00:00
Don Allingham
abf7019a63 2007-07-22 Don Allingham <don@gramps-project.org>
* configure.in: remove gconf requirement
	* src/Config/_GrampsConfigKeys.py: pylint
	* src/Config/__init__.py: drop gconf, provide upgrade to .ini
	* src/Config/_GrampsGconfKeys.py: pylint
	* src/Config/_GrampsIniKeys.py: pylint
	* src/plugins/ExtractCity.py: fix name
	* src/plugins/EventNames.py: fix name
	* src/Spell.py: pylint
	* data/Makefile.am: remove gconf schema installation



svn: r8755
2007-07-22 21:03:52 +00:00
Alex Roitman
524e21ceba 2007-06-20 Alex Roitman <shura@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: Correctly regenerate.



svn: r8615
2007-06-21 02:04:13 +00:00
Don Allingham
09d956ad4c fix default value
svn: r8587
2007-06-19 03:53:06 +00:00
Don Allingham
0f701351a6 update for database-path
svn: r8586
2007-06-19 03:43:32 +00:00
Don Allingham
9059ddedec 2007-06-16 Don Allingham <don@gramps-project.org>
* src/GrampsCfg.py: additional database path
	* src/Config/_GrampsConfigKeys.py: additional database path
	* src/DbManager.py: additional database path
	* src/GrampsDbUtils/Makefile.am: additional database path
	* src/Makefile.am: additional database path
	* data/gramps.schemas.in: additional database path



svn: r8563
2007-06-16 23:17:29 +00:00
Brian Matherly
79fd3aaf39 Remove file check from _GrampsIniKeys.py. It is not needed.
svn: r8372
2007-04-09 15:49:24 +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
Alex Roitman
9cdc858a36 * src/Config/Makefile.am (keys): Add "make keys" target to
regenerate the _rampsConfigKeys file.


svn: r8195
2007-02-20 20:49:44 +00:00
Alex Roitman
48d3cfdf0a * src/Config/_GrampsConfigKeys.py (RELEDITBTN): Regenerate the
file to add missing items.
	* data/gramps.schemas.in: Add missing key.


svn: r8194
2007-02-20 20:35:27 +00:00
Alex Roitman
961a543cda Merge multiple notes branch
svn: r8182
2007-02-20 00:39:10 +00:00
Zsolt Foldvari
63614a2740 2007-02-04 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsLocale: set svn:ignore propery
	* src/BasicUtils: set svn:ignore propery
	* src/GrampsDbUtils: set svn:ignore propery
	* src/RelLib/_Researcher.py: add missing get/set methods
	* src/GrampsDbUtils/_WriteGedcom.py: db owner handling, warn for missing
	* src/GrampsCfg.py: db owner handling, new warning pref
	* src/Config/_GrampsConfigKeys.py: db owner handling, new warning pref
	* data/gramps.schemas.in: db owner handling, new warning pref
	* src/plugins/OwnerEditor.py: db owner handling, plugin tool
	* src/plugins/ownereditor.glade: db owner handling, plugin tool



svn: r8051
2007-02-04 17:37:36 +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
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
b5ac0d52fc * src/Viewmanager.py: prompt before abandoning changes; enable autobackup
* src/GrampsCfg.py: enable autobackup
	* src/Config/_GrampsConfigKeys.py: enable autobackup
	* data/gramps.schemas: enable autobackup


svn: r7621
2006-11-13 04:50:38 +00:00
Don Allingham
5314c575b1 * src/Config/_GrampsConfigKeys.py: add saving of family editor size, disabling of
defaulting to last viwe
	* src/ViewManager.py: allow disabling of defaulting to last view
	* src/GrampsCfg.py: allow disabling of defaulting to last view
	* src/ViewManager.py: allow disabling of defaulting to last view
	* data/gramps.schemas.in: allow disabling of defaulting to last view
	


svn: r7617
2006-11-12 03:35:52 +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
8b7febbe35 * src/DataViews/_RelationshipView.py: Optionally hide Edit buttons
* src/Config/_GrampsConfigKeys.py: Optionally hide Edit buttons
	* src/GrampsWidgets.py: Allow empty button for LinkBox


svn: r7581
2006-11-08 05:15:26 +00:00
Alex Roitman
26e5af1fc2 2006-10-05 Alex Roitman <shura@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: Regenerate file (proper type
	for transactions key).



svn: r7355
2006-10-05 19:47:22 +00:00
Don Allingham
34e0362a8b * src/ViewManager.py: fix message
* src/Config/_GrampsConfigKeys.py: set default value
	* src/QuestionDialog.py: set value from config
	* data/gramps.schemas.in: fix default value


svn: r7331
2006-09-26 04:08:41 +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
6be19c2105 2006-08-26 Don Allingham <don@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: set toolbar-on to 1 if the gconf
	schemas were not installed properly



svn: r7269
2006-08-26 13:48:17 +00:00
Brian Matherly
6e20ff386d * src/Config/_GrampsIniKeys.py: Handle invalid default key
svn: r7259
2006-08-25 04:20:16 +00:00
Alex Roitman
cd50843624 2006-08-20 Alex Roitman <shura@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: Regenerate file.
	* src/GrampsCfg.py (add_behavior_panel): Use new key.
	* data/gramps.schemas.in: Add default-source key.



svn: r7222
2006-08-21 05:32:07 +00:00
Brian Matherly
3d3eda02a5 * src/Config/_GrampsIniKeys.py: Report error on invalid filename
* src/const.py.in: detect windows home directory before others

svn: r7216
2006-08-20 21:52:49 +00:00
Brian Matherly
3b7644a3f1 * src/Config/_GrampsIniKeys.py: Allow multiple functions to use notify_add
svn: r7145
2006-08-09 03:12:15 +00:00
Alex Roitman
0d24ddc403 2006-07-19 Zsolt Foldvari <zsolt.foldvari@nokia.com>
* src/GrampsCfg.py: UI improvements.
	* src/Config/_GrampsIniKeys.py: Proper key retrieval.



svn: r7045
2006-07-19 19:56:15 +00:00
Don Allingham
30bdb04b8c 2006-07-15 Don Allingham <don@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: remove unused USE_LDS key
	* data/gramps.schemas.in: remove unused USE_LDS key
	* src/StartupDialog.py: remove uused USE_LDS key



svn: r7030
2006-07-16 04:25:39 +00:00
Alex Roitman
30b8f1bce2 * data/gramps.schemas.in: Remove unused key.
* src/Config/_GrampsConfigKeys.py: Regenerate file.
* src/NameDisplay.py (NameDisplay._format_str_base): Document the
format string interface.

svn: r7003
2006-07-06 23:45:15 +00:00
Alex Roitman
824ee8968c 2006-06-24 Alex Roitman <shura@gramps-project.org>
* src/NameDisplay.py (_format_base): Add format string display;
	(_format_raw, _format): Add format string methods.
	* src/GrampsCfg.py (name_changed): Switch back to int key.
	* data/gramps.schemas.in: Add name-format-str key for custom name
	display format string.
	* src/Config/_GrampsConfigKeys.py: Re-generate the file.
	* src/Config/gen_schema_keys.py (copy): Add Id string; 
	Write header into the generated file.



svn: r6967
2006-06-25 05:39:32 +00:00
Alex Roitman
55884a56d3 * src/Config/_GrampsConfigKeys.py: Re-generate file.
* src/GrampsCfg.py: More name display prefs.


svn: r6896
2006-06-15 21:07:41 +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
4cb9bb81b2 2006-05-23 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: make shading optional
	* src/GrampsCfg.py: make shading optional
	* src/Config/_GrampsConfigKeys.py: make shading optional
	* data/gramps.schemas.in: make shading optional



svn: r6769
2006-05-24 04:49:05 +00:00
Don Allingham
fb6dbd905c * src/Config/_GrampsConfigKeys.py: online map config value
* data/gramps.schema.in: online map config value
	* src/Config/gen_schema_keys.py: clean up


svn: r6729
2006-05-20 01:59:47 +00:00
Don Allingham
ff07f8407f * src/DataViews/_MapView.py: use config value to determine if online
maps should be used
	* src/GrampsCfg.py: online map config value
	* src/Config/_GrampsCOnfigKeys.py: online map config value
	* daa/gramps.schema.in: online map config value


svn: r6728
2006-05-20 01:49:38 +00:00
Alex Roitman
969bc43555 * src/Config/_GrampsIniKeys.py (get_default): Add optional arg
indicating type.


svn: r6644
2006-05-13 05:54:07 +00:00
Alex Roitman
0ca3a01bd3 * src/Config/_GrampsGconfKeys.py (get_default): Allow other types.
* src/GrampsCfg.py (reset_colors): Emit color-set signal to
	trigget hex text updates.


svn: r6643
2006-05-13 05:53:47 +00:00
Don Allingham
1f96447335 * src/DataViews/_PersonView.py: add non-functioning (for now) clear
button
	* src/Config/_GrampsGconfKeys.py: get_default fix


svn: r6642
2006-05-13 05:36:55 +00:00
Don Allingham
9aa8094b00 2006-05-12 Don Allingham <don@gramps-project.org>
* src/GrampsCfg.py: add revert option for colors
	* src/Config/_GrampsGconfKeys.py: added get_default
	* src/Config/_GrampsIniKeys.py: added get_default



svn: r6641
2006-05-13 05:12:19 +00:00