From 95dfa345a18e0965ff493ab27220f9796037bbd3 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 21 Apr 2006 20:45:10 +0000 Subject: [PATCH] Fix warnboxes svn: r6403 --- ChangeLog | 1 + src/Editors/_EditMediaRef.py | 1 + src/Editors/_EditReference.py | 4 ---- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7fb702496..ce65a230c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ 2006-04-21 Don Allingham + * 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 diff --git a/src/Editors/_EditMediaRef.py b/src/Editors/_EditMediaRef.py index beb673d6e..50278f1f4 100644 --- a/src/Editors/_EditMediaRef.py +++ b/src/Editors/_EditMediaRef.py @@ -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): diff --git a/src/Editors/_EditReference.py b/src/Editors/_EditReference.py index e5961b7cc..1784fffaf 100644 --- a/src/Editors/_EditReference.py +++ b/src/Editors/_EditReference.py @@ -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()