Commit Graph

259 Commits

Author SHA1 Message Date
Brian Matherly
007ba8dd49 Rename "_Plugins.py" to a more appropriate name: "_PluginDialogs.py". Same goes for the classes in the file.
svn: r10742
2008-05-19 04:14:11 +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
Zsolt Foldvari
05b39c5c15 Reorganize custom widgets into a new 'widgets' package.
1. moving existing widget modules under src/widgets/


svn: r10694
2008-05-08 19:40:56 +00:00
Erik De Richter
f131a92dd0 bug id 0001767
links to FAQ  Manual & Keybindings

svn: r10572
2008-04-17 06:36:49 +00:00
Zsolt Foldvari
3b66dc1e48 AboutDialog moved out from ViewManager to GrampsAboutDialog.
In the About dialog the list of developers is parsed from the authors.xml file.


svn: r10509
2008-04-06 20:35:38 +00:00
Brian Matherly
a46e733398 Remove the "target" parameter from GrampsDisplay.help(). It was used for the old help system. We now link directly to the wiki.
svn: r10474
2008-04-05 14:17:15 +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
Benny Malengier
6499abe5af 2008-03-07 Benny Malengier <benny.malengier@gramps-project.org>
* src/const.py.in : new const for third party plugin page
	* src/ViewManager.py: in help, menu option for the third party plugins



svn: r10212
2008-03-07 14:31:04 +00:00
Brian Matherly
e2bc58fe63 0001711: Inconsistant names for graphical reports
svn: r10152
2008-03-01 22:47:48 +00:00
Benny Malengier
b1561e5f78 2008-02-28 Benny Malengier <benny.malengier@gramps-project.org>
* src/ViewManager.py: allow for info dialog after import
	* src/gen/db/base.py: find returns if new object or not
	* src/gen/db/dbdir.py: find returns if new object or not
	* src/plugins/ImportGeneWeb.py: allow multiple mime types
	* src/plugins/ImportvCard.py: allow multiple mime types
	* src/plugins/ReadGrdb.py: allow multiple mime types
	* src/plugins/ReadPkg.py: allow multiple mime types
	* src/plugins/ImportCSV.py: allow multiple mime types
	* src/DbManager.py: use family tree string, not database
	* src/glade/gramps.glade: add info dialog
	* src/QuestionDialog.py: add info dialog, clean up set transient errors
	* src/GrampsDbUtils/_GrampsDbWriteXML.py: improve comment
	* src/GrampsDbUtils/_ReadXML.py: fix change dates problems, fix 
	 creation of empty objects in bookmarks, add info dialog, clean up
	 relative media import, remove unneeded parameters
	* src/GrampsDbUtils/_GrampsDbWRFactories.py: 
	* src/GrampsDbUtils/_GrampsBSDDB.py: allow multiple mime types
	* src/DbLoader.py: fix up import filters and some mime type issues



svn: r10138
2008-02-28 22:32:40 +00:00
Benny Malengier
cd756e5b13 * src/ViewManager.py:
* src/DbLoader.py:
	Remove os.chdir, no longer needed for relative path

2008-02-24  Douglas S. Blank <dblank@cs.brynmawr.edu>


svn: r10105
2008-02-24 14:19:40 +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
Benny Malengier
977c9d8013 * src/ViewManager.py: #1559, CTRL+N/P also if no sidebar
2008-02-19 Benny Malengier <benny.malengier@gramps-project.org>


svn: r10072
2008-02-19 22:16:13 +00:00
Benny Malengier
3f9fa6f7e1 2008-02-19 Benny Malengier <benny.malengier@gramps-project.org>
* src/ViewManager.py: #1559, use CTRL+N/P not ALT+N/P to avoid problems



svn: r10070
2008-02-19 13:34:53 +00:00
Benny Malengier
a1e29c9daf 2008-02-19 Benny Malengier <benny.malengier@gramps-project.org>
* src/ViewManager.py: CTRL+B as accel for clipboard



svn: r10062
2008-02-19 08:42:31 +00:00
Raphael Ackermann
de5edf9f29 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/DataViews/PersonView.py
	* src/ViewManager.py
	* src/GrampsCfg.py
	* src/plugins/WriteCD.py
	* src/plugins/FindDupes.py
	* src/Merge/_MergePerson.py
	* src/DbManager.py
	* src/ArgHandler.py
	* src/docgen/HtmlDoc.py
	* src/DbLoader.py
	use from QuestionDialog import ErrorDialog etc to bring in line with
	rest of gramps
	* src/Editors/_EditPrimary.py: EditPrimary._uses_duplicate_id() check
	for duplicates and give error dialog if id is already used. #0001347
	* src/Editors/_EditFamily.py: EditFamily.__do_save(), add call to 
	_uses_duplicate_id(). #0001347 

