06f5e4fd8f
fix fdo#58629 same as MR#1196 against openSUSE_12.2:Update OBS-URL: https://build.opensuse.org/request/show/147391 OBS-URL: https://build.opensuse.org/package/show/Base:System/udisks2?expand=0&rev=24
54 lines
2.2 KiB
Diff
54 lines
2.2 KiB
Diff
diff --git a/src/udiskslinuxpartition.c b/src/udiskslinuxpartition.c
|
|
index 9582346..e3ae93f 100644
|
|
--- a/src/udiskslinuxpartition.c
|
|
+++ b/src/udiskslinuxpartition.c
|
|
@@ -269,7 +269,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";
|
|
}
|
|
|
|
if (!udisks_daemon_util_check_authorization_sync (daemon,
|
|
@@ -414,7 +414,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,
|
|
@@ -596,7 +596,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,
|
|
@@ -769,7 +769,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 8f0d3d9..b553625 100644
|
|
--- a/src/udiskslinuxpartitiontable.c
|
|
+++ b/src/udiskslinuxpartitiontable.c
|
|
@@ -336,7 +336,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";
|
|
}
|
|
|
|
if (!udisks_daemon_util_check_authorization_sync (daemon,
|