summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Laß <bevan@bi-co.net>2013-08-18 22:14:35 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-08-23 12:38:52 -0400
commitd622decd21d7beb30155c286e4e9d5587b458050 (patch)
tree35c4b77bae6f814b6519cd0a417fd8d1415d4c3b
parentcbb9d743bd55790aecf27f05404c734fce61144c (diff)
gnome-ask-password-agent: allow user to answer directly to notification
Add a button "Enter password" to the notification, so that the user can directly react to the notification and does not have to use the tray icon.
-rw-r--r--src/gnome-ask-password-agent.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gnome-ask-password-agent.vala b/src/gnome-ask-password-agent.vala
index 4d852c24..ea43b085 100644
--- a/src/gnome-ask-password-agent.vala
+++ b/src/gnome-ask-password-agent.vala
@@ -188,6 +188,7 @@ public class MyStatusIcon : StatusIcon {
n.closed.connect(() => {
set_visible(true);
});
+ n.add_action("enter_pw", "Enter password", status_icon_activate);
n.show();
return true;