Commit Graph

247 Commits

Author SHA1 Message Date
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
Martin Hawlisch
03c01fa4f0 * src/ViewManager.py (create_pages): fix off-by-one error when preselecting last view
svn: r8391
2007-04-16 13:57:03 +00:00
Don Allingham
30ce0c5291 2007-04-01 Don Allingham <don@gramps-project.org>
* src/DataViews/_PedigreeView.py: display matches in statusbar
	* src/DataViews/_PersonView.py: display matches in statusbar
	* src/DataViews/_RelationView.py: display matches in statusbar
	* src/DisplayState.py: display matches in statusbar
	* src/DisplayModels/_BaseModel.py: display matches in statusbar
	* src/DisplayModels/_PeopleModel.py: display matches in statusbar
	* src/GrampsDbUtils/_GedcomParse.py: display matches in statusbar
	* src/PageView.py: display matches in statusbar
	* src/Filters/_SearchBar.py: display matches in statusbar
	* src/DbManager.py: fix default file name



svn: r8346
2007-04-01 22:37:10 +00:00
Zsolt Foldvari
4697422bed 2007-04-01 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsWidgets.py: Statusbar widget added.
	* src/ViewManager.py: use custom Statusbar.



svn: r8344
2007-04-01 16:37:23 +00:00
Don Allingham
2002d9a1ba 2007-03-29 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: load previous db if requested
	* src/gramps_main.py: load previous db if requested
	* src/ArgHandler.py: load previous db if requested



svn: r8340
2007-03-30 04:23:46 +00:00
Don Allingham
a9a388bead 2007-03-28 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: call dbmanager if no file loaded on startup
	* src/DbManger.py: open buttons and double click
	* src/gramps_main.py: use "Family Trees"



svn: r8336
2007-03-29 01:42:21 +00:00
Don Allingham
e5f0c18781 2007-03-27 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: pass dbstate to DbManager
	* src/DbManager.py: add icon, prevent deletion of open db, make buttons
	do the sensible thing



svn: r8331
2007-03-28 03:33:11 +00:00
Don Allingham
911590e880 * src/ViewManager.py: integrate the new DbManager
* src/glade/gramps.glade: integrate the new DbManager
	* src/gramps_main.py: integrate the new DbManager
	* src/DbManager.py: integrate the new DbManager


svn: r8320
2007-03-27 03:18:49 +00:00
Don Allingham
ec0623d67d svn: r8314 2007-03-25 03:17:25 +00:00
Don Allingham
d20b4833f9 2007-03-24 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: add support for new directory type
	* src/GrampsDb/_GrampsDbBase.py: use normal pickle encoding
	* src/GrampsDb/_GrampsDBDir.py: new directory based type
	* src/GrampsDb/_GrampsDbFactories.py: add support for new directory type
	* src/Editors/_EditNote.py: only update on save
	* src/Selectors/_SelectPerson.py: use normal columns
	* src/GrampsDbUtils/_ReadGedcom.py: add support for new directory type
	* src/GrampsDbUtils/__init__.py: add support for new directory type
	* src/GrampsDbUtils/_Backup.py: fast pickle based backup
	* src/ArgHandler.py: add support for new directory type



svn: r8313
2007-03-25 02:25:37 +00:00
Don Allingham
0d778ae075 2007-03-18 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: use tooltips for buttons when text disabled (bug 959)
	* src/Editors/_EditSourceRef.py: fix help button (bug 960),  delete the cancel
	on the comment tab.
	* src/Editors/_EditReference.py: make sure help button is sensitive if used.
	* src/GrampsDbUtils/_GedcomParse.py: check for UTF16 BOM
	* src/ArgHandler.py: use STOCK_NEW for create of db (bug 947)
	* src/DbLoader.py: use STOCK_NEW for create of db (bug 947)



svn: r8304
2007-03-19 04:19:49 +00:00
Don Allingham
2ca305b204 2007-03-05 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: support for close button on filter sidebar
	* src/DisplayModels/_BaseModel.py: support for marker coloring
	* src/DisplayModels/_FamilyModel.py: support for marker coloring
	* src/PageView.py: support for marker coloring
	* src/Filters/SideBar/_SidebarFilter.py: provide close button
	* src/Filters/SideBar/_PersonSidebarFilter.py: cleanup



svn: r8272
2007-03-06 04:13:14 +00:00
Don Allingham
660b03cf05 * src/ViewManager.py: attribution for icons
* src/GrampsDbUtils/_GedcomParse.py: enhancements in parsing
	* src/GrampsDbUtils/_GedcomTokens.py: remove double AGNC


svn: r8241
2007-02-26 05:14:50 +00:00