svn: r10046
2008-02-18 10:09:50 +00:00
Doug Blank
131db3ef7e 2008-02-15 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/ViewManager.py (ViewManager.__build_main_window):pass self to DS
	* src/DisplayState.py (DisplayState): added vm param
	DS now has a reference to the VM which allows uistate
	to have access to most of a running GRAMPS application



svn: r10038
2008-02-15 14:18: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
ebf12e3106 2008-01-28 Duncan Lithgow <dlithgow@gmail.com>
* various: add capitalization fixes according to HIG (plus ellipsis ...)
	http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en

svn: r9951
2008-01-28 21:22:06 +00:00
Raphael Ackermann
506eb32637 2008-01-24 Raphael Ackermann <raphael.ackermann@gmail.com>
Removed all the __author__, __revision__ and __version__ statements

svn: r9928
2008-01-24 20:38:10 +00:00
Raphael Ackermann
60f9cc2da5 test for svn propchanges
svn: r9909
2008-01-22 08:15:00 +00:00
Raphael Ackermann
2670ca2637 2008-01-15 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/const.py.in: added constants for help pages
    * src/ViewManager.py: support for help pages called from menu
    0001606: Help menu items not functioning

svn: r9821
2008-01-15 17:59:56 +00:00
Peter Landgren
895e0bb633 fix in ViewManager for bug 1580
svn: r9784
2008-01-12 14:44:53 +00:00
Raphael Ackermann
d28b01f4b0 2008-01-10 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/MarkupText.py: in _hex_to_color removed dupe assignment to color
    * src/PageView.py: doc typo and delete unused statements in filter_toggle
    * src/ViewManager.py: fix typo in doc
    * src/DataViews/PersonView.py: delete unused statements in filter_toggle
    * src/FilterEditor/_EditRule.py: fix wrong $Id name
    * src/FilterEditor/_ShowResults.py: fix wrong $Id name

svn: r9778
2008-01-10 23:27:06 +00:00
Raphael Ackermann
b7c7952058 2008-01-09 Raphael Ackermann <raphael.ackermann@gmail.com>
svn: r9760
2008-01-09 06:45:15 +00:00
Benny Malengier
f6aaf422e9 2008-01-02 Benny Malengier <benny.malengier@gramps-project.org>
* src/ViewManager.py: remove unneeded show, remove tabs



svn: r9691
2008-01-03 09:40:07 +00:00
Benny Malengier
dc9f03b6c0 2007-12-28 Benny Malengier <benny.malengier@gramps-project.org>
* src/ViewManager.py: remove unused functions, add alt actions left/right
	* src/GrampsDb: deleted with _GrampsDbWriteXML.py,
		_GrampsDbFactories.py, _GrampsGEDDB.py, _GrampsXMLDB.py,
		__init__.py, Makefile.am, _GrampsInMemDB.py, _GrampsBSDDB.py.
		No more inmemory databases
	* src/GrampsDbUtils: moved here _GrampsDbWriteXML.py and _GrampsBSDDB.py
	* src/plugins/ReadGrdb.py:
	* src/plugins/Checkpoint.py:
	* src/ObjectSelector/_ObjectSelectorWindow.py:
	* src/DbManager.py:
	* src/GrampsDbUtils/_WriteGrdb.py:
	* src/GrampsDbUtils/__init__.py:
	* src/GrampsDbUtils/_GrampsDbWRFactories.py:
	* src/GrampsDbUtils/_WriteXML.py:
	* src/GrampsDbUtils/Makefile.am:
	* src/gramps_main.py:
	* src/RecentFiles.py: recent-files-gramps.xml, don't overwrite 2.2.x data
	* src/ArgHandler.py:
	* src/DbLoader.py: remove unused functions
	* src/Makefile.am:
	* po/POTFILES.in:
	* src/GrampsDbUtils/importdbdir.py: allow import of new database via cli
	Remove inMem Editing, move remaining to DbUtils, fix ArgHandler



svn: r9613
2007-12-28 15:09:01 +00:00
Doug Blank
8fca6769f9 2007-12-26 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/ViewManager.py: added __delete_pages called on quit
	* src/PageView.py: added on_delete method called on quit



svn: r9588
2007-12-26 15:48:51 +00:00
Doug Blank
0aba9e8e2b * src/ViewManager.py: exposed a private method via a new method,
post_load_newdb()
	* src/ArgHandler.py: made ArgHandler.handle_args() return filename,
	  and filetype, if commandline or recentfile
	* src/gramps_main.py: handles return values from AH.handle_args()

