FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 02-01-2008, 06:04 PM
David Lehman
 
Default Add UI for passphrase prompting to rescue mode.

---
rescue.py | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/rescue.py b/rescue.py
index 1f981ea..58a6d17 100644
--- a/rescue.py
+++ b/rescue.py
@@ -23,7 +23,7 @@
import upgrade
from snack import *
from constants_text import *
-from text import WaitWindow, OkCancelWindow, ProgressWindow, stepToClasses
+from text import WaitWindow, OkCancelWindow, ProgressWindow, PassphraseEntryWindow, stepToClasses
from flags import flags
import sys
import os
@@ -78,6 +78,12 @@ class RescueInterface:
else:
return OkCancelWindow(self.screen, title, text)

+ def passphraseEntryWindow(self, device):
+ w = PassphraseEntryWindow(self.screen, device)
+ (passphrase, isglobal) = w.run()
+ w.pop()
+ return (passphrase, isglobal)
+
def __init__(self, screen):
self.screen = screen

--
1.5.3.7

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 05:33 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org