• Nicholas Little's avatar
    Hardware: Add DeviceChanged signal for Dap.Mtp (bgo#729438) · 5a5cb823
    Nicholas Little authored
    To use an MTP device, we must unmount it and release the connection that
    Gvfs makes. Prior to this patch, banshee considered two possible device
    events, added and removed so unmounts had to be covered by the latter
    case, causing MTP devices to be unmapped as they were being configured.
    
    This patch allows the state transition to occur with the assumption that
    the device is still physically present and allows devices which don't
    present a Mount in their VolumeAddedArgs to be recognised when their
    Mounts do become available. This has the added benefit that further down
    the line, we can add sources for yet-to-be-configured devices providing
    the user with setup or error handling instructions.
    
    As a test: without this patch, a Nexus7 device would not be recognized
    by Banshee when connecting it to a laptop running Ubuntu 14.04.
    Signed-off-by: default avatarAndrés G. Aragoneses <knocte@gmail.com>
    5a5cb823
Name
Last commit
Last update
build Loading commit data...
data Loading commit data...
docs Loading commit data...
extras Loading commit data...
help Loading commit data...
po Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
AUTHORS Loading commit data...
Banshee.sln Loading commit data...
COPYING Loading commit data...
HACKING Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.l10n Loading commit data...
autogen.sh Loading commit data...
banshee.doap Loading commit data...
bootstrap-bundle Loading commit data...
configure.ac Loading commit data...
profile-configure Loading commit data...
release-rc Loading commit data...