diff options
author | Vincent Untz <vuntz@novell.com> | 2008-11-21 00:04:53 +0100 |
---|---|---|
committer | Vincent Untz <vuntz@novell.com> | 2008-11-21 00:04:53 +0100 |
commit | f7efa993f16e2b5ba72cf9759a65b2ce2ef66f99 (patch) | |
tree | 74780f46fdadb5df04a6dbe744e904e91689560b /src/cups-pk-helper-mechanism.c | |
parent | f7554181d51e911e1b357934853c4d860667048a (diff) |
Rename policies with dashes, and add class-edit.
Diffstat (limited to 'src/cups-pk-helper-mechanism.c')
-rw-r--r-- | src/cups-pk-helper-mechanism.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cups-pk-helper-mechanism.c b/src/cups-pk-helper-mechanism.c index 8d4505a..e96d35e 100644 --- a/src/cups-pk-helper-mechanism.c +++ b/src/cups-pk-helper-mechanism.c @@ -809,7 +809,7 @@ cph_mechanism_printer_set_default (CphMechanism *mechanism, reset_killtimer (mechanism); if (!_check_polkit_for_action_v (mechanism, context, - "printeraddremove", "printerdefault", + "printeraddremove", "printer-default", NULL)) return FALSE; @@ -830,7 +830,7 @@ cph_mechanism_printer_set_enabled (CphMechanism *mechanism, reset_killtimer (mechanism); if (!_check_polkit_for_action_v (mechanism, context, - "printeraddremove", "printerenable", + "printeraddremove", "printer-enable", NULL)) return FALSE; @@ -873,7 +873,7 @@ cph_mechanism_server_get_settings (CphMechanism *mechanism, reset_killtimer (mechanism); - if (!_check_polkit_for_action (mechanism, context, "serversettings")) + if (!_check_polkit_for_action (mechanism, context, "server-settings")) return FALSE; settings = cph_cups_server_get_settings (mechanism->priv->cups); @@ -892,7 +892,7 @@ cph_mechanism_server_set_settings (CphMechanism *mechanism, reset_killtimer (mechanism); - if (!_check_polkit_for_action (mechanism, context, "serversettings")) + if (!_check_polkit_for_action (mechanism, context, "server-settings")) return FALSE; ret = cph_cups_server_set_settings (mechanism->priv->cups, settings); |