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

* src/Editors/_EditChildRef.py: remove debug print statements
	* src/glade/gramps.glade: wrong visible setting in child ref widget



svn: r9878
This commit is contained in:
Benny Malengier 2008-01-18 08:26:48 +00:00
parent 862f5a59be
commit 700ee1b18b
3 changed files with 6 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2008-01-18 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditChildRef.py: remove debug print statements
* src/glade/gramps.glade: wrong visible setting in child ref widget
2008-01-17 Brian Matherly <brian@gramps-project.org>
* src/ReportBase/_GraphvizReportDialog.py:
* src/ReportBase/_ReportOptions.py:

View File

@ -94,7 +94,6 @@ class EditChildRef(EditSecondary):
self.name_label.set_text(self.name)
def _setup_fields(self):
self.frel = MonitoredDataType(
self.top.get_widget('frel'),
self.obj.set_father_relation,
@ -129,13 +128,12 @@ class EditChildRef(EditSecondary):
Creates the notebook tabs and inserts them into the main
window.
"""
notebook = gtk.Notebook()
self.srcref_list = self._add_tab(
notebook,
SourceEmbedList(self.dbstate,self.uistate,self.track,self.obj))
self.note_tab = self._add_tab(
notebook,
NoteTab(self.dbstate, self.uistate, self.track,
@ -166,11 +164,9 @@ class EditChildRef(EditSecondary):
def person_change(self, handles):
# check to see if the handle matches the current object
print handles
if self.obj.ref in handles:
p = self.dbstate.db.get_person_from_handle(self.obj.ref)
self.name = name_displayer.display(p)
print 'changed label'
self.name_label.set_text(self.name)
def save(self,*obj):

View File

@ -13986,7 +13986,6 @@ Very High</property>
</widget>
<widget class="GtkDialog" id="cref_edit">
<property name="visible">True</property>
<property name="title" translatable="yes"></property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>