~ubuntu-branches/ubuntu/utopic/gramps/utopic

« back to all changes in this revision

Viewing changes to src/gui/editors/editpersonref.py

  • Committer: Package Import Robot
  • Author(s): James A. Treacy
  • Date: 2012-05-22 17:18:36 UTC
  • mfrom: (39.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20120522171836-35fi62lp4w7jnrd7
Tags: 3.4.0-1
* New upstream version
* Updated desktop file. Closes: #667472

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#
4
4
# Copyright (C) 2000-2007  Donald N. Allingham
5
5
#               2009       Gary Burton
 
6
# Copyright (C) 2011       Tim G L Lyons
6
7
#
7
8
# This program is free software; you can redistribute it and/or modify
8
9
# it under the terms of the GNU General Public License as published by
19
20
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20
21
#
21
22
 
22
 
# $Id: editpersonref.py 16781 2011-03-08 06:44:35Z vassilii $
 
23
# $Id: editpersonref.py 18548 2011-12-04 17:09:17Z kulath $
23
24
 
24
25
"""
25
26
The EditPersonRef module provides the EditPersonRef class. This provides a
50
51
from gen.lib import NoteType
51
52
from gui.widgets import MonitoredEntry, PrivacyButton
52
53
from gui.selectors import SelectorFactory
53
 
from displaytabs import SourceEmbedList, NoteTab
 
54
from displaytabs import CitationEmbedList, NoteTab
54
55
from glade import Glade
55
56
 
56
57
#-------------------------------------------------------------------------
141
142
        
142
143
        notebook = gtk.Notebook()
143
144
        
144
 
        self.srcref_list = SourceEmbedList(self.dbstate, self.uistate,
145
 
                                           self.track, self.obj)
 
145
        self.srcref_list = CitationEmbedList(self.dbstate, self.uistate,
 
146
                                             self.track, 
 
147
                                             self.obj.get_citation_list())
146
148
        self._add_tab(notebook, self.srcref_list)
147
149
        self.track_ref_for_deletion("srcref_list")
148
150