This commit is contained in:
guinux 2015-03-10 17:14:56 +01:00
parent 83bd32c279
commit e7f0e086c7

View File

@ -20,7 +20,7 @@
namespace Pamac { namespace Pamac {
[DBus (name = "org.manjaro.pamac")] [DBus (name = "org.manjaro.pamac")]
public interface Daemon : Object { public interface Daemon : Object {
public abstract void refresh (int force, bool emit_signal) throws IOError; public abstract void start_refresh (int force, bool emit_signal) throws IOError;
} }
} }
@ -29,7 +29,7 @@ int main (string[] args) {
try { try {
daemon = Bus.get_proxy_sync (BusType.SYSTEM, "org.manjaro.pamac", daemon = Bus.get_proxy_sync (BusType.SYSTEM, "org.manjaro.pamac",
"/org/manjaro/pamac"); "/org/manjaro/pamac");
daemon.refresh (0, false); daemon.start_refresh (0, false);
} catch (IOError e) { } catch (IOError e) {
stderr.printf ("IOError: %s\n", e.message); stderr.printf ("IOError: %s\n", e.message);
} }