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

« back to all changes in this revision

Viewing changes to src/gui/editors/editchildref.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-2006  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: editchildref.py 16481 2011-01-26 20:10:22Z gbritton $
 
23
# $Id: editchildref.py 18548 2011-12-04 17:09:17Z kulath $
23
24
 
24
25
"""
25
26
The EditChildRef module provides the EditChildRef class. This provides a
49
50
from gen.lib import NoteType
50
51
import Errors
51
52
from glade import Glade
52
 
from displaytabs import SourceEmbedList, NoteTab
 
53
from displaytabs import CitationEmbedList, NoteTab
53
54
from gui.widgets import MonitoredDataType, PrivacyButton
54
55
from gen.display.name import displayer as name_displayer
55
56
 
144
145
        """
145
146
        notebook = gtk.Notebook()
146
147
 
147
 
        self.srcref_list = SourceEmbedList(
148
 
                            self.dbstate, self.uistate, self.track, self.obj)
 
148
        self.srcref_list = CitationEmbedList(self.dbstate, 
 
149
                                             self.uistate, 
 
150
                                             self.track, 
 
151
                                             self.obj.get_citation_list())
149
152
        self._add_tab(notebook, self.srcref_list)
150
153
        self.track_ref_for_deletion("srcref_list")
151
154