2007-12-10  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9486
2007-12-11 02:49:58 +00:00
Doug Blank
15f4b137da 2007-11-29 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/ViewManager.py: use PluginsWindows
	* src/PluginUtils/_PluginStatus.py: moved from
	* src/PluginUtils/_PluginWindows.py: moved to
	* src/PluginUtils/__init__.py: use PluginsWindows
	* src/PluginUtils/_Plugins.py: use PluginsWindows



svn: r9429
2007-11-29 06:32:59 +00:00
James G Sack
ecfa4aa0c0 add USER_xxx constants to const, use them
svn: r9407
2007-11-26 05:11:19 +00:00
Benny Malengier
8f3c7808a1 * src/ViewManager.py: use import image
2007-11-12 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9337
2007-11-12 16:01:31 +00:00
Benny Malengier
d988130335 2007-10-26 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/rel_nl.py: merge in changes of branch22
	* src/DisplayState.py: method to set rel class
	* src/ViewManager.py: call set rel class after loading plugins

	changed. Not for pl, there that method is inherited.


svn: r9250
2007-10-25 23:15:28 +00:00
Don Allingham
99febc759f * various: cleanup
2007-10-08  Don Allingham  <don@gramps-project.org>


svn: r9109
2007-10-08 21:19:32 +00:00
Don Allingham
32d7968365 2007-10-06 Don Allingham <don@gramps-project.org>
* various: creation of gen.db package



svn: r9091
2007-10-07 03:19:35 +00:00
Don Allingham
623c6f81de 2007-09-16 Don Allingham <don@gramps-project.org>
* src/DataViews/_EventView.py: connect column editor
	* src/ViewManager.py: pylint
	* src/Editors/_EditLdsOrd.py: pylint
	* src/DisplayTabs/_LdsModel.py: pylint
	* src/DisplayState.py: pylint
	* src/GrampsDbUtils/_GedcomParse.py: pylint
	* src/ListModel.py: pylint
	* src/LdsUtils.py: pylint
	* src/PageView.py: fix column editor



svn: r8982
2007-09-16 18:45:57 +00:00
Don Allingham
6f7f0d710a 2007-09-09 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: cleanup
	* src/DisplayState.py: cleanup



svn: r8954
2007-09-10 02:09:50 +00:00
Don Allingham
6d9dbfee49 2007-09-08 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: code cleanup
	* src/FontScale.py: code cleanup
	* src/GrampsWidgets.py: code cleanup
	* src/ExportOptions.py: code cleanup
	* src/GrampsDisplay.py: code cleanup
	* src/DateEdit.py: code cleanup
	* src/DbLoader.py: code cleanup



svn: r8951
2007-09-09 05:24:15 +00:00
Benny Malengier
651e29ead4 2007-09-08 Benny Malengier <benny.malengier@gramps-project.org>
* src/DataViews/_RelationView.py  : expand/collapse, edit button on/off bug fix 
	* src/GrampsWidgets.py  : Expand widget, changes link labels
	* src/DisplayState.py   : history bugs
	* src/ViewManager.py    : history bugs
	* src/PageView.py       : history bugs
	Based on patch of Douglas S. Blank <dblank@cs.brynmawr.edu>, GEPS-2
	Still some strange things in history, but better



svn: r8950
2007-09-08 22:06:30 +00:00
Don Allingham
a65a73d1d7 * various: const.py changes
2007-09-07  Don Allingham  <don@gramps-project.org>
	* src/DateHandler/_Date_fr.py: fix indentation errors

2007-09-07  Don Allingham  <don@gramps-project.org>


