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:
parent
862f5a59be
commit
700ee1b18b
@ -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>
|
2008-01-17 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/ReportBase/_GraphvizReportDialog.py:
|
* src/ReportBase/_GraphvizReportDialog.py:
|
||||||
* src/ReportBase/_ReportOptions.py:
|
* src/ReportBase/_ReportOptions.py:
|
||||||
|
@ -94,7 +94,6 @@ class EditChildRef(EditSecondary):
|
|||||||
self.name_label.set_text(self.name)
|
self.name_label.set_text(self.name)
|
||||||
|
|
||||||
def _setup_fields(self):
|
def _setup_fields(self):
|
||||||
|
|
||||||
self.frel = MonitoredDataType(
|
self.frel = MonitoredDataType(
|
||||||
self.top.get_widget('frel'),
|
self.top.get_widget('frel'),
|
||||||
self.obj.set_father_relation,
|
self.obj.set_father_relation,
|
||||||
@ -129,13 +128,12 @@ class EditChildRef(EditSecondary):
|
|||||||
Creates the notebook tabs and inserts them into the main
|
Creates the notebook tabs and inserts them into the main
|
||||||
window.
|
window.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
notebook = gtk.Notebook()
|
notebook = gtk.Notebook()
|
||||||
|
|
||||||
self.srcref_list = self._add_tab(
|
self.srcref_list = self._add_tab(
|
||||||
notebook,
|
notebook,
|
||||||
SourceEmbedList(self.dbstate,self.uistate,self.track,self.obj))
|
SourceEmbedList(self.dbstate,self.uistate,self.track,self.obj))
|
||||||
|
|
||||||
self.note_tab = self._add_tab(
|
self.note_tab = self._add_tab(
|
||||||
notebook,
|
notebook,
|
||||||
NoteTab(self.dbstate, self.uistate, self.track,
|
NoteTab(self.dbstate, self.uistate, self.track,
|
||||||
@ -166,11 +164,9 @@ class EditChildRef(EditSecondary):
|
|||||||
|
|
||||||
def person_change(self, handles):
|
def person_change(self, handles):
|
||||||
# check to see if the handle matches the current object
|
# check to see if the handle matches the current object
|
||||||
print handles
|
|
||||||
if self.obj.ref in handles:
|
if self.obj.ref in handles:
|
||||||
p = self.dbstate.db.get_person_from_handle(self.obj.ref)
|
p = self.dbstate.db.get_person_from_handle(self.obj.ref)
|
||||||
self.name = name_displayer.display(p)
|
self.name = name_displayer.display(p)
|
||||||
print 'changed label'
|
|
||||||
self.name_label.set_text(self.name)
|
self.name_label.set_text(self.name)
|
||||||
|
|
||||||
def save(self,*obj):
|
def save(self,*obj):
|
||||||
|
@ -13986,7 +13986,6 @@ Very High</property>
|
|||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
<widget class="GtkDialog" id="cref_edit">
|
<widget class="GtkDialog" id="cref_edit">
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="title" translatable="yes"></property>
|
<property name="title" translatable="yes"></property>
|
||||||
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
||||||
<property name="window_position">GTK_WIN_POS_NONE</property>
|
<property name="window_position">GTK_WIN_POS_NONE</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user