Commit Graph

60 Commits

Author SHA1 Message Date
Don Allingham 064c8ce061 * src/PluginUtils/_ReportUtils.py: fix set_nick_name
* src/RelLib/_MediaRef.py: handle initialization of Ref object


svn: r6568
2006-05-07 04:24:23 +00:00
Alex Roitman 25ada65064 * 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
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
Brian Matherly 1c5bd0e1b3 Fix style editor color picker (Bug #0000065)
svn: r6495
2006-04-29 15:44:44 +00:00
Alex Roitman d2698f566a 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 513f6706bf 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 5505dc12d3 2006-04-27 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_PluginStatus.py: Fix wm.
	* src/PluginUtils/_Plugins.py: Fix Reload tool. The re-building of
	the menus still needs to be fixed.
	* src/plugins/Leak.py: Fix wm.
	* src/docgen/LPRDoc.py: Import Errors module before it is called.
	* src/plugins/DumpGenderStats.py: Fix wm.



svn: r6468
2006-04-27 19:19:10 +00:00
Alex Roitman bdf5731502 * src/plugins/PatchNames.py: Adapt to new wm.
* src/PluginUtils/_Tool.py (gui_tool): handle exception.


svn: r6449
2006-04-26 05:09:44 +00:00
Alex Roitman 77b40742b4 * src/plugins/EventCmp.py: Adapt to RelLib changes.
* src/GenericFilter.py (GenericFilter.check_and): Correct logic.
	* src/PluginUtils/_PluginStatus.py: Use new set_window.



svn: r6435
2006-04-25 18:36:52 +00:00
Don Allingham 5afa945819 Config method changed
svn: r6429
2006-04-24 21:04:01 +00:00
Alex Roitman e1085b42f8 2006-04-23 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_PluginStatus.py (PluginTrace.__init__): Set
	scrolling policy to auto;
	(PluginTrace.close_window): Add method.



svn: r6420
2006-04-23 20:59:21 +00:00
Brian Matherly e275aef029 Keep reports up with RelLib changes
svn: r6417
2006-04-23 02:58:53 +00:00
Brian Matherly 99c3ae0e44 misc reports: keep up with RelLib changes
svn: r6414
2006-04-22 06:56:48 +00:00
Alex Roitman b9371e2e08 2006-04-21 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_ReportUtils.py (buried_str): Typo.
	* src/plugins/DetDescendantReport.py (write_children): Use child_refs.
	* src/plugins/DetAncestralReport.py (write_children): Use child_refs.
	* src/plugins/IndivComplete.py (write_fact): Use new event type.
	* src/docgen/KwordDoc.py (KwordDoc.close): Use tarile.



svn: r6413
2006-04-22 05:13:21 +00:00
Don Allingham 3ee48954ea * src/StartupDialog.py: fix close
* src/plugins/Desbrowser.py: Use ActivPersonTool
	* src/PluginUtils/_Tool.py: active person tool added


svn: r6412
2006-04-22 04:48:40 +00:00
Don Allingham 8a0b43dc26 close button fixes
svn: r6408
2006-04-22 03:31:29 +00:00
Don Allingham d384497dd9 pychecker fixes
svn: r6407
2006-04-22 03:23:57 +00:00
Alex Roitman 489c2c5c63 svn: r6406 2006-04-21 23:32:22 +00:00
Don Allingham 768a1356aa fix typos on XML import
svn: r6405
2006-04-21 22:24:54 +00:00
Don Allingham a78ca88de8 Fix warnboxes
svn: r6401
2006-04-21 20:34:26 +00:00
Alex Roitman abdbd6be5e Set properties.
svn: r6400
2006-04-21 20:13:13 +00:00
Don Allingham 7e88c6c037 Fix warnboxes
svn: r6396
2006-04-21 19:56:16 +00:00
Alex Roitman 9d4fdf1bb2 2006-04-21 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_PluginStatus.py: Many small fixes.
	* src/ManagedWindow.py (GrampsWindowManager.display_menu_list):
	Fix building the menu for child-less windows.



svn: r6395
2006-04-21 19:37:09 +00:00
Don Allingham 340bfa0056 updated PluginStatus dialog
svn: r6391
2006-04-21 17:11:54 +00:00
Don Allingham dcfc832ca3 updated PluginStatus dialog
svn: r6390
2006-04-21 17:08:34 +00:00
Don Allingham 41a9e9205c GrampsType support for FamilyRelations, Events
svn: r6371
2006-04-19 22:59:33 +00:00
Alex Roitman 90832a683e In .:
* src/RelLib/Makefile.am: Ship new file.
	* src/PluginUtils/_ReportUtils.py: Use fam relations from new module.
	* src/Relationship.py: Use family relations from new module.
	* src/Utils.py: Remove family relations.
	* src/RelLib/__init__.py: Expose new module.
	* src/RelLib/_Family.py: Adapt to new types.
	* src/GrampsDb/_ReadXML.py: Adapt to new types.
	* src/GrampsDb/_ConstXML.py: Remove family relations.
	* src/RelLib/_FamilyRelType.py: Add new class
In po:
2006-04-19  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r6369
2006-04-19 18:27:51 +00:00
Alex Roitman dc434a5736 * src/Makefile.am: Clean byte-compiled files.
* src/DataViews/Makefile.am: Clean byte-compiled files.
	* src/GrampsDb/Makefile.am: Clean byte-compiled files.
	* src/Config/Makefile.am: Clean byte-compiled files.
	* src/RelLib/Makefile.am: Clean byte-compiled files.
	* src/Editors/Makefile.am: Clean byte-compiled files.
	* src/plugins/Makefile.am: Clean byte-compiled files.
	* src/ObjectSelector/Makefile.am: Clean byte-compiled files.
	* src/TreeViews/Makefile.am: Clean byte-compiled files.
	* src/Models/Makefile.am: Clean byte-compiled files.
	* src/Mime/Makefile.am: Clean byte-compiled files.
	* src/GrampsLogger/Makefile.am: Clean byte-compiled files.
	* src/PluginUtils/Makefile.am: Clean byte-compiled files.
	* src/docgen/Makefile.am: Clean byte-compiled files.
	* src/DateHandler/Makefile.am: Clean byte-compiled files.


svn: r6295
2006-04-10 01:02:50 +00:00
Don Allingham fb27b07fc1 Start of migrating tools to Managed Windows
svn: r6294
2006-04-09 22:53:53 +00:00
Alex Roitman 57d6df04c9 * 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 ae2486081d dbstate.active fixes
svn: r6255
2006-04-02 04:15:11 +00:00
Brian Matherly 9653c3e6de Narrative Web Page should work now
svn: r6254
2006-04-01 17:38:34 +00:00
Don Allingham 96c6a2b9b3 ManagedWindow
svn: r6249
2006-04-01 03:59:42 +00:00
Don Allingham 6c0e2b86d6 handle to ref conversions
svn: r6239
2006-03-31 04:19:06 +00:00
Don Allingham 0813d57df6 check and repair fixes
svn: r6235
2006-03-30 17:29:30 +00:00
Brian Matherly d9277db7ee Remove use of deprecated functions. Supported graphical reports should work now.
svn: r6232
2006-03-30 05:15:54 +00:00
Brian Matherly 938096dfca src/PluginUtils/_Plugins.py: remove statbox
svn: r6231
2006-03-30 03:29:18 +00:00
Brian Matherly 8a4302a1af Remove use of deprecated functions. Supported text reports now work.
svn: r6229
2006-03-30 03:17:33 +00:00
Don Allingham 4c3e96b163 remove expanduser
svn: r6219
2006-03-29 04:24:39 +00:00
Don Allingham dcec2c11c9 remove expanduser
svn: r6218
2006-03-29 04:11:17 +00:00
Brian Matherly 4813ce09d7 Use filename instead of URI for XML parser (works on Windows and Linux)
svn: r6215
2006-03-29 02:25:04 +00:00
Martin Hawlisch d6a44469e0 Add wrappers for displaying the tuple types to unify their usage.
svn: r6193
2006-03-22 21:19:32 +00:00
Alex Roitman 93add4967a * 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 c6ea05e24d * various: intltoolize and gettextize properly.
svn: r6144
2006-03-15 23:58:23 +00:00
Alex Roitman 4da2ebca24 * src/PluginUtils/_ReportOptions.py: Use correct namespace for the base clases from _Options module.
svn: r6139
2006-03-12 04:13:23 +00:00
Alex Roitman 596894f4f7 Update
svn: r6138
2006-03-11 05:11:41 +00:00
Alex Roitman 44040b095a Remove dependency on load_plugins
svn: r6136
2006-03-11 04:58:58 +00:00
Alex Roitman 51dd733478 Update
svn: r6134
2006-03-11 01:18:37 +00:00
Alex Roitman 6b9d4207ce * src/Plugins.py, src/PluginMgr.py: Move to ReportUtils.
svn: r6133
2006-03-11 01:12:06 +00:00