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
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel