[gnome-settings-daemon] Check for correct PolicyKit action
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] Check for correct PolicyKit action
- Date: Thu, 24 Mar 2011 10:14:28 +0000 (UTC)
commit a7d297102c4a98048ff4468e19270b3a272ed0a8
Author: Sebastien Bacher <seb128 ubuntu com>
Date: Thu Mar 24 11:13:49 2011 +0100
Check for correct PolicyKit action
https://bugzilla.gnome.org/show_bug.cgi?id=645603
plugins/datetime/gsd-datetime-mechanism.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/datetime/gsd-datetime-mechanism.c b/plugins/datetime/gsd-datetime-mechanism.c
index 4f34f0b..2c43a4a 100644
--- a/plugins/datetime/gsd-datetime-mechanism.c
+++ b/plugins/datetime/gsd-datetime-mechanism.c
@@ -869,7 +869,7 @@ gsd_datetime_mechanism_can_set_time (GsdDatetimeMechanism *mechanism,
DBusGMethodInvocation *context)
{
check_can_do (mechanism,
- "org.gnome.settingsdaemon.datetimemechanism.settime",
+ "org.gnome.settingsdaemon.datetimemechanism.configure",
context);
return TRUE;
@@ -880,7 +880,7 @@ gsd_datetime_mechanism_can_set_timezone (GsdDatetimeMechanism *mechanism,
DBusGMethodInvocation *context)
{
check_can_do (mechanism,
- "org.gnome.settingsdaemon.datetimemechanism.settimezone",
+ "org.gnome.settingsdaemon.datetimemechanism.configure",
context);
return TRUE;
@@ -891,7 +891,7 @@ gsd_datetime_mechanism_can_set_using_ntp (GsdDatetimeMechanism *mechanism,
DBusGMethodInvocation *context)
{
check_can_do (mechanism,
- "org.gnome.settingsdaemon.datetimemechanism.configurentp",
+ "org.gnome.settingsdaemon.datetimemechanism.configure",
context);
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]