Make 'Enter' accepts LUKS passphrase (#219)
This commit is contained in:
parent
4111aa2f47
commit
c61fc09716
@ -604,6 +604,8 @@ class InstallKeyWindow:
|
||||
|
||||
class luksPassphraseWindow:
|
||||
def __init__(self, passphrase=None, preexist = False, parent = None):
|
||||
def ok(*args):
|
||||
self.win.response(gtk.RESPONSE_OK)
|
||||
luksxml = gtk.glade.XML(findGladeFile("lukspassphrase.glade"),
|
||||
domain="anaconda",
|
||||
root="luksPassphraseDialog")
|
||||
@ -637,6 +639,7 @@ class luksPassphraseWindow:
|
||||
if parent:
|
||||
self.win.set_transient_for(parent)
|
||||
|
||||
self.confirmEntry.connect('activate', ok)
|
||||
addFrame(self.win)
|
||||
|
||||
def run(self):
|
||||
|
Loading…
Reference in New Issue
Block a user