fix display of shared info warning box

svn: r6384
This commit is contained in:
Don Allingham
2006-04-20 22:32:17 +00:00
parent 290940a18a
commit 313c93cd03
11 changed files with 57 additions and 28 deletions

View File

@ -91,11 +91,10 @@ class EditReference(ManagedWindow.ManagedWindow):
self.warn_box = box
def _setup_warnbox(self):
if self.warn_box:
if self.source.handle:
self.warn_box.show_all()
else:
self.warn_box.hide()
pass
def enable_warnbox(self):
self.warn_box.show_all()
def define_expander(self,expander):
expander.set_expanded(True)