fix display of shared info warning box
svn: r6384
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user