system: fix an issue with the updater dialog getting off screen

This commit is contained in:
alfrix 2022-09-02 21:19:17 -03:00
parent 07b134f1a0
commit 2939bbe543

View File

@ -253,7 +253,7 @@ class SystemPanel(ScreenPanel):
] ]
scroll = self._gtk.ScrolledWindow() scroll = self._gtk.ScrolledWindow()
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC) scroll.set_property("overlay-scrolling", True)
self.labels['update_progress'] = Gtk.Label(_("Starting recovery for") + f' {program}...') self.labels['update_progress'] = Gtk.Label(_("Starting recovery for") + f' {program}...')
self.labels['update_progress'].set_halign(Gtk.Align.START) self.labels['update_progress'].set_halign(Gtk.Align.START)
@ -296,7 +296,7 @@ class SystemPanel(ScreenPanel):
] ]
scroll = self._gtk.ScrolledWindow() scroll = self._gtk.ScrolledWindow()
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC) scroll.set_property("overlay-scrolling", True)
if "full" in info: if "full" in info:
self.labels['update_progress'] = Gtk.Label(_("Updating") + '\n') self.labels['update_progress'] = Gtk.Label(_("Updating") + '\n')