Fix warnboxes
svn: r6403
This commit is contained in:
parent
0c45b01fb6
commit
95dfa345a1
@ -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
|
||||
|
@ -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):
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user