Commit Graph

59 Commits

Author SHA1 Message Date
Gerald Britton
941fff23ae Tweaks to use inplace arithmetic
svn: r13191
2009-09-10 18:49:48 +00:00
Peter Landgren
c3b8ec4fd8 String must be unicode for truncation to work for non ascii characters.
svn: r13170
2009-09-08 08:26:23 +00:00
Jérôme Rapinat
3034833958 2748: Some URLs still point user to wiki manual version 3.0
svn: r12131
2009-02-26 09:57:08 +00:00
Benny Malengier
751556945f Bookmark orgnizer should close on delete-event request
svn: r11869
2009-02-05 13:00:12 +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
Benny Malengier
1a2fb30f20 set bookmarks editor transient too
0001968: twice help click on bookmark closes application


svn: r10368
2008-03-21 22:43:11 +00:00
Raphael Ackermann
799c6a6a33 Add a gtk loop in Bookmarks.edit() and only close the Bookmark editor if gtk.RESPONSE_CLOSE is issued
0001968: twice help click on bookmark closes application 

svn: r10364
2008-03-21 21:58:41 +00:00
Gary Burton
8ce30ced20 Remove extraneous bracket
svn: r10342
2008-03-19 21:17:10 +00:00
Erik De Richter
32eaa990a7 link to wiki manual
svn: r10341
2008-03-19 19:17:20 +00:00
Raphael Ackermann
04d63561e1 2008-03-04 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Bookmarks.py: 0001770: Bookmark Editor window and deleting entries 
    Set focus on bookmark right above the deleted bookmark
    * src/gramps.py: comment typo
    * src/ListModel.py: fix, changed func((param)) to func(param)

svn: r10186
2008-03-04 22:28:59 +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
b6687ee12e 2008-02-19 Benny Malengier b <benny.malengier@gramps-project.org>
* src/Bookmarks.py:
	* src/gramps_main.py:
	* src/PageView.py:
	Don't edit bookmarks, organize them, key: shift+ctrl+b



