diff options
Diffstat (limited to 'src/fe/gtk/RootPass.py')
-rw-r--r-- | src/fe/gtk/RootPass.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/fe/gtk/RootPass.py b/src/fe/gtk/RootPass.py index 8c3d397..814035a 100644 --- a/src/fe/gtk/RootPass.py +++ b/src/fe/gtk/RootPass.py @@ -73,4 +73,11 @@ confirm it (to prevent typos). msgdlg.run() msgdlg.destroy() return - self.controller.load_screen("Timezone") + progress = ProgressDialog(self.controller, ("set_root_password", ), self.progress_callback) + progress.run() + + def progress_callback(self, result, data=None): + if result == PROGRESS_DONE: + self.controller.load_screen("Timezone") + else: + GLIScreen.progress_callback(self, result, data) |