PolicyKit: Branch 'wip/js-rule-files'

David Zeuthen david at kemper.freedesktop.org
Fri May 18 12:36:05 PDT 2012


 src/polkitbackend/polkitbackendjsauthority.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 41e56847bf00f7068a01db4be5f441777859fc84
Author: David Zeuthen <davidz at redhat.com>
Date:   Fri May 18 15:35:51 2012 -0400

    Emit ::Changed signal after reloading rules
    
    Signed-off-by: David Zeuthen <davidz at redhat.com>

diff --git a/src/polkitbackend/polkitbackendjsauthority.c b/src/polkitbackend/polkitbackendjsauthority.c
index bd881a2..b3669d5 100644
--- a/src/polkitbackend/polkitbackendjsauthority.c
+++ b/src/polkitbackend/polkitbackendjsauthority.c
@@ -276,6 +276,8 @@ reload_scripts (PolkitBackendJsAuthority *authority)
 
   load_scripts (authority);
 
+  /* Let applications know we have new rules... */
+  g_signal_emit_by_name (authority, "changed");
  out:
   ;
 }


More information about the hal-commit mailing list