• David Zeuthen's avatar
    Allow interaction when unmounting mounts · 99a1c473
    David Zeuthen authored
    For details, see bug 587482. The new api:
    
     - Provide new _with_operation() variants of all unmount and eject methods
    
     - Add GMountOperation::show-processes signal
       - this can be used to show processes blocking an unmount operation
    
     - Deprecate all unmount and eject methods
    
     - Add g_drive_can_start_degraded() method
       - this is to avoid auto-starting degraded drives
    
     - Make g_drive_stop() resp. g_file_stop_mountable() take a GMountOperation
       - these ops were recently added and not yet public API so it's fine
         to change how they work
    
     - Provide a way to poll mountable files, e.g. g_file_poll_mountable()
    
     - Add some missing file attributes for mountable files
      - G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE
        - needed for the GDU Nautilus extensions to format a volume
      - G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED:
        - mimics g_drive_can_start_degraded()
      - G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL:
        - mimics g_drive_can_poll_for_media()
      - G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC
        - mimics g_drive_is_media_check_automatic()
    99a1c473
Name
Last commit
Last update
build Loading commit data...
debian Loading commit data...
docs Loading commit data...
gio Loading commit data...
glib Loading commit data...
gmodule Loading commit data...
gobject Loading commit data...
gthread Loading commit data...
m4macros Loading commit data...
po Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog.pre-1-2 Loading commit data...
ChangeLog.pre-2-0 Loading commit data...
ChangeLog.pre-2-10 Loading commit data...
ChangeLog.pre-2-12 Loading commit data...
ChangeLog.pre-2-14 Loading commit data...
ChangeLog.pre-2-16 Loading commit data...
ChangeLog.pre-2-18 Loading commit data...
ChangeLog.pre-2-2 Loading commit data...
ChangeLog.pre-2-20 Loading commit data...
ChangeLog.pre-2-4 Loading commit data...
ChangeLog.pre-2-6 Loading commit data...
ChangeLog.pre-2-8 Loading commit data...
HACKING Loading commit data...
INSTALL.in Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
Makefile.decl Loading commit data...
NEWS Loading commit data...
NEWS.pre-1-3 Loading commit data...
README.commits Loading commit data...
README.in Loading commit data...
README.win32 Loading commit data...
acglib.m4 Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
config.h.win32.in Loading commit data...
configure.in Loading commit data...
gio-2.0-uninstalled.pc.in Loading commit data...
gio-2.0.pc.in Loading commit data...
gio-unix-2.0-uninstalled.pc.in Loading commit data...
gio-unix-2.0.pc.in Loading commit data...
glib-2.0-uninstalled.pc.in Loading commit data...
glib-2.0.pc.in Loading commit data...
glib-gettextize.in Loading commit data...
glib-zip.in Loading commit data...
glibconfig.h.win32.in Loading commit data...
gmodule-2.0-uninstalled.pc.in Loading commit data...
gmodule-2.0.pc.in Loading commit data...
gmodule-export-2.0.pc.in Loading commit data...
gmodule-no-export-2.0-uninstalled.pc.in Loading commit data...
gmodule-no-export-2.0.pc.in Loading commit data...
gobject-2.0-uninstalled.pc.in Loading commit data...
gobject-2.0.pc.in Loading commit data...
gthread-2.0-uninstalled.pc.in Loading commit data...
gthread-2.0.pc.in Loading commit data...
makefile.msc Loading commit data...
mkinstalldirs Loading commit data...
msvc_recommended_pragmas.h Loading commit data...
sanity_check Loading commit data...
win32-fixup.pl Loading commit data...