mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-11 05:17:59 +03:00
console: Leave scroll policy as AUTOMATIC
We shouldn't need to forcibly set it to NEVER. It doesn't seem to be required in my testing Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
95006f42ba
commit
24324bb6f5
@ -477,13 +477,6 @@ class vmmConsolePages(vmmGObjectUI):
|
||||
is_resizeguest = self._viewer.console_get_resizeguest()
|
||||
scale_factor = scroll.get_scale_factor()
|
||||
|
||||
if is_scale:
|
||||
# Make sure we never show scrollbars when scaling
|
||||
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.NEVER)
|
||||
else:
|
||||
scroll.set_policy(Gtk.PolicyType.AUTOMATIC,
|
||||
Gtk.PolicyType.AUTOMATIC)
|
||||
|
||||
# If scaling is enabled, we set the viewer widget to the same
|
||||
# size as the scrollwindow, and the viewer scales the VM to fit.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user