Fix warnboxes

svn: r6403
This commit is contained in:
Don Allingham 2006-04-21 20:45:10 +00:00
parent 7b76ddc625
commit 8edee66a28
3 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,5 @@
2006-04-21 Don Allingham <don@gramps-project.org>
* src/Editors/_EditMediaRef.py: define warnbox
* src/GrampsDb/_DbUtils.py: fix old call to get_child_handle_list
* src/Editors/_EditSource.py: remove warnbox
* src/Editors/_EditMedia.py: remove warnbox

View File

@ -72,6 +72,7 @@ class EditMediaRef(EditReference):
self.define_top_level(self.top.get_widget('change_description'),
self.top.get_widget('title'),
_('Media Reference Editor'))
self.define_warn_box(self.top.get_widget("warn_box"))
def _setup_fields(self):

View File

@ -74,7 +74,6 @@ class EditReference(ManagedWindow.ManagedWindow):
ManagedWindow.ManagedWindow.__init__(self, uistate, track, source_ref)
self._local_init()
self._setup_warnbox()
self._create_tabbed_pages()
self._setup_fields()
self._connect_signals()
@ -90,9 +89,6 @@ class EditReference(ManagedWindow.ManagedWindow):
def define_warn_box(self,box):
self.warn_box = box
def _setup_warnbox(self):
pass
def enable_warnbox(self):
self.warn_box.show_all()