Commit Graph

115 Commits

Author SHA1 Message Date
Don Allingham
e019db2e41 Search bar completion
svn: r6607
2006-05-10 16:08:56 +00:00
Alex Roitman
cbd84af66b * src/GrampsDb/_GrampsBSDDB.py (load_from): Add method.
* src/GrampsDb/_GrampsXMLDB.py (load_from): Add method.
	* src/GrampsDb/_GrampsGEDDB.py (load_from): Add method.
	* src/GrampsDb/_GrampsDbBase.py (load_from): Add method.
	* src/GrampsDb/_WriteGrdb.py: Use db_copy.
	* src/GrampsDb/_DbUtils.py (db_copy): Add function.
	* src/ViewManager.py: Save as support.
	* src/DataViews/_MapView.py (enable_debug): Set to False to be
	able to see the output besides MapView.



svn: r6604
2006-05-10 05:52:55 +00:00
Don Allingham
837f43b9e4 2006-05-09 Don Allingham <don@gramps-project.org>
* src/DataViews/_MapView.py: add tool tips to tool buttons
	* src/ViewManager.py: add tool tips to Open button



svn: r6593
2006-05-09 18:34:58 +00:00
Don Allingham
b2af7f20dd * 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
86cffe6504 2006-05-06 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (load): Use common undodb
	methods; reset undo history.
	* src/GrampsDb/_GrampsInMemDB.py (load): Use common undodb
	methods; reset undo history.
	* src/GrampsDb/_GrampsXMLDB.py: Minor fix.
	* src/GrampsDb/_GrampsGEDDB.py: Minor fix.
	* src/GrampsDb/_GrampsDbBase.py: Undo history support.
	* src/UndoHistory.py: Fixes and additions.
	* src/ViewManager.py (post_load): Re-set undo/redo labels.



svn: r6569
2006-05-07 05:22:44 +00:00
Alex Roitman
404cf87c93 In .:
2006-05-05  Alex Roitman  <shura@gramps-project.org>
	* src/UndoHistory.py: Add new file.
	* src/ViewManager.py: undo history support.
	* src/GrampsDb/_GrampsDbBase.py (Transaction.__init__): Add
	timestamp to the transaction.
	(GrampsDbBase.redo): Update undo history window.
	(GrampsDbBase.undo): Update undo history window.
	(GrampsDbBase.transaction_commit): Update undo history window.
	(GrampsDbBase.transaction_commit): Set transaction timestamp.
	(GrampsDbBase.__init__): Define undo_history_callback.
	* src/Makefile.am (gdir_PYTHON): Ship new file.

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



svn: r6557
2006-05-05 21:55:01 +00:00
Don Allingham
6cead5c76b add undo history menu item
svn: r6553
2006-05-05 17:37:38 +00:00
Alex Roitman
4ea2ca6a28 * src/PluginUtils/_Tool.py (BatchTool): Add class taking care of
tools with batch transactions.
	(ActivePersonTool.pass): Remove method.
	* src/plugins/Check.py (Check): Derive from BatchTool.
	* src/plugins/ReorderIds.py (ReorderIds): Use batch transactions;
	derive from BatchTool.
	* src/plugins/ChangeTypes.py (ChangeTypes): Use batch
	transactions; derive from BatchTool. 
	* src/plugins/ChangeNames.py (ChangeNames): Derive from BatchTool.
	* src/plugins/PatchNames.py (PatchNames): Use batch transactions;
	derive from BatchTool.
	* src/glade/gramps.glade: Make both buttons' lables in
	questiondialog use underline property.
	(ViewManager.import_data): Add undo warning for imports.


svn: r6540
2006-05-04 02:05:50 +00:00
Don Allingham
23b7ec08d6 2006-05-03 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: do a better job of building the buttons.



svn: r6539
2006-05-04 01:33:37 +00:00
Alex Roitman
896142ea23 (GrampsDbBase.transaction_begin): No aborting after batch transaction.
(GrampsBSDDB.transaction_begin): No aborting after batch transaction.


