Commit a4c82784 authored by Philipp Hörist's avatar Philipp Hörist

ChatControl: Remove usage of widget_set_visible()

parent 687d0fda
......@@ -104,8 +104,8 @@ class ChatControl(ChatControlBase):
self.toggle_emoticons()
self.widget_set_visible(self.xml.banner_eventbox,
app.config.get('hide_chat_banner'))
if not app.config.get('hide_chat_banner'):
self.xml.banner_eventbox.set_no_show_all(False)
self.xml.sendfile_button.set_action_name(
'win.send-file-%s' % self.control_id)
......
......@@ -361,8 +361,8 @@
<child>
<object class="GtkEventBox" id="banner_eventbox">
<property name="name">ChatControl-BannerEventBox</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment