mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-08 23:23:23 -06:00
console: Fix broken size-allocate signal
This commit is contained in:
parent
dd45270ba1
commit
a102edaa89
@ -1220,7 +1220,7 @@ class vmmConsolePages(vmmGObjectUI):
|
|||||||
# dimensions can erroneously show scroll bars when they aren't needed
|
# dimensions can erroneously show scroll bars when they aren't needed
|
||||||
widget.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.NEVER)
|
widget.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.NEVER)
|
||||||
|
|
||||||
signal_id = widget.connect("size-request", request_cb)
|
signal_id = widget.connect("size-allocate", request_cb)
|
||||||
signal_holder.append(signal_id)
|
signal_holder.append(signal_id)
|
||||||
|
|
||||||
widget.queue_resize()
|
widget.queue_resize()
|
||||||
|
Loading…
Reference in New Issue
Block a user