157 Commits

Author SHA1 Message Date
Tim G L Lyons
9adf8c3851 0006008: Can't edit citation record from source record reference. Explanatory warning message produced.
svn: r20427
2012-09-21 17:46:54 +00:00
Benny Malengier
03855427b7 Feature: all drop on family father/mother to set
svn: r20360
2012-09-10 20:13:32 +00:00
John Ralls
7bf5c1147e Accept control-click as an alternative for right-click when the Gdk
backend is Quartz.


This is a standard behavior on Macs, since they often have single-button 
mice or trackpads.


svn: r19753
2012-06-04 00:55:10 +00:00
Michiel Nauta
729823612e 5809: Multisurname editor impossibly narrow
svn: r19747
2012-06-03 20:11:39 +00:00
Tim G L Lyons
52079fb398 0005687: Can't delete a note, which is a citation.
svn: r19362
2012-04-19 18:39:25 +00:00
Peter Landgren
fbc58eb5e7 Fix of two typos.
svn: r18907
2012-02-17 10:37:04 +00:00
Josip Pisoj
53c9c30890 bug #5554: Automake problem
svn: r18851
2012-02-10 20:25:15 +00:00
Tim G L Lyons
86ce952db5 0005351: Focus on event window should be set to "Event type" by default. Discussion also suggests focus for EditSourceRef. This patch applies that focus algorithm to EditCitation, since this, in effect, takes the place of EditSourceRef.
svn: r18715
2012-01-07 00:10:03 +00:00
Michiel Nauta
00ac7302d3 5196: When reordering items in a list, make sure selected item is always visible
svn: r18696
2012-01-03 21:00:13 +00:00
Michiel Nauta
cce7dcc43c 5439: Wrong row when dragging upwards to move items in embedded list
svn: r18626
2011-12-18 10:06:39 +00:00
Michiel Nauta
13f3afe9aa 5349: Filter and "Quick Filter" are not applied when you press [Enter]
svn: r18585
2011-12-12 18:37:53 +00:00
Paul Franklin
c83653f017 for Python files and Makefile.am files in the "src" (only) sub-tree:
1) add SVN svn:keywords "Id" property if it didn't have it
2) add SVN svn:mime-type "text/plain" property if it didn't have it
3) add SVN "Id" line to the file if it had none


svn: r18554
2011-12-06 16:56:50 +00:00
Tim G L Lyons
a4df3034b6 Fix warning on Cancel and OK in citation editor (now allows empty citation information, and detects whether either the source or citation Gramps ID have been used, and whether either have changed when cancelling). (Part of GEPS023)
svn: r18549
2011-12-04 23:04:06 +00:00
Tim G L Lyons
c833073ba6 GEPS023: merge branch (changes 17960-18546) into trunk
svn: r18548
2011-12-04 17:09:17 +00:00
Tim G L Lyons
f694dc6d98 Adding an LDS ordinance to a family fails when bringing up the LDS Ordinance Editor.
svn: r18544
2011-12-02 21:54:46 +00:00
Tim G L Lyons
26cb74474b Removal of redundant SourceRef and related modules. Minor consequent changes.
svn: r18516
2011-11-27 17:49:25 +00:00
Tim G L Lyons
6cb761b010 Merged trunk r18398 through r18497 into geps023.
Conflicts resolved in:
    NarrativeWeb.py


svn: r18498
2011-11-24 18:15:53 +00:00
Tim G L Lyons
f0bb1205f3 Tidy up some comments
svn: r18497
2011-11-24 14:54:29 +00:00
Tim G L Lyons
14954cdd91 Fix problem with cancelling a citation edit where it thought the citation had been changed even though it had not.
svn: r18489
2011-11-22 22:32:36 +00:00
Tim G L Lyons
4de5a54136 Implement drag of source from clipboard to citation embedded tab.
Open citation editor when either a citation or a source is dropped onto citation embedded tab.

