forked from cromer/pamac-classic
fix #18
This commit is contained in:
parent
20d3b5b991
commit
b14d80bf6f
@ -11,6 +11,13 @@
|
|||||||
<policy context="default">
|
<policy context="default">
|
||||||
<allow send_destination="org.manjaro.pamac"
|
<allow send_destination="org.manjaro.pamac"
|
||||||
send_interface="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>
|
</policy>
|
||||||
</busconfig>
|
</busconfig>
|
||||||
|
|
||||||
|
@ -582,6 +582,7 @@ namespace Pamac {
|
|||||||
refresh_handle ();
|
refresh_handle ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[DBus (no_reply = true)]
|
||||||
public void quit () {
|
public void quit () {
|
||||||
GLib.File lockfile = GLib.File.new_for_path ("/var/lib/pacman/db.lck");
|
GLib.File lockfile = GLib.File.new_for_path ("/var/lib/pacman/db.lck");
|
||||||
if (lockfile.query_exists () == false)
|
if (lockfile.query_exists () == false)
|
||||||
|
Loading…
Reference in New Issue
Block a user