svn: r10063
2008-02-19 09:18:47 +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
bbe2cc6d4e 2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/* Everything but src/images/* and src/data/* add correct svn 
	properties with the commands:
	svn propset -R svn:mime-type text/plain src/
	svn propset -R svn:eol-style native src/
	svn propset -R svn:keywords Id src/
	See below why the Id keyword is enough. From svn help propset
	svn:keywords   - Keywords to be expanded.  Valid keywords are:
      URL, HeadURL             - The URL for the head version of the object.
      Author, LastChangedBy    - The last person to modify the file.
      Date, LastChangedDate    - The date/time the object was last modified.
      Rev, Revision,           - The last revision the object changed.
      LastChangedRevision
      Id                       - A compressed summary of the previous
                                   4 keywords.

svn: r9912
2008-01-22 09:17:46 +00:00
Benny Malengier
b03bc3f4e5 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Bookmarks.py: bookmark dup warning, bug 1346

2008-01-07  Benny Malengier <benny.malengier@gramps-project.org>


svn: r9748
2008-01-07 22:27:05 +00:00
Brian Matherly
a37fc2bab3 Set bookmarks dialog to modal.
svn: r9651
2007-12-31 05:49:03 +00:00
Benny Malengier
58dfe133c6 2007-10-05 James G. Sack <jgsack@san.rr.com>
* src/GrampsDb/_GrampsDbBase.py:
	* src/GrampsDb/_GrampsGEDDB.py:
	* src/GrampsDb/_GrampsXMLDB.py:
	* src/GrampsDb/_GrampsInMemDB.py:
	* src/Bookmarks.py:
	issue #1261: creating bookmark does not lead to save of xml


svn: r9078
2007-10-05 09:25:31 +00:00
Don Allingham
fc6910bd1b 2007-08-05 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_WriteGedcom.py: start of refactoring
	* src/Bookmarks.py: Don't rewrite list



svn: r8801
2007-08-06 04:11:52 +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
48c04f4798 2007-06-26 Don Allingham <don@gramps-project.org>
* src/Bookmarks.py: pylint
	* src/DateEdit.py: pylint
	* src/AutoComp.py: pylint
	* src/BaseDoc.py: pylint
	* src/DateHandler/_DateParser.py: pylint
	* src/DateHandler/_Date_fi.py: pylint
	* src/DateHandler/_DateUtils.py: pylint
	* src/DateHandler/__init__.py: pylint
	* src/DateHandler/_DateDisplay.py: pylint
	* src/DateHandler/_Date_fr.py: pylint
	* src/DateHandler/_Date_es.py: pylint
	* src/DateHandler/_Date_nl.py: pylint
	* src/DateHandler/_Date_sk.py: pylint
	* src/DateHandler/_DateHandler.py: pylint
	* src/DateHandler/_Date_lt.py: pylint
	* src/DateHandler/_Date_ru.py: pylint
	* src/DateHandler/_Date_sv.py: pylint
	* src/DateHandler/_Date_de.py: pylint



svn: r8675
2007-06-27 04:50:33 +00:00
Don Allingham
a598df4f6d * src/Bookmarks.py: pylint fixes
* src/ColumnOrder.py: pylint fixes
	* src/DateEdit.py: pylint fixes
	* src/DbLoader.py: pylint fixes
	* src/ManagedWindow.py: pylint fixes

2007-05-19  Don Allingham  <don@gramps-project.org>


svn: r8498
2007-05-20 04:35:46 +00:00
Zsolt Foldvari
0cc78b2e89 * src/DataViews/_NoteView.py: enable shortcuts and drag-and-drop.
* src/Bookmarks.py (NoteBookmarks.make_label): better note label.
	* src/DisplayTabs/_NoteModel.py: better note label for preview.
	* src/DisplayTabs/_NoteTab.py: enable accepting drag-and-drop notes.
	* src/ScratchPad.py: ScratchPadNote added.
	* src/DdTargets.py: NOTE_LINK added.

2007-03-28  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8334
2007-03-28 16:27:45 +00:00
Zsolt Foldvari
a7083cf69c * src/GrampsDb/_DbUtils.py (db_copy): include missing Note table;
handling Note bookmarks.
	* src/GrampsDb/_GrampsDbWriteXML.py:
	* src/GrampsDb/_GrampsDBDir.py:
	* src/GrampsDb/_GrampsBSDDB.py:
	* src/Bookmarks.py:
	* src/GrampsDbUtils/_ReadXML.py:
	Handling Note bookmarks.

2007-03-27  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8328
2007-03-27 21:47:18 +00:00
Richard Taylor
70e12c490e Moved NameDisplay into BasicUtils.
svn: r8197
2007-02-20 20:56:48 +00:00
Don Allingham
1d7e22bcca 2007-02-12 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: cleanup



svn: r8104
2007-02-13 06:01:16 +00:00
Don Allingham
f2a4002d5e * src/DataViews/_PersonView.py: use a container for bookmarks to prevent
lost of data (bug #777)
	* src/GrampsDb/_GrampsDbBase.py: use a container for bookmarks to prevent
	lost of data (bug #777)
	* src/GrampsDb/_GrampsBSDDB.py: use a container for bookmarks to prevent
	lost of data (bug #777)
	* src/Bookmarks.py: use a container for bookmarks to prevent
	lost of data (bug #777)


svn: r7830
2006-12-21 03:28:44 +00:00
Don Allingham
38208043bf * src/GrampsDb/_GrampsDbBase.py: error message on disk space full
* src/Bookmarks.py: removed deleted items


svn: r7375
2006-10-09 03:57:41 +00:00
Don Allingham
22aa1ff1fa connect goto_handle function for bookmark callback
svn: r6455
2006-04-26 22:43:59 +00:00
Don Allingham
e462dafe93 force uimanager updates
svn: r6453
2006-04-26 22:15:22 +00:00
Don Allingham
0593cae180 multiple bookmark lists
svn: r6452
2006-04-26 21:48:13 +00:00
Don Allingham
8a8ef76233 * src/Bookmarks.py: Don't use goto submenu
svn: r6446
2006-04-26 04:24:54 +00:00
Alex Roitman
9759ab6aad * 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
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
Don Allingham
ad8ad4830a logging support
svn: r6081
2006-03-05 04:45:44 +00:00
Don Allingham
8189db333e * src/Bookmarks.py: remove debugging statements
* src/DisplayState.py: remove extra rebuild request
* src/Plugins.py: start support of Report menu
* src/ViewManager.py: tie in report support


svn: r5634
2005-12-26 05:11:37 +00:00
Don Allingham
fbdfb92449 * src/Bookmarks.py: get bookmark menu working
* src/EditPlace.py: menu tracking


svn: r5632
2005-12-25 04:01:47 +00:00
Don Allingham
55f22b5550 * src/Bookmark.py: start of reimplementation
* src/PersonView.py: commit fixes


svn: r5615
2005-12-22 06:13:11 +00:00
Alex Roitman
2f962b5f96 merge changes from gramps20
svn: r5482
2005-12-06 06:38:09 +00:00
Alex Roitman
704e0c4787 Merge changes from gramps20 made since 2.0.5
svn: r5105
2005-08-18 05:58:28 +00:00
Don Allingham
55a416f422 * src/AddMedia.py: use new find_mime_type_pixbuf instead of
find_icon
* src/ImageSelect.py: remove internal media widgets, use new
find_mime_type_pixbuf instead of find_icon
* src/ImgManip.py: catch pixbuf_new_from_file exception
* src/MediaView.py: use new find_mime_type_pixbuf instead of
find_icon
* src/SelectObject.py: use new find_mime_type_pixbuf instead of
find_icon
* various: replace the deprecated gtk.TRUE/gtk.FALSE with
True/False


svn: r4085
2005-02-24 00:25:34 +00:00
Don Allingham
6b2bf53b49 * src/gramps.glade: remove name display options
* src/GrampsCfg.py: remove name displaying functions
* src/Makefile.am: add NameDisplay.py to list
* src/NameDisplay.py: New name displaying class
* src/Utils.py: use new NameDisplay class
* src/AddSpouse.py: use new NameDisplay class
* src/AddrEdit.py: use new NameDisplay class
* src/Bookmarks.py: use new NameDisplay class
* src/ChooseParents.py: use new NameDisplay class
* src/DisplayModels.py: use new NameDisplay class
* src/EditPerson.py: use new NameDisplay class
* src/EditPlace.py: use new NameDisplay class
* src/EditSource.py: use new NameDisplay class
* src/FamilyView.py: use new NameDisplay class
* src/GenericFilter.py: use new NameDisplay class
* src/ImageSelect.py: use new NameDisplay class
* src/Marriage.py: use new NameDisplay class
* src/MergeData.py: use new NameDisplay class
* src/NameEdit.py: use new NameDisplay class
* src/PedView.py: use new NameDisplay class
* src/PeopleModel.py: use new NameDisplay class
* src/ReadGedcom.py: use new NameDisplay class
* src/Report.py: use new NameDisplay class
* src/SelectChild.py: use new NameDisplay class
* src/SubstKeywords.py: use new NameDisplay class
* src/Witness.py: use new NameDisplay class
* src/WriteGedcom.py: use new NameDisplay class
* src/gramps_main.py: use new NameDisplay class
* src/plugins/Desbrowser.py: use new NameDisplay class
* src/plugins/Merge.py: use new NameDisplay class
* src/plugins/RelCalc.py: use new NameDisplay class


svn: r3852
2005-01-01 04:27:15 +00:00
Don Allingham
95e62181d3 * src/RelLib.py, etc.: convert get_id to get_handle
svn: r3290
2004-07-28 02:29:07 +00:00
Don Allingham
4c76be91dd * src/gramps_main.py: dropped New Database message. After all, it should
be incredibly obvious.
* src/Utils.py: create_id to generate random internal ID
* src/RelLib.py: new internal ID support
* src/AddSpouse.py: bug fixes
* src/ChooseParents.py: bug fixes
* src/PeopleModel.py: bug fixes
* src/PeopleView.py: bug fixes
* src/FamilyView.py: bug fixes
* src/Bookmarks.py: support for new internal IDs
* src/EditPerson.py: support for new internal IDs
* src/plugins/ReadGedcom.py: handle new internal IDs


svn: r3233
2004-06-27 03:10:06 +00:00
Don Allingham
2bd66d6b4c pychecker fixes
svn: r3166
2004-05-13 22:45:51 +00:00
Don Allingham
1c995add59 * src/Bookmarks.py: use IDs instead of person references
* src/ChooseParents.py: allow for NOSORT option
* src/GrampsParser.py: removed
* src/GrampsXML.py: removed
* src/MediaView.py: allow for NOSORT option
* src/PedView.py: double click to edit
* src/PeopleView.py: allow for NOSORT option
* src/PlaceView.py: allow for NOSORT option
* src/RelLib.py: handle bookmarks in metadata
* src/ReadXML.py: merge GrampsParser
* src/SourceView.py: allow for NOSORT option
* src/const.py.in: fix paths for xml files
* src/gramps_main.py: bookmark fixes
* src/papersize.xml : move to data subdirectory
* src/plugins/ReadGedcom.py: fix menu string
* src/plugins/ReadNative.py: fix menu string
* src/plugins/ReadPkg.py: fix menu string


svn: r3085
2004-04-11 02:37:13 +00:00
Don Allingham
93542c93f5 * src/gramps_main.py: switch to DB as default, remove save option
* src/RelLib.py: setup DB environment better
* src/DbPrompter.py: handle save/open with new DBs


svn: r2924
2004-02-28 18:46:40 +00:00
Alex Roitman
89746a3bb0 Small fix
svn: r2916
2004-02-26 05:00:51 +00:00
Don Allingham
e2da222236 Additional Reference fixes
svn: r2888
2004-02-22 04:57:06 +00:00
Alex Roitman
976e854a2f * src/ImageSelect.py: Corrections.
* src/RelLib.py: Corrections.
* src/Sources.py: Corrections.
* src/gramps_main.py: Corrections.
* src/Bookmarks.py: Corrections.


svn: r2886
2004-02-21 18:59:45 +00:00