Commit Graph

345 Commits

Author SHA1 Message Date
Zsolt Foldvari
998908175f Issue #0002175: Change type() expressions to isinstance() expressions.
Patch from Gerald Britton <gerald.britton@gmail.com>


svn: r10762
2008-05-25 19:55:47 +00:00
Zsolt Foldvari
04a7358fb8 Add missing gettext import. Pylint fixes.
svn: r10756
2008-05-22 19:06:49 +00:00
Zsolt Foldvari
b58bc881d7 #0002160: add missing import statement.
svn: r10755
2008-05-22 18:57:09 +00:00
Zsolt Foldvari
30ab5de58d Remove "The Gramps Developers" as copyright holder.
svn: r10711
2008-05-12 12:03:18 +00:00
Zsolt Foldvari
0e3013982e Move src/objectentries.py to src/Editors/ObjectEntries.py.
svn: r10710
2008-05-12 10:43:43 +00:00
Zsolt Foldvari
c6203b282b Reorganize custom widgets into a new 'widgets' package.
4. Blow up 'grampswidgets' module into several smaller modules.
Also move 'objectentry' module out from 'widgets' to src/, otherwise there
would be circular dependency between the 'Editors' and 'widgets' packages.


svn: r10703
2008-05-11 16:22:14 +00:00
Zsolt Foldvari
55bc655c30 Reorganize custom widgets into a new 'widgets' package.
2. Update Makefiles


svn: r10695
2008-05-08 19:49:50 +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
Zsolt Foldvari
86a4566abf Avoid accessing private class variable in StyledTextTagType.
svn: r10655
2008-05-02 10:14:39 +00:00
Zsolt Foldvari
9bf1c718f6 Move STYLE_TYPE and STYLE_DEFAULT constants from StyledTextBuffer to StyledTextTagType.
svn: r10629
2008-04-23 13:34:13 +00:00
Zsolt Foldvari
40884d66f6 Move the 'Clear Markup' button to the right end of the toolbar.
svn: r10628
2008-04-23 12:35:44 +00:00
Zsolt Foldvari
a4e1be7d62 Catch ValueError exception in case of 'foregin' gtk.TextTags in the text.
svn: r10627
2008-04-23 09:54:30 +00:00
Zsolt Foldvari
d003d5e61b Refactoring:
-  better functionality devision between buffer and editor;
 -  better integration with StyledTextTagType;
 -  font family and font size tags are separated;
 -  new font family and font size toolbar widgets;


svn: r10626
2008-04-23 09:07:02 +00:00
Gary Burton
3d86859bc9 Make source reference window remember size
svn: r10595
2008-04-19 20:56:01 +00:00
Benny Malengier
af4b3b3299 Improve popup message of clear button
svn: r10551
2008-04-11 13:59:32 +00:00
Zsolt Foldvari
5fb6146a3d Custom font selector dialog as a workaround for conflicting font style settings.
svn: r10547
2008-04-11 10:28:19 +00:00
Gary Burton
18f863e84f Stop crash on media editor when no image present bug #2014
svn: r10544
2008-04-10 21:36:35 +00:00
Zsolt Foldvari
b96da1a76e Typo: changing note to preformatted raised exception.
svn: r10523
2008-04-08 15:29:03 +00:00
Brian Matherly
06cf9ea0fd Fix thumbnail display of media files with accented characters in their names in the media editor.
svn: r10492
2008-04-06 03:36:36 +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
Zsolt Foldvari
2d663ce2ee Add src/Editors/_StyledTextEditor.py to Makefile.
svn: r10469
2008-04-04 20:12:50 +00:00
Zsolt Foldvari
1e95aba51b Pylint corrections and documentation.
svn: r10468
2008-04-04 20:09:26 +00:00
Zsolt Foldvari
a3d9f4df6a Moving out StyledTextEditor from EditNote.
Changing spell checking chooser from Combo to submenu.


svn: r10464
2008-04-04 11:51:49 +00:00
Kees Bakker
f3ed8061a2 Added the new styled text modules.
* src/gen/lib/Makefile.am
        * src/Editors/Makefile.am


svn: r10460
2008-04-03 18:32:29 +00:00
Zsolt Foldvari
c773f9dd67 Add '_' prefix for private method names.
svn: r10453
2008-04-02 20:34:29 +00:00
Doug Blank
6dfbb37562 0001996: typo in variable name that makes the application crashing
svn: r10427
2008-03-30 21:22:53 +00:00
Zsolt Foldvari
0542a9b78c Introducing StyledText in Notes.
svn: r10410
2008-03-28 23:22:46 +00:00
Zsolt Foldvari
2642641b84 Changing the way of how formatted Notes are stored:
remove 'Markup' optional parameter from gen.lib.note.Note.get() method.


svn: r10288
2008-03-13 10:44:22 +00:00
Brian Matherly
fa0b508924 0001863: <gramps> tags in notes, consistency. This should be in all notes or only in the ones that have markup
Markup has been disabled for notes. A new strategy is being worked on to allow styles for notes.

svn: r10230
2008-03-08 21:20:42 +00:00
Benny Malengier
d43fc26169 2008-02-29 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: find_family_from_handle returns tuple
	* src/Editors/_EditPerson.py: don't use find_person but get_person

2008-02-29 Raphael Ackermann <raphael.ackermann@gmail.com>
2008-02-28 Jim Sack <jgsack@san.rr.com>


svn: r10142
2008-02-29 09:02:43 +00:00
Raphael Ackermann
896ecd2949 2008-02-27 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Editors/_EditNote.py: empty_object() add extratype to object
	0001476: Opening the new note dialog/editor and cancelling shouldn't ask 
	to save changes. there are no changes 

svn: r10133
2008-02-28 00:29:51 +00:00
Raphael Ackermann
20426f36e3 2008-02-24 Raphael Ackermann <raphael.ackermann@gmail.com>
* Editors/_EditRepository.py
	* Editors/_EditFamily.py
	* DisplayTabs/_SourceEmbedList.py
	* DisplayTabs/_PersonRefEmbedList.py
	* DisplayTabs/_RepoEmbedList.py
	* DisplayTabs/_AddrEmbedList.py
	* DisplayTabs/_WebEmbedList.py
	* DisplayTabs/_NameEmbedList.py
	* DisplayTabs/_EventEmbedList.py
	* DisplayTabs/_EmbeddedList.py
	* DisplayTabs/_NoteTab.py
	* DisplayTabs/_LocationEmbedList.py
	* DisplayTabs/_ButtonTab.py
	* DisplayTabs/_DataEmbedList.py
	* DisplayTabs/_AttrEmbedList.py
	* DisplayTabs/_LdsEmbedList.py
	* DisplayTabs/_GrampsTab.py
	add Up and Down buttons to the tabs. Added individual tooltips for buttons
	0001807: Missing buttons MoveUp, MoveDown on a Events list in a person...

svn: r10108
2008-02-24 18:58:45 +00:00
Gary Burton
f6f9fbafdc 2008-02-22 Gary Burton <gary.burton@zen.co.uk>
* src/Editors/_EditPerson.py: Fixed crash on clicking OK to save name
	change. Bug #1783



svn: r10107
2008-02-24 17:08:38 +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
Gary Burton
3171f0f756 * src/Editors/_EditFamily.py: Add fallback dates for birth and death
Bug #1785

2008-02-22 Gary Burton <gary.burton@zen.co.uk>


svn: r10097
2008-02-22 23:53:24 +00:00
Gary Burton
a58e6fdb60 2008-02-22 Gary Burton <gary.burton@zen.co.uk>
* src/DataViews/RelationView.py:
	* src/Editors/_EditFamily.py:
	* src/Editors/_EditChildRef.py
	Fix crash on doubleclicking buttons. Bug #1802



