use the right polkit action for ejecting drives
authorDavid Zeuthen <davidz@redhat.com>
Mon, 2 Mar 2009 14:11:42 +0000 (09:11 -0500)
committerDavid Zeuthen <davidz@redhat.com>
Mon, 2 Mar 2009 14:11:42 +0000 (09:11 -0500)
src/devkit-disks-device.c

index aab3935..9bf958b 100644 (file)
@@ -4778,7 +4778,7 @@ devkit_disks_device_drive_eject (DevkitDisksDevice     *device,
 
         if (!devkit_disks_damon_local_check_auth (device->priv->daemon,
                                                   pk_caller,
-                                                  "org.freedesktop.devicekit.disks.drive-eject-system-internal",
+                                                  "org.freedesktop.devicekit.disks.drive-eject",
                                                   context))
                 goto out;