This commit is contained in:
guinux 2015-01-05 21:06:18 +01:00
parent 20d3b5b991
commit b14d80bf6f
2 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,13 @@
<policy context="default">
<allow send_destination="org.manjaro.pamac"
send_interface="org.manjaro.pamac"/>
<allow send_destination="org.manjaro.pamac"
send_interface="org.freedesktop.DBus.Introspectable"/>
<allow send_destination="org.manjaro.pamac"
send_interface="org.freedesktop.DBus.Peer"/>
<allow send_destination="org.manjaro.pamac"
send_interface="org.freedesktop.DBus.Properties"/>
</policy>
</busconfig>

View File

@ -582,6 +582,7 @@ namespace Pamac {
refresh_handle ();
}
[DBus (no_reply = true)]
public void quit () {
GLib.File lockfile = GLib.File.new_for_path ("/var/lib/pacman/db.lck");
if (lockfile.query_exists () == false)