diff options
author | Andrew Gaffney <agaffney@gentoo.org> | 2007-11-17 21:00:22 +0000 |
---|---|---|
committer | Andrew Gaffney <agaffney@gentoo.org> | 2007-11-17 21:00:22 +0000 |
commit | 977fc39986e059a61d578618fa96ffec48df9cbf (patch) | |
tree | 72ddb5ba3320670b768a88a0594cfd241b1c1d91 /src/fe/gtk/RootPass.py | |
parent | add get_kernpkgs_from_cd() function (diff) | |
download | gli-977fc39986e059a61d578618fa96ffec48df9cbf.tar.gz gli-977fc39986e059a61d578618fa96ffec48df9cbf.tar.bz2 gli-977fc39986e059a61d578618fa96ffec48df9cbf.zip |
rearrange a bit of code for gtkfe networkless-only transition
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/gli/trunk@1868 f8877401-5920-0410-a79b-8e2d7e04ca0d
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) |