hide a widget when it's unused

This commit is contained in:
Yann Leboulanger 2010-09-08 08:58:29 +02:00
parent b5b6474b96
commit c38a48f934
1 changed files with 1 additions and 1 deletions

View File

@ -2744,7 +2744,7 @@ class GroupchatConfigWindow:
self.xml.get_object('title_label').set_text(self.form.title) self.xml.get_object('title_label').set_text(self.form.title)
else: else:
self.xml.get_object('title_hseparator').set_no_show_all(True) self.xml.get_object('title_hseparator').set_no_show_all(True)
# self.xml.get_object('title_hseparator').hide() self.xml.get_object('title_hseparator').hide()
self.data_form_widget.show() self.data_form_widget.show()
config_vbox.pack_start(self.data_form_widget) config_vbox.pack_start(self.data_form_widget)