diff options
author | Michael Laß <bevan@bi-co.net> | 2013-08-18 22:14:36 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-08-23 12:39:03 -0400 |
commit | 0bfc54dedd309b3e265fb8d514e58ac1c67811af (patch) | |
tree | 20b8906336564f46940b6e761be41be9ea4357b0 | |
parent | d622decd21d7beb30155c286e4e9d5587b458050 (diff) |
gnome-ask-password-agent: do not send password when user hits "Cancel"
When the user hits the Cancel button no action should be triggered.
-rw-r--r-- | src/gnome-ask-password-agent.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gnome-ask-password-agent.vala b/src/gnome-ask-password-agent.vala index ea43b085..571cd949 100644 --- a/src/gnome-ask-password-agent.vala +++ b/src/gnome-ask-password-agent.vala @@ -213,7 +213,8 @@ public class MyStatusIcon : StatusIcon { password_dialog = null; if (result == ResponseType.REJECT || - result == ResponseType.DELETE_EVENT) + result == ResponseType.DELETE_EVENT || + result == ResponseType.CANCEL) return; Pid child_pid; |