svn: r18488
2011-11-22 20:43:27 +00:00
Jérôme Rapinat
fb2e585278 5351: Focus on eventref and sourecref editors (patches by Michiel, MathieuMD); consistent editeventref.glade file and accessibilty improvement #5301 (romjerome)
svn: r18472
2011-11-21 10:45:19 +00:00
Tim G L Lyons
9f29350da4 Fix bug that wasn't taking account of the fact that event references in Person and Family have attributes which themselves can have Citations.
* In Person, add event_ref_list to get_citation_child_list (therefore it is no longer needed in get_handle_referents)
* Similarly in Family, add event_ref_list to get_citation_child_list
* Enhance upgrade to add upgrade of event_ref_list for person and family
* Add has_citation_reference, replace_citation_references and remove_citation_references to EventRef
* Change name of remove_citation_refs to remove_citation_references to be consistent with has_citation_reference (singular) and replace_citation_references

Fix editcitation because it was displaying the wrong privacy button for sources.
Also remove FIXME for editcitation for db signal connect, because comment explains why it is not needed.


svn: r18469
2011-11-20 17:42:04 +00:00
Tim G L Lyons
7ebf8de20a Implement drag and drop for citations
svn: r18438
2011-11-12 22:34:18 +00:00
Tim G L Lyons
f8f510d5f1 Delete remove_source_references and replace_source_references as they are no longer needed.
Rename remove_citation to remove_citation_refs and make it apply to a citation_handle_list.
Updated tool/Check.py to change check_source_references into check_citation_references


svn: r18433
2011-11-11 17:12:43 +00:00
Tim G L Lyons
3adb1b7ffa Merged trunk r17888 through r18397 into geps023.
Conflicts resolved in:
    /data/grampsxml.dtd
    /data/grampsxml.rng
    /src/Filters/Rules/Repository/_MatchesNameSubstringOf.py
    /src/plugins/import/ImportXml.py
(Various property conflicts also resolved)

svn: r18405
2011-11-05 19:07:58 +00:00
Tim G L Lyons
4169661302 Update uses of get_source_referents to handle citations:
* implement new Utils get_source_and_citation_referents
* Update sourceview.py and citationtreeview.py to use it
* Fix editsource.py, where deletion of a source object was not properly dealing with all possible citations
* Update mediaobj.py which still had a remnant of a source_list
* fix _HasTextMatchingSubstringOf filter to deal with text in both sources and citations

svn: r18394
2011-11-01 11:10:18 +00:00
Nick Hall
594bc9257f 5321: Tidy up code for the children tab in the family editor
svn: r18372
2011-10-25 21:31:32 +00:00
Jérôme Rapinat
effbde51a8 5310 5314: missing tags and date fields
svn: r18367
2011-10-24 10:26:09 +00:00
Paul Franklin
ba60ec4c07 missing or malformed SVN "Id" line
svn: r18361
2011-10-23 03:13:50 +00:00
Doug Blank
fd04480052 5266: Christening dates displayed as Birth dates in Family editor
svn: r18349
2011-10-18 21:10:35 +00:00
Jérôme Rapinat
dcf5fe856f 3145: improve image subsection, bug with filtered objects (patch by Robert Cheramy)
svn: r18341
2011-10-17 14:20:53 +00:00
Paul Franklin
331c135235 5128: Python files with no SVN "Id" property (& added MIME text/plain if none)
svn: r18338
2011-10-16 20:21:22 +00:00
John Ralls
59e8941495 Fix typo in src/gui/editors/displaytabs/Makefile.am
svn: r18240
2011-10-02 21:26:06 +00:00
Jérôme Rapinat
9ec57d9bec 3145: Improve image subsection selection; patch for gtk < 2.22 (by Robert Cheramy)
svn: r18239
2011-10-02 08:06:40 +00:00
Jérôme Rapinat
af1f95dbd7 3145: Improve image subsection selection (contribution by Robert Cheramy)
svn: r18212
2011-09-27 06:28:27 +00:00
Tim G L Lyons
a906c98439 Clean-up Sources and Citations views:
* Add icon for citations view
* disable old sourceview
* change citationtreeview to be Sources navigation view
* citationlistview is now the Citations view
* merge libcitationview into citationlistview and citationtreeview, and corrected and rationalised
* remove libcitationview
* corrected initialisation of source_handle in Citation.py
* fixes for preventing same source being edited twice
    - fixed blockedtext in citationembededlist
    - override build_window_key in editcitation.py

svn: r18211
2011-09-26 19:53:18 +00:00
Nick Hall
6004f5ee22 5112: Fix error when moving empty surname row
svn: r18102
2011-09-02 20:10:13 +00:00
Tim G L Lyons
bb854ec772 Modifications as suggested by Nick Hall:
* Remove inheritance of Citation from RefBase, using source_handle filed instead (similar to  the way Family objects store mother and father handles) (also use the set_ and get_reference_handle functions more consistently)
* Use get_citation_list instead of get_citation_references (more consistent with the way notes are handled)

svn: r18100
2011-09-02 10:40:53 +00:00
Tim G L Lyons
29cc4ee6e9 * various updates to CitationView, CitationEmbedView and CitationEditor to take account of Rev 17973 for two different object types in selectors
* updates to citationviews to support all the functionality (add source etc.) provided by sourceview (including different tooltips for tree view and list view)
* moved registration of citationtreeview into view.grp.py
* removed citationtreeview.grp.py module
* fixed update to citation when note is deleted
* fixed update to citation when media object is deleted
* re-enabled edit button in sourcebackreflist
* improved date display in mergecitation
* changed default note type for citation notes
* changed backref in citation editor to CitationBackRefList
* fixed removal of citation handles from the list in primary objects when a citation is deleted
* fixes for pylint

svn: r18095
2011-09-01 18:13:42 +00:00
Tim G L Lyons
5a3cef062c * Implemented merge Citation
* Updated merge Sources
* Implemented undo-redo for citations (revision 18069 had only added citations to the undo-redo list, not acted on that types of element)
* Fixed embedded lists for some of the object type editors that were done in Rev 18069
* Modified EditCitation so the source parameter is optional
* Added svn properties for all /src/Merge/merge*.py modules
* Added support for EditCitation from backreflist.py

svn: r18085
2011-08-30 10:40:30 +00:00
Michiel Nauta
319db30436 5151: Latin American surname guessing fails
svn: r18083
2011-08-29 19:06:20 +00:00
Tim G L Lyons
d3dcbb1c12 Implemented database upgrade for all eligible remaining object types.
Added Citations to undo-redo feature.
Moved Citation view within navigation pane to below Sources.
Removed useless edit button from sourcebackreflist.
Fixed default bottombar gramplets for citations. 

svn: r18069
2011-08-26 23:18:11 +00:00
Tim G L Lyons
165625715d Various enhancements:
* Modified Event object to include references to Citations
* Implemented database upgrade for Events (upgrade for Media had already been done)
* Enhanced database upgrade to do backlinks
* Modified Media object to remove sourceref
* Implemented citations bottombar gramplet
* Some minor fixes and improvements

svn: r18054
2011-08-23 16:54:03 +00:00
Nick Hall
e26c5325e0 New citation editor
svn: r17983
2011-08-01 22:49:19 +00:00
Tim G L Lyons
f9df3503b2 Added svn properties and improved some code layout (mainly long lines).
svn: r17977
2011-07-29 10:31:41 +00:00
Nick Hall
6df8226f11 Add width and height configuration settings
svn: r17961
2011-07-24 23:38:49 +00:00
Tim G L Lyons
9ff46d9eab Initial prototype.
* Changed database to introduce Citations
* Introduced new Citation Primary object and CitationBase (equivalent to CitationRef) child object
* Implemented CitationTreeModel and CitationListModel
* Implemented CitationTreeView and CitationListView for new citation views in the navigator
* Implemented EditCitation which is used both for the citation views in the navigator and for the citations of an object
* Implemented the CitationEmbedList to display the citations of an object
* Modified the bottom bar gramplets to support citations
* Implemented the citation selector.
* Modified Media object to include references to Citations
* Initial work on deleting citations


svn: r17960
2011-07-24 18:30:28 +00:00
Nick Hall
f34d60ad9d 5055: Issue warning when attempting to edit media reference when media object is already being edited
svn: r17873
2011-06-30 20:41:15 +00:00
Gary Burton
ae30ba66ad Improve alignment of gallery objects and their text labels
svn: r17721
2011-06-08 19:51:58 +00:00
Nick Hall
da70c79983 4881: Use the thumbnailer to display the image
svn: r17381
2011-05-02 18:51:33 +00:00