Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/hardware/nminfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hardware/nminfo.py')
-rw-r--r--shell/hardware/nminfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hardware/nminfo.py b/shell/hardware/nminfo.py
index 09226cf..c1a6326 100644
--- a/shell/hardware/nminfo.py
+++ b/shell/hardware/nminfo.py
@@ -506,7 +506,7 @@ class NMInfo(object):
self._key_dialog = None
widget.destroy()
- if response_id == gtk.RESPONSE_CANCEL:
+ if response_id in [gtk.RESPONSE_CANCEL, gtk.RESPONSE_NONE]:
# key dialog dialog was canceled; send the error back to NM
async_err_cb(CanceledKeyRequestError())
elif response_id == gtk.RESPONSE_OK: