Commit Graph

283 Commits

Author SHA1 Message Date
Martin Hawlisch
97bbe13b6e * src/DataViews/_RelationView.py: removed change_page(): Do not set the toolbar buttons to a possibly wrong state, these are set by _change_person properly.
svn: r7859
2006-12-30 21:47:19 +00:00
Don Allingham
fbd5225f04 2006-12-30 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py:  Add edit button to view, shorten names of 
	buttons
	* src/GrampsDb/_GrampsGEDDB.py: properly handle bookmark list



svn: r7858
2006-12-30 17:49:08 +00:00
Don Allingham
f2a4002d5e * src/DataViews/_PersonView.py: use a container for bookmarks to prevent
lost of data (bug #777)
	* src/GrampsDb/_GrampsDbBase.py: use a container for bookmarks to prevent
	lost of data (bug #777)
	* src/GrampsDb/_GrampsBSDDB.py: use a container for bookmarks to prevent
	lost of data (bug #777)
	* src/Bookmarks.py: use a container for bookmarks to prevent
	lost of data (bug #777)


svn: r7830
2006-12-21 03:28:44 +00:00
Alex Roitman
8dd862fc93 * src/DataViews/_PersonView.py (person_removed): Typo.
svn: r7824
2006-12-19 18:03:34 +00:00
Don Allingham
e0c8c1379b * src/DataViews/_PersonView.py: exact search for gender (bug #633)
* src/DisplayModels/_PeopleModel.py: exact search for gender (bug #633)
	* src/Filters/_SearchFilter.py: exact search for gender (bug #633)
	* src/Filters/__init__.py: export ExactSearchFilter


svn: r7817
2006-12-19 04:47:07 +00:00
Don Allingham
4a67435c92 * src/DataViews/_EventView.py: disable items with readonly db (bug #771)
* src/DataViews/_PersonView.py: disable items with readonly db (bug #771)
	* src/DataViews/_RelationView.py: disable items with readonly db (bug #771)
	* src/ViewManager.py: disable items with readonly db (bug #771)
	* src/PageView.py: disable items with readonly db (bug #771)


svn: r7816
2006-12-19 02:29:47 +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
Martin Hawlisch
a8f4ed6b20 * src/DataViews/_PedigreeView.py: Escape XML special chars
svn: r7790
2006-12-12 12:57:21 +00:00
Martin Hawlisch
964c65b895 * src/DataViews/_RelationView.py: Escape XML special chars
svn: r7789
2006-12-12 12:05:19 +00:00
Martin Hawlisch
ea86f9870b * src/DataViews/_RelationView.py: Escape XML special chars
* src/DataViews/_PedigreeView.py: Escape XML special chars
* src/plugins/TestcaseGenerator.py: Create media note object; Randomize URL



svn: r7787
2006-12-12 11:49:57 +00:00
Martin Hawlisch
26d7732cf6 * src/DataViews/_RelationView.py (change_person): Break endless loop by passing the return values from _change_person.
svn: r7779
2006-12-11 13:45:01 +00:00
Don Allingham
fa8085031b 2006-12-10 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: RunDatabaseRepair integration
	* src/GrampsDb/_WriteGedcom.py: RunDatabaseRepair integration
	* src/QuestionDialog.py: RunDatabaseRepair dialog to warn users to run
	database checks



svn: r7777
2006-12-11 04:10:46 +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
Zsolt Foldvari
75526dbc76 2006-12-07 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/DataViews/_PlaceView.py (google): Use city, country of main
	location in google query.



svn: r7766
2006-12-06 23:31:54 +00:00
Alex Roitman
5bf3d98930 In .:
2006-12-06  Alex Roitman  <shura@gramps-project.org>
	* src/Makefile.am (gdir_PYTHON): Ship new file.

2006-12-06  Benny Malengier  <bm@cage.UGent.be>
	* src/PlaceUtils.py: Add new file.
	* src/DataViews/_PlaceView.py (google): Use new module.

In po:
2006-12-06  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: List new file.



svn: r7765
2006-12-06 17:52:48 +00:00
Don Allingham
0f20ae03d2 * src/DataViews/_RelationView.py: fix reorder spouse sensitivity
svn: r7760
2006-12-04 23:53:19 +00:00
Don Allingham
01ebb7e67a 2006-12-03 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: improve tooltips
	* src/GrampsWidgets.py: tooltip support



svn: r7756
2006-12-04 05:03:58 +00:00
Don Allingham
a2fd59a7fd 2006-12-02 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: disable buttons when person is inactive
	* src/plugins/Check.py: remove duplicate children in a family



svn: r7752
2006-12-03 05:20:15 +00:00
Martin Hawlisch
2c4d5d0750 * src/DataViews/_RelationView.py: Show buttons for reorder and add parents in case the toolbar is not visible.
svn: r7742
2006-12-01 16:17:26 +00:00
Martin Hawlisch
34c52b7192 * src/DataViews/_RelationView.py (write_title): Always write Label for birth and death.
svn: r7733
2006-11-29 19:40:43 +00:00
Don Allingham
bc856d0989 2006-11-22 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: remove unused button
	* help/C/figures/family.png: updated
	* help/C/figures/reorder.png: new image
	* help/C/gramps.xml: updates



svn: r7670
2006-11-23 05:01:18 +00:00
Martin Hawlisch
19c431c6dd * src/ReportBase/_ReportUtils: Factor out common code into get_birth_or_fallback() and get_death_or_fallback()
* src/DataViews/_PedigreeView.py: Use get_birth/death_or_fallback()
* src/DataViews/_RelationView.py: Use get_birth/death_or_fallback()
* src/DisplayModels/_PeopleModel.py: Fix EventRoleType call



svn: r7669
2006-11-22 22:30:47 +00:00
Don Allingham
58da9fb6ef 2006-11-18 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationshipView.py: fix messages
	* help/C/gramps.xml: improvements in text
	* various: remove unused figures



svn: r7646
2006-11-19 02:00:18 +00:00
Don Allingham
8058b51624 2006-11-16 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: share parents button
	* src/images/share-fam.png: share parents button
	* src/gramps_main.py: share parents button



svn: r7638
2006-11-17 05:17:13 +00:00
Martin Hawlisch
592310d256 * src/Filters/Rules/Person/_HasBirth.py,
* src/Filters/Rules/Person/_HasDeath.py,
* src/Filters/Rules/Person/_HasEvent.py: Only match filter if event role = primary

* src/RelLib/_Person.py (_remove_handle_references): Correct removing of person handle reference; (get_sourcref_child_list) Add self.person_ref_list because they link to persons and sources

* src/DataViews/_PersonView.py (delete_person_response): Remove person from other persons as well because of PersonRef.


svn: r7607
2006-11-10 21:27:08 +00:00
Martin Hawlisch
3bff15e1a8 * src/DataViews/_PedigreeView.py,
* src/DataViews/_RelationView.py,
* src/DisplayModels/_PeopleModel.py: Only show fallbacks for birth and death if role=primary



svn: r7605
2006-11-10 16:23:11 +00:00
Martin Hawlisch
bad12c819d * src/DataViews/_RelationView.py (info_string): Use DateHandler instead of the date object to display the date
* src/DataViews/_PedigreeView.py (format person:  Use DateHandler instead of the date object to display the date (closes #565)



svn: r7598
2006-11-09 13:04:21 +00:00
Don Allingham
5e726de052 button config value change, freeze person info
svn: r7591
2006-11-09 05:52:49 +00:00
Don Allingham
27e1475f55 * src/DataViews/_RelationView.py: add toolbar buttons, catch edit
button config value change
	* src/GrampsCfg.py: reorder options


svn: r7588
2006-11-09 04:55:51 +00:00
Don Allingham
76640d9433 2006-11-08 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: add toolbar buttons
	* src/images/Makefile.am: install new svg files
	* src/images/parents.svg: button for toolbar
	* src/images/spouse.svg: button for toolbar
	* src/gramps_main.py: register new stock icons



svn: r7587
2006-11-09 04:18:18 +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
8b3c4359ef 2006-11-07 Alex Roitman <shura@gramps-project.org>
* src/DataViews/_RelationView.py (info_string): Add missing clause.



svn: r7579
2006-11-07 20:48:15 +00:00
Martin Hawlisch
749b488b7f Provide birth/death fallback at other places too.
svn: r7577
2006-11-07 13:55:32 +00:00
Martin Hawlisch
1afec2395d Properly retrieve place
svn: r7576
2006-11-07 12:26:21 +00:00
Martin Hawlisch
b64f5a1332 * src/DisplayModels/_PeopleModel.py: Make fallbacks for birth and death work again.
* src/DataViews/_RelationView.py (write_title): Display fallbacks in case birth or death is not available
* src/DataViews/_PedigreeView.py: Display fallbacks in case birth or death is not available



svn: r7575
2006-11-07 12:05:40 +00:00
Don Allingham
dafa578420 * src/DataViews/_MediaView.py: cancel drag-n-drop if list is empty
* src/PageView.py: cancel drag-n-drop if list is empty


svn: r7571
2006-11-07 01:29:15 +00:00
Don Allingham
a4343f0de8 * src/DataViews/_PersonView.py: provide a default surname for and Add
Person button press based of selected item in the Person View tree.
	* help/C/various: remove unused files from manual


svn: r7557
2006-11-06 00:41:13 +00:00
Don Allingham
39c4bf74d3 2006-11-05 Don Allingham <don@gramps-project.org>
* src/DataViews/_PlaceView.py: drag-n-drop support
	* src/GrampsWidgets.py: drag-n-drop support for place selector widget
	* src/ScratchPad.py: drag-n-drop support for places
	* src/DdTargets.py: drag-n-drop support for places



svn: r7555
2006-11-05 23:11:02 +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
34e8744b6a 2006-11-02 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: fix spacing
	* src/ScratchPad.py: handle deleting of a person properly



svn: r7541
2006-11-03 04:12:12 +00:00
Don Allingham
09ab96a8fa svn: r7532 2006-10-31 23:29:14 +00:00
Don Allingham
8edddcff23 * src/DataViews/_RelationView.py: add right context menu
svn: r7531
2006-10-31 23:03:58 +00:00
Don Allingham
c66bb89f04 * src/DataViews/_PersonView.py: fix typo
svn: r7529
2006-10-31 20:16:08 +00:00
Don Allingham
42da6cd40d * src/Reorder.py: Allow for reordering of relationships, enhance
buttons


svn: r7527
2006-10-31 19:44:45 +00:00
Don Allingham
9ce6369d09 2006-10-31 Don Allingham <don@gramps-project.org>
* src/Reorder.py: Allow for reordering of relationships
	* src/DataViews/_RelationView.py: add reorder support
	* src/glade/gramps.glade: reorder dialog
	* src/Makefile.am: install Reorder.py



svn: r7525
2006-10-31 17:36:38 +00:00
Don Allingham
b72b0aa36e debug
svn: r7519
2006-10-30 18:09:42 +00:00
Don Allingham
07b8a33a9f debug
svn: r7517
2006-10-30 17:04:14 +00:00
Don Allingham
e5b1c14e70 debug
svn: r7516
2006-10-30 16:45:38 +00:00
Don Allingham
c0956fc456 debug
svn: r7515
2006-10-30 16:45:13 +00:00
Don Allingham
03bb9bc8d7 2006-10-22 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py:  remove dead code
	* src/GrampsDb/_ReadGedcom.py: handle Legacy _PREF
	* src/DisplayModels/_PeopleModel.py: speed improvement on name



svn: r7424
2006-10-23 02:24:03 +00:00
Alex Roitman
fb8dae4515 2006-10-20 Benny Malengier <bm@cage.UGent.be>
* src/DataViews/_PlaceView.py: Fix lattitude/longitude typo.
	* src/glade/gramps.glade: Swap the order of latt/long in UI.



svn: r7420
2006-10-21 03:56:13 +00:00
Alex Roitman
d2403dcc1f * src/DataViews/_PersonView.py (set_inactive): Check active status.
svn: r7357
2006-10-06 03:32:35 +00:00
Don Allingham
db9e5de2fc 2006-09-28 Don Allingham <don@gramps-project.org>
* src/DataViews/_PlaceView.py: add street column (bug #459)
	* src/DisplayModels/_PlaceModel.py: add street column
	* src/GrampsDb/_GrampsDbBase.py: add street column



svn: r7335
2006-09-29 04:13:10 +00:00
Don Allingham
43fc029947 2006-09-12 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: provide a waring if a broken
	family is detected
	* src/plugins/Check.py: Don't remove families with no parents 
	unless no children exist



svn: r7321
2006-09-13 02:57:45 +00:00
Alex Roitman
bcc9235ac8 * src/DataViews/_FamilyList.py: Add column editor.
svn: r7254
2006-08-24 20:11:23 +00:00
Alex Roitman
187ed06537 * src/DataViews/_PersonView.py (person_removed): Properly create
and pass the filter when searchbar is enabled (not sidebar).


svn: r7251
2006-08-24 04:38:06 +00:00
Alex Roitman
e5fb9ee657 * src/DataViews/_PedigreeView.py (PedigreeView.goto_active_person):
Update status bar on person change.
	* src/DataViews/_RelationView.py (RelationshipView.change_person):
	Update status bar on person change.


svn: r7247
2006-08-23 18:55:06 +00:00
Alex Roitman
5c666600e8 * src/Filters/Rules/MediaObject: Added to replace Media.
* src/Filters/Rules/Media: Removed.
	* src/DataViews/_MediaView.py (filter_editor): Change Media to
	MediaObject.
	* src/Filters/_GenericFilter.py: Change Media to MediaObject.
	* src/DataViews/_PersonView.py (build_widget): Pass uistate
	to filter class.
	* src/PageView.py (ListView.build_filter_container): Pass uistate
	to filter class.
	* src/DisplayState.py (DisplayState.__signals__): Register
	'filters-changed' signal.
	* src/FilterEditor/_ShowResults.py: Change Media to MediaObject.
	* src/FilterEditor/_EditRule.py: Change Media to MediaObject.
	* src/FilterEditor/_FilterEditor.py (close): Emit 'filters-changed'.
	* src/Filters/SideBar/*py: Take uistate and connect to the
	'filters-changed' signal.


svn: r7233
2006-08-22 16:49:21 +00:00
Alex Roitman
b64e1f0eb2 * src/DataViews/_PersonView.py (column_names): Remove cause of death.
* src/DisplayModels/_PeopleModel.py (__init__): Update the order
	of marker and tooltip columns;
	(column_cause_of_death): remove method;
	(COLUMN_DEFS): Remove 'cause of death' column.
	* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_10): Reset event
	and person view columns to the default.
	* src/GrampsDb/_GrampsDbBase.py (get_event_column_order): Remove
	cause column from the default list.
	(get_person_column_order): Remove cause of death column.



svn: r7224
2006-08-21 06:32:31 +00:00
Alex Roitman
6194c06a39 2006-08-20 Alex Roitman <shura@gramps-project.org>
* src/DataViews/_EventView.py (column_names): Remove cause column.
	* src/DisplayModels/_EventModel.py: Use constants for column
	numbers; remove cause column.	



svn: r7218
2006-08-21 02:10:55 +00:00
Don Allingham
cd6ab43fc0 2006-08-17 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: apply filter to calcuated data before
	deleting a person from the list



svn: r7199
2006-08-18 04:43:03 +00:00
Don Allingham
20abe966d3 2006-08-17 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: rebuild after compare and
	merge (bug #350)



svn: r7193
2006-08-17 21:48:12 +00:00
Don Allingham
0ee2868fd1 2006-08-16 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: rebuild display after a merge of
	two people (bug #348)



svn: r7190
2006-08-17 03:35:44 +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
Alex Roitman
324afffe12 2006-08-12 Alex Roitman <shura@gramps-project.org>
* src/DataViews/_MediaView.py (drag_data_received): Stop emission.



svn: r7160
2006-08-12 18:19:25 +00:00
Don Allingham
b4a6202a31 * src/DataViews/_MediaView.py: slightly improve dnd
* src/DisplayModels/_BaseModel.py: handle sort column map
	* src/DisplayModels/_MediaModel.py: handle sort column map
	* src/DisplayModels/_RepositoryModel.py: handle sort column map
	* src/DisplayModels/_SourceModel.py: handle sort column map
	* src/DisplayModels/_EventModel.py: handle sort column map
	* src/DisplayModels/_FamilyModel.py: handle sort column map
	* src/DisplayModels/_PlaceModel.py: handle sort column map
	* src/PageView.py: handle sort column map
	


svn: r7153
2006-08-11 22:14:18 +00:00
Alex Roitman
b19d9eaecb In .:
* src/DataViews/_PlaceView.py: Add filter sidebar.
	* src/FilterEditor/_ShowResults.py: Support media filters.
	* src/FilterEditor/_EditRule.py: Support media filters.
	* src/FilterEditor/_FilterEditor.py: Support media filters.
	* src/Filters/_GenericFilter.py: Support media filters.
	* src/Filters/SideBar/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/Filters/SideBar/__init__.py: Expose new module.
	* src/Filters/SideBar/_MediaSidebarFilter.py: Add module.
	* src/Filters/Rules/Media/Makefile.am (pkgdata_PYTHON): Ship new files.
	* src/Filters/Rules/Media/_HasIdOf.py: Add module.
	* src/Filters/Rules/Media/_HasNoteMatchingSubstringOf.py: Add module.
	* src/Filters/Rules/Media/_HasNoteRegexp.py: Add module.
	* src/Filters/Rules/Media/_MatchesFilter.py: Add module.
	* src/Filters/Rules/Media/_RegExpIdOf.py: Add module.
	* src/Filters/Rules/Media/_MediaPrivate.py: Add module.
	* src/Filters/Rules/Media/__init__.py: Expose new modules.
	* src/Filters/Rules/Media/_AllMedia.py: Add module.
	* src/Filters/Rules/Media/_HasMedia.py: Add module.

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



svn: r7147
2006-08-10 00:42:44 +00:00
Alex Roitman
b1522eab91 In .:
2006-08-07  Alex Roitman  <shura@gramps-project.org>
	* src/DataViews/_RepositoryView.py: Add filter sidebar.
	* src/FilterEditor/_ShowResults.py: Support repo filters.
	* src/FilterEditor/_EditRule.py: Support repo filters.
	* src/FilterEditor/_FilterEditor.py: Support repo filters.
	* src/Filters/_GenericFilter.py: Support repo filters.
	* src/Filters/SideBar/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/Filters/SideBar/__init__.py: Expose new module.
	* src/Filters/SideBar/_RepoSidebarFilter.py: Add module.
	* src/Filters/Rules/Repository/Makefile.am (pkgdata_PYTHON): Ship
	new files.
	* src/Filters/Rules/Repository/__init__.py: Expose new modules.
	* src/Filters/Rules/Repository/_HasRepo.py: Add module.
	* src/Filters/Rules/Repository/_RepoPrivate.py: Add module.
	* src/Filters/Rules/Repository/_RegExpIdOf.py: Add module.
	* src/Filters/Rules/Repository/_MatchesFilter.py: Add module.
	* src/Filters/Rules/Repository/_HasNoteRegexp.py: Add module.
	* src/Filters/Rules/Repository/_HasNoteMatchingSubstringOf.py: Add
	module.
	* src/Filters/Rules/Repository/_HasIdOf.py: Add module.
	* src/Filters/Rules/Repository/_AllRepos.py: Add module.

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



svn: r7144
2006-08-07 20:16:00 +00:00
Alex Roitman
7c742ec66a In .:
* src/DataViews/_PlaceView.py: Add sidebar filter.
	* src/FilterEditor/_EditRule.py: Support place filters.
	* src/FilterEditor/_FilterEditor.py: Support place filters.
	* src/FilterEditor/_ShowResults.py: Support place filters.
	* src/Filters/_GenericFilter.py: Support place filters.
	* src/Filters/SideBar/__init__.py: Expose new module.
	* src/Filters/SideBar/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/Filters/SideBar/_PlaceSidebarFilter.py: Add module.
	* src/Filters/Rules/Place/Makefile.am (pkgdata_PYTHON): Ship new files.
	* src/Filters/Rules/Place/_AllPlaces.py: Add module.
	* src/Filters/Rules/Place/_HasIdOf.py: Add module.
	* src/Filters/Rules/Place/_HasNoteMatchingSubstringOf.py: Add module.
	* src/Filters/Rules/Place/_HasNoteRegexp.py: Add module.
	* src/Filters/Rules/Place/_MatchesFilter.py: Add module.
	* src/Filters/Rules/Place/_RegExpIdOf.py: Add module.
	* src/Filters/Rules/Place/_PlacePrivate.py: Add module.
	* src/Filters/Rules/Place/_HasPlace.py: Add module.
	* src/Filters/Rules/Place/__init__.py (editor_rule_list): Expose
	new module.
	
In po:
2006-08-06  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r7142
2006-08-07 02:49:12 +00:00
Alex Roitman
a2237d7da5 * src/Filters/_GenericFilter.py: Support Source filters.
* src/Filters/SideBar/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/Filters/Rules/Source/Makefile.am: Ship new files.
	* src/FilterEditor/_EditRule.py: Support Source filters.
	* src/FilterEditor/_FilterEditor.py: Support Source filters.
	* src/FilterEditor/_ShowResults.py: Support Source filters.
	* src/Filters/Rules/Source/__init__.py: Expose new modules.
	* src/Filters/SideBar/_SourceSidebarFilter.py: Add module.
	* src/Filters/SideBar/__init__.py: Expose new module.
	* src/Filters/Rules/_Rule.py (Rule.match_substring): Add
	convenience method for simple substring search.
	* src/Filters/Rules/Source/_RegExpIdOf.py: Add module.
	* src/Filters/Rules/Source/_MatchesFilter.py: Add module.
	* src/Filters/Rules/Source/_HasNoteRegexp.py: Add module.
	* src/Filters/Rules/Source/_HasNoteMatchingSubstringOf.py: Add module.
	* src/Filters/Rules/Source/_HasIdOf.py: Add module.
	* src/Filters/Rules/Source/_SourcePrivate.py: Add module.
	* src/Filters/Rules/Source/_AllSources.py: Add module.



	


svn: r7138
2006-08-06 06:26:10 +00:00
Alex Roitman
c47d910fb1 * src/Filters/SideBar: Add new module.
svn: r7131
2006-08-05 04:41:56 +00:00
Alex Roitman
e7dc7a9125 * src/DataViews/_EventView.py: Add sidebar filter.
* src/FilterEditor/_FilterEditor.py: Support event filters.
	* src/Filters/__init__.py: expose new module.
	* src/Filters/_PersonSidebarFilter.py: Fix type handling.
	* src/Filters/_FamilySidebarFilter.py: Fix type handling.
	* src/Filters/_GenericFilter.py: Support event filters.
	* src/Filters/_EventSidebarFilter.py: add new module.
	* src/Filters/Rules/Events/*.py: add new rules.
	* src/Filters/Rules/Family/_HasRelType.py (apply): Use new API.


svn: r7127
2006-08-05 04:05:05 +00:00
Alex Roitman
49d002f75c In .:
2006-08-04  Alex Roitman  <shura@gramps-project.org>
	* src/DataViews/_MediaView.py (row_change): Work around older pygtk.
	* src/Filters/Rules/Family/Makefile.am (pkgdata_PYTHON): Ship new
	files. 
	* src/Filters/Rules/Makefile.am (pkgdata_PYTHON): Ship new file.

In po:
2006-08-04  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Unlist plugins that are not shipped.



svn: r7120
2006-08-04 19:36:18 +00:00
Zsolt Foldvari
bbdb648dec 2006-08-04 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/DataViews/_PersonView.py (__init__): connection to "active-
	person-changed" signal moved to set_active()
	(set_active, set_inactive): Reconnect to/disconnect from dbstate's
	"active-person-changed" signal.
	* src/DataViews/_RelationView.py (__init__): connection to "active-
	person-changed" signal moved to set_active()
	(set_active, set_inactive): Reconnect to/disconnect from dbstate's
	"active-person-changed" signal.



svn: r7119
2006-08-04 13:51:44 +00:00
Zsolt Foldvari
5af5a2a3c2 2006-08-03 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/plugins/Check.py (cleanup_deleted_name_formats): Change hardcoded
	values with constants.
	* src/GrampsCfg.py: Unused constants cleanup.
	* src/DataViews/_PedigreeView.py (__init__): connection to "active-
	person-changed" signal moved to set_active()
	(set_active, set_inactive): Improve performance of other views.
	* src/NameDisplay.py (name_grouping_data): Change hardcoded values
	with constants.



svn: r7114
2006-08-03 14:26:43 +00:00
Don Allingham
e59d065ada 2006-08-01 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: use grouping name
	* src/NameDisplay.py: Add grouping from data instead of just Name
	instance, handle Name.DEF
	* src/DisplayModels/_PeopleModel.py: use grouping name



svn: r7110
2006-08-01 23:50:47 +00:00
Alex Roitman
230d3b7d69 In .:
2006-07-31  Alex Roitman  <shura@gramps-project.org>
	* src/Filters/_SearchBar.py (SearchBar.__init__): Take dbstate as
	a constructor argument; (SearchBar.apply_filter): pass dbstate.
	* src/PageView.py (BookMarkView.add_bookmark,
	PersonNavView.jumpto, PersonNavView.fwd_clicked,
	PersonNavView.back_clicked, ListView.build_widget): Pass dbstate.
	* src/Navigation.py (BaseNavigation.__init__,
	PersonNavigation.__init__): Take dbstate as a constructor argument;
	(PersonNavigation.build_item_name): properly access dbstate.
	* src/DisplayState.py (__init__): Do not take dbstate as a
	constructor argument; Do not connect dbstate signal here (moved to
	ViewManager);
	(display_relationship,push_message,modify_statusbar): Make dbstate
	an argument.
	* src/plugins/Checkpoint.py (run_tool): Pass dbstate.
	* src/ViewManager.py (_build_main_window): Do not pass dbstate to
	uistate DisplayState constructor; connect dbstate signal handler;
	pass dbstate to Navigation; (keypress): Pass dbstate;
	(statusbar_key_update): Pass dbstate;
	(do_load_plugins): Pass dbstate;
	(ViewManager.add_bookmark): Pass dbstate.
	* src/DataViews/_RelationView.py (shade_update): Pass dbstate.
	* src/DataViews/_PersonView.py (build_widget,_goto,
	key_goto_home_person, key_edit_selected_person): Pass dbstate.
	* src/Filters/Makefile.am (pkgdata_PYTHON): Remove obsolete file.
	* src/Filters/__init__.py: Remove importing obsolete module.
	* src/Filters/_FilterWidget.py: Remove obsolete module.

In po:
2006-07-31  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Remove obsolete file.



svn: r7104
2006-08-01 04:31:10 +00:00
Don Allingham
495b769141 2006-07-30 Don Allingham <don@gramps-project.org>
* src/DataViews/_PlaceView.py: add tooltip for map button



svn: r7097
2006-07-31 00:23:22 +00:00
Alex Roitman
5569f78767 * src/PageView.py (PersonNavView.filter_editor): Catch exception.
* src/DataViews/_FamilyList.py (FamilyListView.filter_editor):
	Catch exception.
	* src/plugins/EventCmp.py (EventComparison.filter_editor_clicked):
	Catch exception.


svn: r7091
2006-07-30 03:34:10 +00:00
Don Allingham
bf1d752f01 2006-07-21 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: provide number for children/siblings
	* src/GrampsWidgets.py: fix spacing on link box



svn: r7054
2006-07-22 04:12:09 +00:00
Don Allingham
a1b1138569 2006-07-11 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyList.py: clean up
	* src/DataViews/_PedigreeView.py: clean up
	* src/DataViews/_MapView.py: clean up
	* src/ViewManager.py: better menu name



svn: r7017
2006-07-11 20:56:59 +00:00
Don Allingham
8236179ce3 * src/DataViews/_PersonView.py: catch config callback for sidebar
* src/ViewManager.py: catch config callback for sidebar
	* src/PageView.py: catch config callback for sidebar


svn: r7015
2006-07-10 21:46:46 +00:00
Don Allingham
e3edec3107 2006-07-10 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamlyList.py: add filter editor support
	* src/FilterEditor/_FilterEditor.py: add family support
	* src/FilterEditor/_EditRule.py: add family support
	* src/Filters/_FamilySidebarFilter.py: start of family support
	* src/Filters/Rules/Family/_HasRelType.py: start of family filters
	* src/Filters/Rules/Family/__init__.py: start of family filters



svn: r7014
2006-07-10 17:45:18 +00:00
Don Allingham
615716f0fb 2006-07-09 Don Allingham <don@gramps-project.org>
* configure.in: up the version number
	* src/DataViews/_FamilyList.py: add support for sidebar filter
	* src/DisplayModels/_BaseModel.py: handle generic model filtering
	* src/PageView.py: Add support for generic modeling
	* src/Filters/__init__.py: generic family rule support
	* src/Filters/_GenericFilter.py: generic family rule support
	* help/C/gramps-manual.xml: updates
	* help/Makefile.am: remove old files



svn: r7013
2006-07-10 03:34:19 +00:00
Don Allingham
a2aceb58b0 2006-07-04 Don Allingham <don@gramps-project.org>
* src/DataViews/_PlaceView.py (PlaceView.ui_definition): 
	add google maps to tool bar



svn: r6989
2006-07-04 17:57:09 +00:00
Don Allingham
724f41b4b8 * src/DataViews/_PlaceView.py: add attempt to map to google maps,
check for valid list


svn: r6985
2006-07-04 04:59:15 +00:00
Don Allingham
1ab9acf99f * src/DataViews/_PlaceView.py: add attempt to map to google maps
svn: r6984
2006-07-04 03:53:51 +00:00
Don Allingham
e593f5fd33 * various: pyflakes fixes
svn: r6982
2006-07-03 04:25:33 +00:00
Don Allingham
0114cd0bff 2006-07-02 Don Allingham <don@gramps-project.org>
* src/DataViews/_PedigreeView.py: add filter editor support
	* src/DataViews/_Relationship.py: add filter editor support
	* src/DataViews/_PersonView.py: move filter editor support to PageView
	* src/PageView.py: add filter editor support



svn: r6981
2006-07-03 02:28:44 +00:00
Don Allingham
7d56d70075 font problems by switching fonts if needed
svn: r6975
2006-06-30 14:22:49 +00:00
Don Allingham
4e0c9e816e svn: r6974 2006-06-30 14:16:09 +00:00
Don Allingham
a9919c995a 2006-06-28 Don Allingham <don@gramps-project.org>
* src/DataViews/_PedigreeView.py (PedigreeView.rebuild): use gtk.Arrow
	instead of unicode characters



svn: r6972
2006-06-28 18:46:35 +00:00
Don Allingham
dc01bb9e34 * src/DataViews/_PersonView.py: import QuestionDialog
svn: r6941
2006-06-21 19:46:27 +00:00
Don Allingham
7a94d8a920 * src/DataViews/_RelationView.py: fix sets
svn: r6938
2006-06-21 19:29:36 +00:00
Don Allingham
bba20d60c2 fails, recalculate data, fix initial display of sidebar
* src/ViewManager.py: handle post page creation initalization
	* src/PageView.py: handle post page creation initalization


svn: r6929
2006-06-21 02:43:19 +00:00
Don Allingham
ead9d7c761 * src/DataViews/_PersonView.py (PersonView.person_updated): if surname
fails, recalculate data


svn: r6928
2006-06-20 21:34:53 +00:00
Martin Hawlisch
03474fa6e5 * src/DataViews/_PedigreeView.py: Properly redraw if active person is set to None
svn: r6925
2006-06-20 12:51:14 +00:00
Martin Hawlisch
3b3a76a3f5 * src/DataViews/_PedigreeView.py: Support for family editing; Change line style for child relation "birth"
svn: r6924
2006-06-20 09:17:58 +00:00
Don Allingham
7c6b044711 * src/DataViews/_PersonView.py: handle unsetting of rows changing
the active person when the model is rebuilt.


svn: r6922
2006-06-20 04:25:44 +00:00
Don Allingham
e989a73aea * src/DataViews/_Relationship.py: handle person set to None
svn: r6920
2006-06-20 02:50:38 +00:00