diff --git a/subiquity/core.py b/subiquity/core.py index 56ebc44b..d06c8d19 100644 --- a/subiquity/core.py +++ b/subiquity/core.py @@ -68,7 +68,6 @@ class Subiquity(Application): self.controllers.remove("Zdev") super().__init__(opts) - self.ui.progress_completion += 1 self.block_log_dir = block_log_dir if opts.snaps_from_examples: connection = FakeSnapdConnection( diff --git a/subiquitycore/ui/frame.py b/subiquitycore/ui/frame.py index 1f908910..3fa692a5 100644 --- a/subiquitycore/ui/frame.py +++ b/subiquitycore/ui/frame.py @@ -20,7 +20,7 @@ import logging from urwid import ( Text, ) -from subiquitycore.ui.anchors import Header, Footer +from subiquitycore.ui.anchors import Header from subiquitycore.ui.container import ( ListBox, Pile, @@ -38,16 +38,9 @@ class SubiquityCoreUI(WidgetWrap): def __init__(self): self.header = Header("") - self.footer = Footer("", self.right_icon, 0, 1) - self.progress_current = 0 - self.progress_completion = 0 - # After the install starts, we want to stop setting the footer - # from the body view. - self.auto_footer = True self.pile = Pile([ ('pack', self.header), ListBox([Text("")]), - ('pack', self.footer), ]) super().__init__(Color.body(self.pile)) @@ -58,11 +51,7 @@ class SubiquityCoreUI(WidgetWrap): self._assign_contents(0, Header(title)) def set_footer(self, message): - self._assign_contents( - 2, - Footer( - message, self.right_icon, - self.progress_current, self.progress_completion)) + pass @property def body(self): @@ -71,5 +60,3 @@ class SubiquityCoreUI(WidgetWrap): def set_body(self, widget): self.set_header(_(widget.title)) self._assign_contents(1, widget) - if self.auto_footer: - self.set_footer(_(widget.footer))