XMLConsole: Fix size allocate warning
It seems to be important to let all widgets realize and then hide the ones we dont want to show, instead of not showing them in the first place.
This commit is contained in:
parent
4ad5fd9cdc
commit
4f4a58e51a
|
@ -3389,7 +3389,6 @@ class XMLConsoleWindow(Gtk.Window):
|
|||
self.scrolled_input = Gtk.ScrolledWindow()
|
||||
self.scrolled_input.set_size_request(-1, 150)
|
||||
self.scrolled_input.add(self.input)
|
||||
self.scrolled_input.set_no_show_all(True)
|
||||
|
||||
self.paned = Gtk.VPaned()
|
||||
self.paned.set_vexpand(True)
|
||||
|
@ -3456,6 +3455,8 @@ class XMLConsoleWindow(Gtk.Window):
|
|||
self.create_tags()
|
||||
self.show_all()
|
||||
|
||||
self.scrolled_input.hide()
|
||||
|
||||
gajim.ged.register_event_handler('stanza-received', ged.GUI1,
|
||||
self._nec_stanza_received)
|
||||
gajim.ged.register_event_handler('stanza-sent', ged.GUI1,
|
||||
|
|
Loading…
Reference in New Issue