Commit Graph

79 Commits

Author SHA1 Message Date
Don Allingham
0f1dd60323 2007-01-29 Benny Malengier <benny.malengier@ugent.be>
* src/DataViews/_PersonView.py: numlock handling
	* src/PageView.py: numlock handling
	* src/Filters/_SearchBar.py: numblock handling
	* src/Filters/SideBar/_SidebarFilter.py: numblock handling

	* src/DataViews/_PersonView.py: refactoring
	* src/DisplayModels/_PeopleModel.py: refactoring


svn: r8013
2007-01-30 04:35:13 +00:00
Don Allingham
f62fd63325 In .:
* src/DataViews/_PersonView.py: add enter to collapse row as well

2007-01-27  Benny Malengier  <benny.malengier@ugent.be>
	* src/DataViews/_PersonView.py: add enter to expand a tree row
	
2007-01-27  Don Allingham  <don@gramps-project.org>
	* src/PageView.py: add key accelerators
	* src/ViewManager.py: block interface on autobackup (#856), add key
	accelerators
In help:
2007-01-27  Don Allingham  <don@gramps-project.org>
	* C/gramps.xml: add more keybindings



svn: r7999
2007-01-28 04:38:56 +00:00
Don Allingham
b5aa6154b3 * src/Utils.py: handle missing/invalid encoding
* src/DisplayModels/_BaseModel.py: handle None vs. 0


svn: r7997
2007-01-27 23:08:08 +00:00
Don Allingham
0cbafc964d 2007-01-26 Don Allingham <don@gramps-project.org>
* src/DataViews/_MediaView.py: fix accelerator entries
	* src/DataViews/_RepositoryView.py: fix accelerator entries
	* src/DataViews/_SourceView.py: fix accelerator entries
	* src/DataViews/_EventView.py: fix accelerator entries
	* src/DataViews/_FamilyList.py: fix accelerator entries
	* src/DataViews/_PlaceView.py: fix accelerator entries
	* src/DataViews/_PersonView.py: fix accelerator entries
	* src/ViewManager.py: fix accelerator entries
	* src/PageView.py: fix accelerator entries
	


svn: r7989
2007-01-26 12:56:52 +00:00
Don Allingham
4812f0c8cc * src/DataViews/_MediaView.py: keybindings
* src/DataViews/_RepositoryView.py: keybindings
	* src/DataViews/_SourceView.py: keybindings
	* src/DataViews/_EventView.py: keybindings
	* src/DataViews/_FamilyList.py: keybindings
	* src/DataViews/_PlaceView.py: keybindings
	* src/DataViews/_PersonView.py: keybindings
	* src/ViewManager.py: keybindings
	* src/PageView.py: keybindings

2007-01-25  Benny Malengier  <benny.malengier@ugent.be>
	* src/Filters/Rules/Place/Makefile.am: add new files
	* src/Filters/Rules/Place/_InLatLonNeighborhood.py: added
	* src/Filters/Rules/Place/_HasNoteMatchingSubstringOf.py: added
	* src/Filters/Rules/Place/__init__.py: add new filters

2007-01-25  Don Allingham  <don@gramps-project.org>


svn: r7985
2007-01-26 05:09:25 +00:00
Don Allingham
cbe3804391 2007-01-25 Don Allingham <don@gramps-project.org>
* src/DataViews/_MediaView.py: fix goto-gramps-id key press
	* src/DataViews/_RepositoryView.py: fix goto-gramps-id key press
	* src/DataViews/_SourceView.py: fix goto-gramps-id key press
	* src/DataViews/_EventView.py: fix goto-gramps-id key press
	* src/DataViews/_FamilyList.py: fix goto-gramps-id key press
	* src/DataViews/_PedigreeView.py: fix goto-gramps-id key press
	* src/DataViews/_PlaceView.py: fix goto-gramps-id key press
	* src/DataViews/_PersonView.py: fix goto-gramps-id key press
	* src/DataViews/_RelationView.py: fix goto-gramps-id key press
	* src/ViewManager.py: fix goto-gramps-id key press
	* src/PageView.py: fix goto-gramps-id key press



svn: r7984
2007-01-26 00:15:21 +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
Don Allingham
f73c997a71 2007-01-22 Don Allingham <don@gramps-project.org>
* src/DisplayModels/_BaseModel.py: avoid rebuild on delete
	* src/PageView.py:  avoid rebuild on delete



svn: r7960
2007-01-23 04:24:41 +00:00
Don Allingham
1b9e4e8f50 2007-01-19 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyList.py: remove loop
	* src/PageView.py: check for null model



svn: r7935
2007-01-20 04:22:31 +00:00
Don Allingham
e0be7c4f13 2007-01-17 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: optimizations
	* src/ViewManager.py: optimizations
	* src/gramps_main.py: optimizations
	* src/PageView.py: optimizations



svn: r7927
2007-01-18 04:29:52 +00:00
Don Allingham
39368e4eb6 * src/DataViews/_MediaView.py: pylint
* src/DataViews/_RepositoryView.py: pylint
	* src/DataViews/_SourceView.py: pylint
	* src/DataViews/_EventView.py: pylint
	* src/DataViews/_FamilyList.py: pylint
	* src/DataViews/_PlaceView.py: pylint
	* src/DataViews/__init__.py: pylint
	* src/DataViews/_PersonView.py: pylint
	* src/DataViews/Makefile.am: pylint
	* src/DataViews/_RelationView.py: pylint
	* src/RelLib/_CalSdn.py: pylint
	* src/RelLib/_Person.py: pylint
	* src/RelLib/_Family.py: pylint
	* src/RelLib/_EventType.py: pylint
	* src/RelLib/_GrampsType.py: pylint
	* src/RelLib/_Event.py: pylint
	* src/RelLib/_LdsOrd.py: pylint
	* src/PageView.py: pylint


svn: r7885
2007-01-09 04:32:07 +00:00
Don Allingham
2763f19b41 2007-01-03 Don Allingham <don@gramps-project.org>
* src/DataViews/_EventView.py: lint fixes
	* src/DataViews/_PersonView.py: lint fixes
	* src/RelLib/_Person.py: lint fixes
	* src/RelLib/_PrimaryObject.py: lint fixes
	* src/Selectors/_BaseSelector.py: lint fixes
	* src/GrampsWidgets.py: lint fixes
	* src/Spell.py: lint fixes
	* src/PageView.py: lint fixes
	* src/Filters/_SearchFilter.py: lint fixes
	* src/Filters/SideBar/_MediaSidebarFilter.py: lint fixes
	* src/Filters/SideBar/_SourceSidebarFilter.py: lint fixes
	* src/Filters/SideBar/_EventSidebarFilter.py: lint fixes
	* src/Filters/SideBar/_FamilySidebarFilter.py: lint fixes
	* src/Filters/SideBar/_PlaceSidebarFilter.py: lint fixes
	* src/Filters/SideBar/_RepoSidebarFilter.py: lint fixes
	* src/Filters/SideBar/_PersonSidebarFilter.py: lint fixes



svn: r7866
2007-01-04 05:09:41 +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
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
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
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
Don Allingham
ed6fabb944 2006-08-12 Don Allingham <don@gramps-project.org>
* src/PageView.py: fix search argument when filter applied



svn: r7158
2006-08-12 15:27:55 +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
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
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
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
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
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
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
Martin Hawlisch
0de586739e * src/PageView.py, src/DataViews/_MediaView.py: Let all list views have the same border width
svn: r6918
2006-06-19 21:01:57 +00:00
Don Allingham
2d50f33fb7 * src/PageView.py: set dirty flag appropriately
svn: r6906
2006-06-17 03:55:00 +00:00
Don Allingham
081f5079d5 2006-05-25 Don Allingham <don@gramps-project.org>
* src/DataViews/_PlaceView.py: place merge support
	* src/glade/mergedata.glade: place merge support
	* src/MergeData.py: place merge support
	* src/PageView.py: add support for multiselection



svn: r6776
2006-05-25 19:39:44 +00:00
Don Allingham
e358e6350e backout accidental checkin
svn: r6708
2006-05-18 14:37:24 +00:00
Don Allingham
52c8e1752e fixed clearing of combobox
svn: r6707
2006-05-18 14:30:41 +00:00
Don Allingham
ed6e277141 svn: r6703 2006-05-18 03:14:55 +00:00
Don Allingham
392f412261 * src/ViewManager.py: new stock icon support
* src/gramps_main.py: new stock icon support
	* src/PageView.py: new stock icon support
	* src/images/stock_new-html.png: added
	* src/images/stock_delete-bookmark.png: added
	* src/images/stock_export.png: added
	* src/images/stock_edit-bookmark.png: added
	* src/images/stock_add-bookmark.png: added
	* src/images/stock_undo-history.png: added
	* src/images/stock_bookmark.png: added


svn: r6678
2006-05-16 03:35:10 +00:00
Don Allingham
06c27271c5 * src/DataViews/_RepositoryView.py: column fixes
* src/DataViews/_SourceView.py: column fixes
	* src/DataViews/_EventView.py: column fixes
	* src/DataViews/_FamilyList.py: column fixes
	* src/DataViews/_PlaceView.py: column fixes
	* src/DataViews/_PersonView.py: column fixes
	* src/DisplayModels.py: column/sort fixes
	* src/PageView.py: column/sort fixes


svn: r6664
2006-05-15 04:14:03 +00:00
Don Allingham
c41dafef73 2006-05-14 Don Allingham <don@gramps-project.org>
* src/DateHandler/__init__.py: import DateParser and DateDisplay
	* src/DataViews/_PersonView.py: default gender filter to "any"
	* configure.in: bump up to 2.1.2



svn: r6659
2006-05-14 23:01:00 +00:00
Don Allingham
b073854468 fix marker type, search bar tuple problem
svn: r6622
2006-05-11 23:05:12 +00:00
Don Allingham
40ec7acd41 inverted searches
svn: r6611
2006-05-10 20:56:22 +00:00
Don Allingham
707c4207a9 Search bar completion
svn: r6607
2006-05-10 16:08:56 +00:00
Don Allingham
626185cff8 * src/DataViews/_PersonView.py: search bar implementation
* src/PeopleModel.py: search bar implementation
	* src/PageView.py: search bar implementation
	* src/Filters/_SearchBar.py: search bar functionality
	* src/Filters/__init__.py: search bar functionality


svn: r6603
2006-05-10 04:02:45 +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
2dd9893045 * src/Filters/Rules/*: Add object-specific rules.
svn: r6529
2006-05-03 06:29:07 +00:00
Alex Roitman
ba42a155b1 * src/GenericFilters.py: Remove.
* src/Filters: Move filtering to its own package.
	


svn: r6521
2006-05-03 01:02:54 +00:00
Alex Roitman
8c0b45b5c3 Update
svn: r6514
2006-05-02 05:54:26 +00:00
Alex Roitman
6921e6e316 * src/DataViews/_PedigreeView.py (define_actions): Translate labels.
* src/DataViews/_SourceView.py (define_actions): Translate labels.
	* src/DataViews/_PlaceView.py (define_actions): Translate labels.
	* src/DataViews/_MediaView.py (define_actions): Translate labels.
	* src/DataViews/_RepositoryView.py (define_actions): Translate labels.
	* src/DataViews/_MapView.py (define_actions): Translate labels.
	* src/DataViews/_EventView.py (define_actions): Translate labels.
	* src/DataViews/_PersonView.py (define_actions) Translate labels.
	* src/PageView.py (BookMarkView.define_actions,
	PersonNavView.define_actions, ListView.define_actions): Translate
	labels.



svn: r6513
2006-05-02 05:50:46 +00:00
Don Allingham
3ce932ea76 * src/DataViews/_PersonView.py: view specific key mapping support
* src/ViewManager.py: remember last View
	* src/Config/GrampsConfigKeys.py: LAST_VIEW key
	* src/PageView.py: key binding support
	* data/gramps.schemas.in: LAST_VIEW key


svn: r6510
2006-05-02 03:50:46 +00:00
Don Allingham
2633b9abd4 * src/DisplayModels.py: flush cache on row update
svn: r6467
2006-04-27 18:31:41 +00:00
Don Allingham
22aa1ff1fa connect goto_handle function for bookmark callback
svn: r6455
2006-04-26 22:43:59 +00:00
Don Allingham
0593cae180 multiple bookmark lists
svn: r6452
2006-04-26 21:48:13 +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
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
Don Allingham
a6ccb47a55 Handle active person and Pedigree startup issues
svn: r6306
2006-04-10 20:56:09 +00:00
Don Allingham
fb27b07fc1 Start of migrating tools to Managed Windows
svn: r6294
2006-04-09 22:53:53 +00:00