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

David Zeuthen david at kemper.freedesktop.org
Wed May 23 14:58:21 PDT 2012


 src/polkitbackend/polkitbackendjsauthority.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit d11c872dc2f14fb4b1661740e311087aa188263d
Author: David Zeuthen <davidz at redhat.com>
Date:   Wed May 23 17:57:55 2012 -0400

    Use "rules", not "scripts" to refer to files in rules.d
    
    Signed-off-by: David Zeuthen <davidz at redhat.com>

diff --git a/src/polkitbackend/polkitbackendjsauthority.c b/src/polkitbackend/polkitbackendjsauthority.c
index 39a6376..297b7f2 100644
--- a/src/polkitbackend/polkitbackendjsauthority.c
+++ b/src/polkitbackend/polkitbackendjsauthority.c
@@ -226,7 +226,7 @@ load_scripts (PolkitBackendJsAuthority  *authority)
       GDir *dir = NULL;
 
       polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
-                                    "Loading scripts from directory %s",
+                                    "Loading rules from directory %s",
                                     dir_name);
 
       dir = g_dir_open (dir_name,
@@ -288,7 +288,7 @@ load_scripts (PolkitBackendJsAuthority  *authority)
     }
 
   polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
-                                "Finished loading, compiling and executing %d scripts",
+                                "Finished loading, compiling and executing %d rules",
                                 num_scripts);
   g_list_free_full (files, g_free);
 }
@@ -351,7 +351,7 @@ on_dir_monitor_changed (GFileMonitor     *monitor,
            event_type == G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT))
         {
           polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),
-                                        "Reloading scripts");
+                                        "Reloading rules");
           reload_scripts (authority);
         }
       g_free (name);


More information about the hal-commit mailing list