Commit Graph

24 Commits

Author SHA1 Message Date
Brian Matherly
e811924e77 Move PluginUtils._MenuOptions into a new module in gen.plug.menu. Also, put each class in its own file so that it will scale better as new options are added.
svn: r11086
2008-09-27 13:56:17 +00:00
Gerald Britton
4982292774 Code optimizations wrt handling of None - bug 2212
svn: r10811
2008-06-16 15:01:46 +00:00
Brian Matherly
92d5ba8dfd Remove the "tables" parameter for text and book document generators. All generators support tables, and if one didn't, it doesn't look like the code would work.
svn: r10745
2008-05-20 03:19:58 +00:00
Brian Matherly
3afbd461c0 Put all the plugin management and registration stuff into a class. This new class is named PluginManager. It is a Singleton so that everyone gets access to the same plugin information.
svn: r10741
2008-05-18 19:24:28 +00:00
Brian Matherly
141c38cde3 General cleanup in the plugin manager.
svn: r10638
2008-04-25 01:03:08 +00:00
Brian Matherly
bfe3ee1590 0001981: Update plugin status when reloading plugins
Plus some cleanup.

svn: r10439
2008-04-01 03:12:08 +00:00
Raphael Ackermann
c962d5e6e1 2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* various (294 files)
	pep8 doc fixes & pylint fixes

svn: r10103
2008-02-24 13:55:55 +00:00
Raphael Ackermann
3bd5ea1f35 2008-01-29 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/ViewManager.py: 0001641: add ... ellipsis to menu items. 
	* src/plugins/Calendar.py: 0001641: add ... ellipsis to menu items. 
	* src/PluginUtils/__init__.py: pep8 fixes
	* src/PluginUtils/_PluginMgr.py: pylint and doc fixes

svn: r9960
2008-01-29 21:48:19 +00:00
Raphael Ackermann
2225ac3d78 2008-01-15 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/GrampsDbUtils/_GrampsDbWriteXML.py
    * src/GrampsDbUtils/_WriteGedcom.py
    * src/plugins/ExportCSV.py
    * src/plugins/ExportVCalendar.py
    * src/plugins/ExportVCard.py
    * src/plugins/WriteCD.py
    * src/plugins/WriteFtree.py
    * src/plugins/WriteGeneWeb.py
    * src/plugins/WritePkg.py
    * src/PluginUtils/_PluginMgr.py: pylint fixes
    pylint fixes and work on 0001597 

svn: r9812
2008-01-15 09:16:45 +00:00
Doug Blank
4742947510 2007-12-06 Douglas S.Blank <dblank@cs.brynmawr.edu>
* src/PluginUtils/_PluginMgr.py: return values on load_plugins was 
	reversed: return True if errors.



svn: r9453
2007-12-07 01:05:32 +00:00
Benny Malengier
9ce50cee93 Quick reports general functionality
svn: r8889
2007-08-29 19:37:58 +00:00
Brian Matherly
7a72009239 Remove db requirement from constructor and add get_plural_relationship_string to relationship class.
svn: r8831
2007-08-18 13:31:50 +00:00
Brian Matherly
c6c5c8be50 * src/docgen/ODFDoc.py: Add "open with" option for book reports
* src/docgen/OpenOfficeDoc.py: Add "open with" option for book reports
* src/plugins/BookReport.py: Add "open with" option for book reports
* src/PluginUtils/_PluginMgr.py: Add "open with" option for book reports

svn: r7976
2007-01-25 03:22:46 +00:00
Don Allingham
051f992afb 2006-07-04 Don Allingham <don@gramps-project.org>
* various: pyflakes fixes



svn: r6992
2006-07-04 23:38:51 +00:00
Alex Roitman
7585b5e47d 2006-06-16 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_PluginMgr.py (register_report): Add
	require_active argument to _register_cl_report call.



svn: r6904
2006-06-17 01:32:58 +00:00
Don Allingham
2f86415842 svn: r6903 2006-06-16 21:26:44 +00:00
Alex Roitman
0addd2c59c * src/PluginUtils/_PluginMgr.py: Import MODE_CLI.
* src/ReportBase/_BookFormatComboBox.py: Adapt to changes.


svn: r6831
2006-05-31 19:26:34 +00:00
Alex Roitman
99acb9d02f Update
svn: r6824
2006-05-31 02:41:46 +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
Don Allingham
768a1356aa fix typos on XML import
svn: r6405
2006-04-21 22:24:54 +00:00
Don Allingham
dcfc832ca3 updated PluginStatus dialog
svn: r6390
2006-04-21 17:08:34 +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
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
6b9d4207ce * src/Plugins.py, src/PluginMgr.py: Move to ReportUtils.
svn: r6133
2006-03-11 01:12:06 +00:00