diff options
author | David Zeuthen <davidz@redhat.com> | 2009-06-30 23:55:37 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2009-07-08 10:37:55 +0100 |
commit | cf5538067776605cb031a58ce2f77271375db498 (patch) | |
tree | 5949748bd10ae0cd41f21077659eb04b72bfdc52 /libnautilus-private/nautilus-file-private.h | |
parent | 8b7599a8897e5f5314b8637e7523f35285db118c (diff) | |
download | nautilus-cf5538067776605cb031a58ce2f77271375db498.tar.gz |
Bug 587486 – Pass GMountOperation to unmount/eject/stop ops
- Port everything to use _with_operation() variants of unmount/eject
methods
- This includes changing the NautilusFile a bit; see the patch
for details
- Add support for g_drive_can_start_degraded() so we offer
to start (degraded) drives even when g_drive_can_start()
returns FALSE
- Also add support for new mountable::* attributes so we can
have "Detect Media" items in the context menu when right-clicking
mounts/volumes/drives in computer:/// and on the desktop
Diffstat (limited to 'libnautilus-private/nautilus-file-private.h')
-rw-r--r-- | libnautilus-private/nautilus-file-private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-file-private.h b/libnautilus-private/nautilus-file-private.h index 00fa2fbc8..1d3b2bf95 100644 --- a/libnautilus-private/nautilus-file-private.h +++ b/libnautilus-private/nautilus-file-private.h @@ -217,8 +217,11 @@ struct NautilusFileDetails eel_boolean_bit can_unmount : 1; eel_boolean_bit can_eject : 1; eel_boolean_bit can_start : 1; + eel_boolean_bit can_start_degraded : 1; eel_boolean_bit can_stop : 1; eel_boolean_bit start_stop_type : 3; /* GDriveStartStopType */ + eel_boolean_bit can_poll_for_media : 1; + eel_boolean_bit is_media_check_automatic : 1; eel_boolean_bit filesystem_readonly : 1; eel_boolean_bit filesystem_use_preview : 2; /* GFilesystemPreviewType */ |