summaryrefslogtreecommitdiffstats
path: root/iw/blpasswidget.py
diff options
context:
space:
mode:
authorRadek Vykydal <rvykydal@redhat.com>2009-09-21 16:45:40 +0200
committerRadek Vykydal <rvykydal@redhat.com>2009-09-21 17:33:56 +0200
commita662f92a2cee93e218b9d865d823267d7cc57314 (patch)
treeb2db7bddec34512788ad52fc4d09570d97447522 /iw/blpasswidget.py
parentd278a3f5e8ac6d67406b02a2b2406b030ba83644 (diff)
downloadanaconda-a662f92a2cee93e218b9d865d823267d7cc57314.tar.gz
anaconda-a662f92a2cee93e218b9d865d823267d7cc57314.tar.xz
anaconda-a662f92a2cee93e218b9d865d823267d7cc57314.zip
Handle Esc keypress in (some more) dialogs as Cancel - (#520110).
Addition to patch 4fff93ac8e3b3187af5f50d17a065fafc610a5df.
Diffstat (limited to 'iw/blpasswidget.py')
-rw-r--r--iw/blpasswidget.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/iw/blpasswidget.py b/iw/blpasswidget.py
index d1a72a8d6..e23e07dc9 100644
--- a/iw/blpasswidget.py
+++ b/iw/blpasswidget.py
@@ -132,7 +132,7 @@ class BootloaderPasswordWidget:
while 1:
rc = dialog.run()
- if rc == 2:
+ if rc in [2, gtk.RESPONSE_DELETE_EVENT]:
break
if pwEntry.get_text() != confirmEntry.get_text():