svn: r10096
2008-02-22 22:09:39 +00:00
Raphael Ackermann
dab5470dec 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Editors/_EditAddress.py
    * src/Editors/_EditName.py
    * src/Editors/_EditPersonRef.py
    * src/plugins/FindDupers.py
    * src/ReportBase/_StyleEditor.py
    * src/MarkupText.py
    Fix import issues introduce through previous commit.
    #0001791 fixed

svn: r10056
2008-02-18 23:48:35 +00:00
Raphael Ackermann
90f883e46d 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/* 143 files
    * test/try_tree_model.py
    * windows/nsis/gcheck.py
    imports cleanup

svn: r10055
2008-02-18 20:07:09 +00:00
Erik De Richter
a22c0aee1d wiki manual link
svn: r10053
2008-02-18 16:29:43 +00:00
Raphael Ackermann
9aee82d6d0 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/DataViews/EventView.py
	* src/DataViews/FamilyList.py
	* src/DataViews/PedigreeView.py
	* src/DataViews/PersonView.py
	* src/GrampsCfg.py
	* src/Editors/_EditPrimary.py
	* src/DisplayTabs/_EmbeddedList.py
	* src/DisplayTabs/_BackRefList.py
	* src/plugins/RelCalc.py
	* src/QuickReports.py
	* src/Relationship.py
	* src/Selectors/_BaseSelector.py
	* src/GrampsWidgets.py
	* src/DbManager.py
	* src/DisplayState.py
	* src/DisplayModels/_BaseModel.py
	* src/DisplayModels/_PeopleModel.py
	* src/GrampsDbUtils/_GrampsDbWriteXML.py
	* src/gramps_main.py
	* src/Filters/Rules/_MatchesFilterBase.py
	* src/ManagedWindow.py
	pep8 updates. replace ''' with """ for comments
	* src/GrampsDbUtils/_WriteGedcom.py: doc fixes
	added support for exportin source, notes and repos that are not linked to 
	other records.
	0001707: export to gedcom doesn't include source, if source is the only 
	thing in the db 

svn: r10051
2008-02-18 15:52:40 +00:00
Benny Malengier
55ba9c4d37 2008-02-15 Benny Malengier <benny.malengier@gramps-project.org>
* src/DataViews/RelationView.py
	* src/DataViews/PedigreeView.py
	* src/ReportBase/_ReportUtils.py
	* src/Editors/_EditPerson.py
	* src/Editors/_EditMediaRef.py
	* src/DisplayTabs/_GalleryTab.py: also correct wrong popup menu
	* src/plugins/Summary.py
	* src/plugins/WriteCD.py
	* src/plugins/IndivComplete.py
	* src/plugins/NarrativeWeb.py
	* src/plugins/WritePkg.py
	* src/plugins/GVFamilyLines.py
	* src/plugins/DefaultGramplets.py
	* src/plugins/SimpleBookTitle.py
	* src/plugins/Check.py
	* src/plugins/GVRelGraph.py
	* src/plugins/FamilyLines.py
	* src/Selectors/_SelectObject.py
	* src/GrampsDbUtils/_WriteGedcom.py
	#1787, #1208: use relative path correctly



svn: r10048
2008-02-18 14:06:41 +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
Gary Burton
6ba049eb94 2008-02-15 Gary Burton <gary.burton@zen.co.uk>
* src/DataViews/RelationView.py:
	* src/Editors/_EditFamily.py: prevent right mouse button causing crash.
	Bug #1729



svn: r10041
2008-02-15 22:44:39 +00:00
Benny Malengier
15e789467b 2008-02-15 Benny Malengier <benny.malengier@gramps-project.org>
* src/DisplayTabs/_SourceEmbedList.py:
	* src/DisplayTabs/_PersonRefEmbedList.py:
	* src/DisplayTabs/_RepoEmbedList.py:
	* src/DisplayTabs/__init__.py:
	* src/DisplayTabs/_AddrEmbedList.py:
	* src/DisplayTabs/_WebEmbedList.py:
	* src/DisplayTabs/_NameEmbedList.py:
	* src/DisplayTabs/_EventEmbedList.py:
	* src/DisplayTabs/_EmbeddedList.py:
	* src/DisplayTabs/_GalleryTab.py:
	* src/DisplayTabs/_BackRefList.py:
	* src/DisplayTabs/_NoteTab.py:
	* src/DisplayTabs/_LocationEmbedList.py:
	* src/DisplayTabs/_ButtonTab.py:
	* src/DisplayTabs/_DataEmbedList.py:
	* src/DisplayTabs/_AttrEmbedList.py:
	* src/DisplayTabs/_LdsEmbedList.py:
	* src/DisplayTabs/_GrampsTab.py:
	* src/Editors/_EditPrimary.py:
	* src/Editors/_EditPlace.py:
	* src/Editors/_EditSecondary.py:
	* src/Editors/_EditSourceRef.py:
	* src/Editors/_EditReference.py:
	* src/Editors/_EditRepoRef.py:
	* src/Editors/_EditNote.py:
	* src/Editors/_EditMediaRef.py:
	* src/Editors/_EditEventRef.py:
	* src/Editors/_EditName.py:
	* src/Editors/_EditFamily.py:
	Add mnemonics for all tabs, eg ALT+S and INSERT to move to sources and
	insert a new source.
	* src/DisplayTabs/_TextTab.py:
	* src/DisplayTabs/Makefile.am:
	* po/POTFILES.in:
	Remove unused TextTab



svn: r10040
2008-02-15 22:38:47 +00:00
Benny Malengier
470232fa5a 2008-02-15 Benny Malengier <benny.malengier@gramps-project.org>
* src/DateEdit.py: example use of help
	* src/GrampsDisplay.py: internationalization of help system
	* src/Editors/_EditPrimary.py: define_help_button link to webpage
	* src/Editors/_EditSecondary.py: define_help_button link to webpage
	* src/Editors/_EditReference.py: define_help_button link to webpage
	* src/Editors/_EditFamily.py: remove empty line



svn: r10036
2008-02-15 11:40:17 +00:00
Benny Malengier
06b2b6da38 * src/DisplayTabs/_EmbeddedList.py: allow to define middle click
* src/Editors/_EditFamily.py: middle click on child calls edit child

2008-02-12 Benny Malengier <benny.malengier@gramps-project.org>


svn: r10021
2008-02-12 12:38:47 +00:00
Benny Malengier
3dbfd6cbac 2008-02-12 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditFamily.py: popup: edit child at top, add images.
	* src/DisplayTabs/_EmbeddedList.py: allow popup with image/custom text
	* src/DisplayModels/_BaseModel.py: add comment to function
	* src/DisplayModels/_NoteModel.py: test, UTF-8 for preview



svn: r10020
2008-02-12 12:17:58 +00:00
Brian Matherly
ddd23a5164 Fix saving notes without marker being set.
svn: r10018
2008-02-12 04:21:14 +00:00
Benny Malengier
a1897e68d9 * src/plugins/MediaManager.py: conversion functions of path
* src/Utils.py: general methods to convert abs to rel
	* src/Editors/AddMedia.py: show existing descr and select file if pos
	* src/Editors/_EditPerson.py: view photo needs db for media path
	* src/Editors/_EditMedia.py: better path/mime handling
	* src/DataViews/MediaView.py: use full path to view
	Start of issue #1208

2008-02-11 Benny Malengier <benny.malengier@gramps-project.org>


svn: r10017
2008-02-11 22:27:24 +00:00
Benny Malengier
c11f6d6a1b 2008-02-11 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditFamily.py: call editprimary correctly, double gid



svn: r10016
2008-02-11 09:01:57 +00:00