Merge pull request #539 from mwhudson/dont-call-default
update a few leftover calls to controller.default()
This commit is contained in:
commit
cff9b057d4
|
@ -103,12 +103,12 @@ class FilesystemController(BaseController):
|
|||
else:
|
||||
self._probe_state = ProbeState.FAILED
|
||||
if self.showing:
|
||||
self.default()
|
||||
self.start_ui()
|
||||
else:
|
||||
self._probe_state = ProbeState.DONE
|
||||
# Should do something here if probing found no devices.
|
||||
if self.showing:
|
||||
self.default()
|
||||
self.start_ui()
|
||||
|
||||
def _check_probe_timeout(self):
|
||||
log.debug("_check_probe_timeout")
|
||||
|
|
|
@ -254,7 +254,7 @@ class InstallProgressController(BaseController):
|
|||
self.progress_view.set_status(('info_error',
|
||||
_("An error has occurred")))
|
||||
self.progress_view.show_complete(True)
|
||||
self.default()
|
||||
self.start_ui()
|
||||
|
||||
def _bg_run_command_logged(self, cmd, **kwargs):
|
||||
cmd = ['systemd-cat', '--level-prefix=false',
|
||||
|
|
|
@ -533,7 +533,7 @@ class FilesystemView(BaseView):
|
|||
self.show_stretchy_overlay(VolGroupStretchy(self))
|
||||
|
||||
def cancel(self, button=None):
|
||||
self.controller.default()
|
||||
self.controller.start_ui()
|
||||
|
||||
def reset(self, button):
|
||||
self.controller.reset()
|
||||
|
|
|
@ -150,7 +150,7 @@ class GuidedDiskSelectionView(BaseView):
|
|||
+ _("Choose the disk to install to:"))))
|
||||
|
||||
def cancel(self, btn=None):
|
||||
self.controller.default()
|
||||
self.controller.start_ui()
|
||||
|
||||
def choose_disk(self, btn, disk):
|
||||
self.controller.reformat(disk)
|
||||
|
|
Loading…
Reference in New Issue