[systemd-devel] [PATCH 2/3] gnome-ask-password-agent: allow user to answer directly to notification
Michael Laß
bevan at bi-co.net
Sun Aug 18 13:14:35 PDT 2013
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.
---
src/gnome-ask-password-agent.vala | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gnome-ask-password-agent.vala b/src/gnome-ask-password-agent.vala
index 4d852c2..ea43b08 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;
--
1.8.3.4
More information about the systemd-devel
mailing list