Commit Graph

86 Commits

Author SHA1 Message Date
Don Allingham
fdada9fe16 * src/ViewManager.py: new config changes, handle exception
svn: r6442
2006-04-26 02:14:37 +00:00
Don Allingham
ac2bd8892f svn: r6439 2006-04-26 01:44:03 +00:00
Alex Roitman
46db6643cc * src/Bookmarks.py: Redraw "Go to bookmark" menu if changes were
made in the bookmard editor; Use fixed column widths in editor.



svn: r6436
2006-04-25 19:24:40 +00:00
Don Allingham
8cce2aa0e8 fix typo
svn: r6431
2006-04-24 21:46:54 +00:00
Don Allingham
9f04f55701 Config method changed
svn: r6429
2006-04-24 21:04:01 +00:00
Don Allingham
8243bb1079 updated PluginStatus dialog
svn: r6390
2006-04-21 17:08:34 +00:00
Don Allingham
e6d9cb2bf1 * 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
866b1400e3 image and screen updates
svn: r6352
2006-04-18 02:09:43 +00:00
Alex Roitman
e7c1568b25 * src/ViewManager.py (ViewManager.change_page): Always toggle the
sidebar buttons, even if no data is loaded.

svn: r6312
2006-04-11 22:24:26 +00:00
Alex Roitman
4ca9940ccb * src/ArgHandler.py: Get rid of obsolete self.parent.
svn: r6302
2006-04-10 18:17:00 +00:00
Alex Roitman
3518581e45 * src/ViewManager.py (ViewManager.create_pages): Use toggle
buttons on the sidebar.
	(ViewManager.change_page): Turn off previously active button.


svn: r6299
2006-04-10 05:49:20 +00:00
Don Allingham
ebf97d467f Start of migrating tools to Managed Windows
svn: r6294
2006-04-09 22:53:53 +00:00
Don Allingham
ffae52385f remove empty families
svn: r6293
2006-04-08 05:56:31 +00:00
Alex Roitman
d39038c8f9 * various: Revert back to using gettext except for the modules that need context -- those will use TransUtils.sgettext
svn: r6282
2006-04-06 22:02:46 +00:00
Don Allingham
12860c5d4c Fix PluginStatus call
svn: r6258
2006-04-02 22:31:31 +00:00
Don Allingham
447f9ea7f8 dbstate.active fixes
svn: r6255
2006-04-02 04:15:11 +00:00
Don Allingham
47644bcc15 enable actiongroups on autoload
svn: r6225
2006-03-29 19:26:43 +00:00
Don Allingham
b63f2ab86d remove expanduser
svn: r6219
2006-03-29 04:24:39 +00:00
Don Allingham
621d8757ee scratchpad/drag-n-drop fixes
svn: r6194
2006-03-22 23:03:57 +00:00
Don Allingham
7fdb8314d9 lds specific data moved
svn: r6185
2006-03-21 06:23:45 +00:00
Alex Roitman
c064cb8185 * various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
svn: r6155
2006-03-16 20:24:27 +00:00
Alex Roitman
edb238694b * src/GrampsDb/_GrampsBSDDB.py (update_empty,update_real): Add
functions for updating the display;
	(gramps_upgrade): Set up display updaters;
	(gramps_upgrade_9): Reflect progess of db upgrade.
	(low_level_9): Return status and length of the db.
	(_table_low_level_9): Return table length if successful.
	* src/ViewManager.py (post_load): Remove database upgrade, since
	db.load takes care of upgrade.


svn: r6143
2006-03-14 19:49:34 +00:00
Alex Roitman
5fedb3ad84 Update
svn: r6134
2006-03-11 01:18:37 +00:00
Alex Roitman
199a9b7616 * src/Plugins.py, src/PluginMgr.py: Move to ReportUtils.
svn: r6133
2006-03-11 01:12:06 +00:00
Alex Roitman
29f7dd24be Update
svn: r6120
2006-03-09 20:21:32 +00:00
Don Allingham
51c1f0730a handle database switches
svn: r6086
2006-03-06 03:54:58 +00:00
Don Allingham
f036c5a44b column editing
svn: r6085
2006-03-05 23:39:20 +00:00
Don Allingham
b5934e134e logging support
svn: r6081
2006-03-05 04:45:44 +00:00
Alex Roitman
a3de395e16 Add Mime package
svn: r6047
2006-03-03 00:23:04 +00:00
Alex Roitman
e65c5f4836 Add Config package
svn: r6044
2006-03-03 00:10:52 +00:00
Alex Roitman
4954953968 * src/Exporter.py (Exporter): Callback support, busy cursor.
* src/ViewManager.py (ViewManager): Move progress bar handling
into DisplayState.
* src/DisplayState.py (DisplayState): Move progress bar here.
* src/Assistant.py (Assistant.set_busy_cursor): Add method.
* src/plugins/WritePkg.py: Callback support.
* src/GrampsDb/_WriteGedcom.py: Callback support.


svn: r6016
2006-03-01 06:16:36 +00:00
Alex Roitman
2dd4571b39 * src/plugins/WritePkg.py (PackageWriter.export): Add existing
image filenames to the archive.
* src/GrampsDb/_WriteXML.py: Improve callback use, add another
strip_photo option.
* src/ViewManager.py: Typos.
* src/Exporter.py: Start for callback support.
* src/GrampsDb/_WriteGedcom.py: Callback support.


svn: r6013
2006-03-01 05:04:22 +00:00
Alex Roitman
e3397ecf96 * src/ViewManager.py (ViewManager.import_data): Properly process
non-native (plugin) imports; (_do_import): factor common code into
the new method.
* src/GrampsDb/_ReadXML.py (GrampsParser.__init__): Skip updating
if callback is empty (non-callable).
* src/docgen/HtmlDoc.py (HtmlDoc.load_tpkg): Use tarfile.
* src/ArgHandler.py (ArgHandler.cl_import): Use tarfile.
* src/plugins/WritePkg.py (PackageWriter.export): Use tarfile.
* src/plugins/ReadPkg.py (impData): Use tarfile module.


svn: r6012
2006-03-01 00:26:29 +00:00
Don Allingham
f14d881fb7 * src/DisplayState.py: Manage history on db change
* src/Navigation.py: Manage history on db change


svn: r5918
2006-02-10 05:36:32 +00:00
Don Allingham
76ff5f0771 * src/DisplayTabs.py: fix editing of person events
* src/EditPerson.py: sort out birth/death references
* src/EventEdit.py: Handle event references properly
* src/PageView.py: Add setting default person
* src/PersonView.py: Add SetActive action
* src/ViewManager.py: move ColumnEdit action


svn: r5912
2006-02-10 01:10:52 +00:00
Don Allingham
dcdd9e9765 * src/EditFamily.py: set focus on surname
* src/EditPerson.py: hook up add child
* src/PersonView.py: fix delete person dispay
* src/ViewManager.py: re-enable bookmark functions


svn: r5902
2006-02-09 00:35:46 +00:00
Don Allingham
1504419e4b * src/AddMedia.py: relative path support
* src/AddrEdit.py: add DisplayTab support
* src/DdTargets.py: repository references support
* src/DisplayTabs.py: repository reference support
* src/EditMedia.py: save support
* src/EditSource.py: save support
* src/ImageSelect.py: remove unused stuff
* src/Sources.py: use object instead of gobject.TYPE_PYOBJECT
* src/Utils.py: relative path calculator
* src/ViewManager.py: change cwd to directory of the file so that
relative paths work
* src/edit_person.glade: fix size
* src/gramps.glade: add relative path indicator
* src/GrampsDb/_ReadGedcom.py: remove useless compare


svn: r5883
2006-02-04 23:29:44 +00:00
Alex Roitman
ed311ea2d2 * src/Exporter.py: Set initial person in case there's no active.
* src/ViewManager.py (find_initial_person): Remove method.
* src/GrampsDb/_GrampsDbBase.py (find_initial_person): Add method.


svn: r5856
2006-01-29 22:05:20 +00:00
Don Allingham
dfcdcab183 * src/DisplayTabs.py: add SourceRefModel, NameEmbedList,
AddrEmbedList
* src/EditPerson.py: Use new EmbedLists
* src/ViewManager.py: set max value on set_fraction
* src/edit_person.glade: remove old lists
* src/GrampsDb/_ReadGedcom.py: fix types


svn: r5850
2006-01-29 04:30:16 +00:00
Don Allingham
33360a9a7f * src/DisplayModels.py: optimization
* src/DisplayTabs.py: improved docs
* src/ViewManger.py: remove import_tool_callback


svn: r5838
2006-01-26 22:31:34 +00:00
Don Allingham
d2092f04d7 * src/DisplayState.py: Warning log handler, add timeout handler
svn: r5824
2006-01-23 22:36:34 +00:00
Don Allingham
4b01a84b63 * src/DisplayState.py: Warning log handler
* src/EditFamily.py: remove icon in father/mother column
* src/EditPerson.py: remove commented out code
* src/GrampsWidgets.py: add WarnButton
* src/ViewManager.py: use WarnButton in the status bar
* src/GrampsDb/_GedTokens.py: Add HEAD
* src/GrampsDb/_ReadGedcom.py: New min-lexical analyzer


svn: r5823
2006-01-23 21:48:34 +00:00
Don Allingham
e67691eba7 * src/DisplayState.py: add info button
* src/ViewManager.py: add info button
* src/GrampsWidgets.py: add optional size to icon button


svn: r5822
2006-01-23 04:09:20 +00:00
Alex Roitman
61a061e930 * src/ViewManager.py (pulse_progressbar): Print percentage text;
Set cursor to WATCH on open and import.


svn: r5815
2006-01-21 20:55:06 +00:00
Don Allingham
72afadb1ff * src/PageView.py: remove debug statements
* src/ViewManager.py: check for existing action group before removing


svn: r5814
2006-01-21 05:05:25 +00:00
Don Allingham
24e095c818 * src/DisplayModels.py: use dirty flag to only draw when requested
* src/PageView.py: use dirty flag to only draw when requested
* src/PeopleView.py: use dirty flag to only draw when requested
* src/PeopleModel.py: provide simple caching
* src/ViewManager.py: control dirty flags


svn: r5803
2006-01-20 05:33:38 +00:00
Don Allingham
6daee532d9 * src/DbPrompter.py: removed
* src/gramps.glade: delete unused stuff


svn: r5785
2006-01-18 05:16:10 +00:00
Don Allingham
4c669cba0d * src/ViewManger.py: progressbar callbacks
* src/GrampsDb/_GrampsBSDDB.py: progressbar callbacks
* src/GrampsDb/_GrampsGEDDB.py: progressbar callbacks
* src/GrampsDb/_ReadXML.py: progressbar callbacks
* src/GrampsDb/_ReadGedcom.py: progressbar callbacks


svn: r5783
2006-01-18 04:08:28 +00:00
Alex Roitman
cc83b089cf * src/ViewManager: Remov unused code.
* src/GrampsDb/_GrampsBSDDB.py: Do small txn during batch
transaction; set db.DB_TXN_NOSYNC flag on an environment.


svn: r5767
2006-01-16 22:07:24 +00:00
Alex Roitman
58d66f6708 * src/ViewManager.py: Proper label change for Undo/Redo.
svn: r5748
2006-01-13 20:53:10 +00:00