summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <zeuthen@gmail.com>2013-01-07 11:08:38 -0500
committerDavid Zeuthen <zeuthen@gmail.com>2013-01-07 11:08:38 -0500
commit4392fcbee4805ffc45a6356e9e97a833337571de (patch)
treeb0c1e77f463c42a036fc99a7704f862efd58f91b
parent1b06ec56a3bb979ed65748c6eeef5228ff31798c (diff)
Use correct polkit action
This was pointed out by Stefan BrĂ¼ns in bug 58629. https://bugs.freedesktop.org/show_bug.cgi?id=58629 Signed-off-by: David Zeuthen <zeuthen@gmail.com>
-rw-r--r--src/udiskslinuxpartition.c8
-rw-r--r--src/udiskslinuxpartitiontable.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/udiskslinuxpartition.c b/src/udiskslinuxpartition.c
index 1e8fdc6..bd233ab 100644
--- a/src/udiskslinuxpartition.c
+++ b/src/udiskslinuxpartition.c
@@ -288,7 +288,7 @@ handle_set_flags (UDisksPartition *partition,
}
else if (!udisks_daemon_util_on_same_seat (daemon, object, caller_pid))
{
- action_id = "org.freedesktop.udisks2.modify-device-system-other-seat";
+ action_id = "org.freedesktop.udisks2.modify-device-other-seat";
}
}
@@ -453,7 +453,7 @@ handle_set_name (UDisksPartition *partition,
}
else if (!udisks_daemon_util_on_same_seat (daemon, object, caller_pid))
{
- action_id = "org.freedesktop.udisks2.modify-device-system-other-seat";
+ action_id = "org.freedesktop.udisks2.modify-device-other-seat";
}
}
if (!udisks_daemon_util_check_authorization_sync (daemon,
@@ -795,7 +795,7 @@ handle_set_type (UDisksPartition *partition,
}
else if (!udisks_daemon_util_on_same_seat (daemon, object, caller_pid))
{
- action_id = "org.freedesktop.udisks2.modify-device-system-other-seat";
+ action_id = "org.freedesktop.udisks2.modify-device-other-seat";
}
}
if (!udisks_daemon_util_check_authorization_sync (daemon,
@@ -906,7 +906,7 @@ handle_delete (UDisksPartition *partition,
}
else if (!udisks_daemon_util_on_same_seat (daemon, object, caller_pid))
{
- action_id = "org.freedesktop.udisks2.modify-device-system-other-seat";
+ action_id = "org.freedesktop.udisks2.modify-device-other-seat";
}
}
if (!udisks_daemon_util_check_authorization_sync (daemon,
diff --git a/src/udiskslinuxpartitiontable.c b/src/udiskslinuxpartitiontable.c
index 33e1c53..2f99ef5 100644
--- a/src/udiskslinuxpartitiontable.c
+++ b/src/udiskslinuxpartitiontable.c
@@ -355,7 +355,7 @@ handle_create_partition (UDisksPartitionTable *table,
}
else if (!udisks_daemon_util_on_same_seat (daemon, object, caller_pid))
{
- action_id = "org.freedesktop.udisks2.modify-device-system-other-seat";
+ action_id = "org.freedesktop.udisks2.modify-device-other-seat";
}
}