svn: r8948
2007-09-08 05:54:02 +00:00
Benny Malengier
167e4288a1 New export assistant
svn: r8857
2007-08-23 11:58:36 +00:00
Benny Malengier
c0f14c9070 start work on new export manager
svn: r8834
2007-08-18 21:13:30 +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
Alex Roitman
74ad7b95a4 * src/TreeViews/_PersonTreeView.py: Use name_displayer.
* src/ReportBase/_ReportUtils.py: Use name_displayer.
	* src/ReportBase/_CommandLineReport.py: Use name_displayer.
	* src/ReportBase/_BareReportDialog.py: Use name_displayer.
	* src/PluginUtils/_Tool.py: Use name_displayer.
	* src/plugins/TimeLine.py: Use name_displayer.
	* src/plugins/RelCalc.py: Use name_displayer.
	* src/plugins/ReadGrdb.py: Use name_displayer.
	* src/plugins/NarrativeWeb.py: Use name_displayer.
	* src/plugins/IndivComplete.py: Use name_displayer.
	* src/plugins/GraphViz.py: Use name_displayer.
	* src/plugins/FindDupes.py: Use name_displayer.
	* src/plugins/FamilyGroup.py: Use name_displayer.
	* src/plugins/DetDescendantReport.py: Use name_displayer.
	* src/plugins/DetAncestralReport.py: Use name_displayer.
	* src/plugins/DesGraph.py: Use name_displayer.
	* src/plugins/DescendReport.py: Use name_displayer.
	* src/plugins/DescendChart.py: Use name_displayer.
	* src/plugins/Check.py: Use name_displayer.
	* src/plugins/Ancestors.py: Use name_displayer.
	* src/plugins/AncestorReport.py: Use name_displayer.
	* src/plugins/AncestorChart2.py: Use name_displayer.
	* src/ObjectSelector/_PersonTreeFrame.py: Use name_displayer.
	* src/ObjectSelector/_PersonFrame.py: Use name_displayer.
	* src/Merge/_MergePerson.py: Use name_displayer.
	* src/GrampsDbUtils/_WriteGedcom.py: Use name_displayer.
	* src/GrampsDbUtils/_ReadXML.py: Use name_displayer.
	* src/GrampsDbUtils/_GedcomParse.py: Use name_displayer.
	* src/FilterEditor/_ShowResults.py: Use name_displayer.
	* src/FilterEditor/_EditRule.py: Use name_displayer.
	* src/Editors/_EditPrimary.py: Use name_displayer.
	* src/Editors/_EditPersonRef.py: Use name_displayer.
	* src/Editors/_EditPerson.py: Use name_displayer.
	* src/Editors/_EditName.py: Use name_displayer.
	* src/Editors/_EditLdsOrd.py: Use name_displayer.
	* src/Editors/_EditFamily.py: Use name_displayer.
	* src/DisplayTabs/_PersonRefModel.py: Use name_displayer.
	* src/DisplayTabs/_NameModel.py: Use name_displayer.
	* src/DisplayTabs/_ChildModel.py: Use name_displayer.
	* src/DisplayTabs/_BackRefModel.py: Use name_displayer.
	* src/DisplayModels/_PeopleModel.py: Use name_displayer.
	* src/DisplayModels/_FamilyModel.py: Use name_displayer.
	* src/DataViews/_PersonView.py: Use name_displayer.
	* src/DataViews/_RelationView.py: Use name_displayer.
	* src/DataViews/_PedigreeView.py: Use name_displayer.
	* src/Utils.py: Use name_displayer.
	* src/SubstKeywords.py: Use name_displayer.
	* src/Sort.py: Use name_displayer.
	* src/Reorder.py: Use name_displayer.
	* src/PageView.py (BookMarkView.add_bookmark): Use name_displayer.
	* src/Navigation.py: Use name_displayer.
	* src/DisplayState.py: Use name_displayer.
	* src/GrampsCfg.py: Use name_displayer.
	* src/Bookmarks.py (Bookmarks.make_label): Use name_displayer.
	* src/GrampsDb/Makefile.am (pkgdata_PYTHON): Ship new files.
	* src/Makefile.am (gdir_PYTHON): Ship ProgressDialog.py


svn: r8680
2007-06-28 05:41:40 +00:00
Don Allingham
e9860079c3 2007-06-15 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_Backup.py: Optimization and documentation.



svn: r8557
2007-06-16 04:23:47 +00:00
Alex Roitman
b38a741d3d * src/ViewManager.py: Enable recent files.
* src/DisplayState.py (RecentDocsMenu.load): work out directories;
	(RecentDocsMenu.build): Use symbolic names for menu.
	* src/RecentFiles.py: Make work with directories and symbolic
	names; remove GNOME-related functionality.


svn: r8550
2007-06-14 05:32:06 +00:00
Don Allingham
150a0fc05d svn: r8540 2007-06-13 02:27:31 +00:00
Don Allingham
c730a8f5c4 2007-06-12 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: detection and recovery from db errors
	* src/GrampsDb/_GrampsDBDir.py: detection and recovery from db errors
	* src/GrampsDb/_GrampsBSDDB.py: detection and recovery from db errors
	* src/DbManager.py: detection and recovery from db errors
	* src/DbState.py: detection and recovery from db errors
	* src/ArgHandler.py: detection and recovery from db errors



svn: r8539
2007-06-12 23:31:40 +00:00
Don Allingham
e05e6b4edd 2007-06-11 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: Improve backup strategy
	* src/GrampsDb/_GrampsDBDir.py: Improve backup strategy
	* src/DbManager.py: Improve backup strategy
	* src/glade/gramps.glade: Improve backup strategy
	* src/Errors.py: Improve backup strategy
	* src/GrampsDbUtils/_Backup.py: Improve backup strategy



svn: r8538
2007-06-12 04:29:15 +00:00
Don Allingham
9fd30ff3f9 2007-05-01 Don Allingham <don@gramps-project.org>
* src/ReportBase/_SimpleAccess.py: simplifed database access routines



svn: r8433
2007-05-02 04:05:41 +00:00