Re: Add a removable device?



On Wed, 2003-12-31 at 15:38, Mattias Eriksson wrote:
> Hi
> 
> I have been working on the synce-gnome-vfs module to improve the
> filemanagement for the pocketpc. What I now would like to do is to
> communicate to nautilus when a pocketpc is connected (it is never
> mounted) so that it might be shown as a removable device. Is this
> possible and if so where do I look to see how it is done?

At the moment this is not possible with gnome-vfs methods. We only
detect when unix filesystems are mounted and add them. However, the plan
is to add some sort of api to allow gnome-vfs methods to say "hey, here
is a new volume that was plugged in". There is some initial references
to this in the GnomeVFSVolumeMonitor code, but its not really started on
yet.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a leather-clad moralistic ex-con looking for a cure to the poison 
coursing through his veins. She's a blind foul-mouthed safe cracker who hides 
her beauty behind a pair of thick-framed spectacles. They fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]