summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2012-05-18 15:35:51 -0400
committerDavid Zeuthen <davidz@redhat.com>2012-05-18 15:35:51 -0400
commit41e56847bf00f7068a01db4be5f441777859fc84 (patch)
tree91352a0dd03ed9ce70b97e4efc0f20206ac53d7e /src
parentfcc49885d8198f404bcb9ff70d09b5dcc5e81db2 (diff)
downloadpolkit-41e56847bf00f7068a01db4be5f441777859fc84.tar.gz
Emit ::Changed signal after reloading rules
Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/polkitbackend/polkitbackendjsauthority.c2
1 files changed, 2 insertions, 0 deletions
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:
;
}