chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exec: support unlimited resources
[elogind.git]
/
src
/
gnome-ask-password-agent.vala
diff --git
a/src/gnome-ask-password-agent.vala
b/src/gnome-ask-password-agent.vala
index 1d3b71566353aa34b8018272213ed422592dd6bd..2bfc6a9c83a55ea346e2e84f3bce870faa2adb5b 100644
(file)
--- a/
src/gnome-ask-password-agent.vala
+++ b/
src/gnome-ask-password-agent.vala
@@
-91,7
+91,7
@@
public class MyStatusIcon : StatusIcon {
GLib.Object(icon_name : "dialog-password");
set_title("System Password Request");
GLib.Object(icon_name : "dialog-password");
set_title("System Password Request");
- directory = File.new_for_path("/
var/
run/systemd/ask-password/");
+ directory = File.new_for_path("/run/systemd/ask-password/");
file_monitor = directory.monitor_directory(0);
file_monitor.changed.connect(file_monitor_changed);
file_monitor = directory.monitor_directory(0);
file_monitor.changed.connect(file_monitor_changed);
@@
-239,7
+239,7
@@
public class MyStatusIcon : StatusIcon {
null);
OutputStream stream = new UnixOutputStream(to_process, true);
null);
OutputStream stream = new UnixOutputStream(to_process, true);
-#if
LIBNOTIFY07
+#if
VALA_0_12
stream.write(password.data, null);
#else
stream.write(password, password.length, null);
stream.write(password.data, null);
#else
stream.write(password, password.length, null);