svn: r6537
2006-05-03 23:36:10 +00:00
Alex Roitman
a8b358725d * src/GrampsDb/_GrampsInMemDB.py (abort_changes): Remove method.
* src/GrampsDb/_GrampsDbBase.py (abort_changes): Remove method.
	* src/GrampsDb/_GrampsBSDDB.py (undo,redo): Use the status from
	GrampsDbBase undo/redo;
	(abort_changes): Remove method.
	* src/ViewManager.py (abort): Add method for abandoning changes.



svn: r6536
2006-05-03 23:21:49 +00:00
Don Allingham
cfcd1e4b62 sidebar-text option
svn: r6534
2006-05-03 22:21:59 +00:00
Don Allingham
3c29580307 Move ColumnEdit to local
svn: r6532
2006-05-03 17:39:06 +00:00
Don Allingham
cacb294975 * 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
892a08232f svn: r6490 2006-04-28 22:42:07 +00:00
Alex Roitman
e6d75bd914 Update
svn: r6487
2006-04-28 19:21:31 +00:00
Alex Roitman
2d17423e25 (ViewManager._init_lists): Translate menu labels.
svn: r6486
2006-04-28 17:02:53 +00:00
Alex Roitman
04448c2de3 2006-04-28 Alex Roitman <shura@gramps-project.org>
* src/ScratchPad.py (ScratchPadWindow.__init__): Allow only one
	instance; translate label; remove unneeded event handlers.
	* src/ViewManager.py (ViewManager.scratchpad): Catch exception.



svn: r6485
2006-04-28 16:56:19 +00:00
Alex Roitman
4bb9dd4f71 Update
svn: r6483
2006-04-28 04:55:08 +00:00
Alex Roitman
05351200c0 Update
svn: r6482
2006-04-28 04:51:44 +00:00
Alex Roitman
1e88f042b8 2006-04-27 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (ViewManager.build_plugin_menu): Use unique
	command-line name for action menu.
	* src/plugins/GraphViz.py: Fix report.
	* src/PluginUtils/_PluginMgr.py (_register_standalone): Remove
	unneeded import.
	* src/PluginUtils/_Plugins.py (build_tools_menu, build_report_menu,
	build_plugin_menu, by_menu_name): Remove functions already
	re-implemented in ViewManager.
	* src/plugins/EventCmp.py: Correct button label.
	* src/plugins/StatisticsChart.py: Fix report.



svn: r6481
2006-04-28 04:33:28 +00:00
Alex Roitman
abfb1ec422 2006-04-27 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (reports_clicked, tools_clicked): handle
	exception.
	* src/PluginUtils/_Plugins.py (PluginDialog.on_apply_clicked):
	Correctly call gui_tool, fix wm.	



svn: r6475
2006-04-27 21:32:44 +00:00
Alex Roitman
b321b4a6c9 Update
svn: r6473
2006-04-27 21:13:50 +00:00
Don Allingham
296611251b * src/ViewManager.py: fix top on Config.set calls
* data/gramps.schemas.in: remove toolbar, now unused


svn: r6472
2006-04-27 20:52:58 +00:00
Don Allingham
2713516e97 2006-04-27 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: support for keypress events
	* src/gramps.py: fix gnome init



svn: r6464
2006-04-27 17:03:23 +00:00
Don Allingham
cda7469626 force uimanager updates
svn: r6453
2006-04-26 22:15:22 +00:00
Don Allingham
d9515abc30 multiple bookmark lists
svn: r6452
2006-04-26 21:48:13 +00:00
Don Allingham
50ec018a36 * src/Bookmarks.py: Don't use goto submenu
svn: r6446
2006-04-26 04:24:54 +00:00
Don Allingham
839d4f4a6b * src/ViewManager.py: new config changes, handle exception, enable Edit button
by default


svn: r6445
2006-04-26 04:03:04 +00:00
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