[Gtk-sharp-list] GnomeVFS

Luciano _ lnc19 at hotmail.com
Mon Jan 22 07:38:06 EST 2007


Hi:
I'm having a problem with a gnomeVfs class (Drive) to mount / unmount a 
DVD-Rom drive and ActionUri property:

VolumeMonitor vm = VolumeMonitor.Get();

protected void TestDrive() {
       foreach (Drive d in vm.ConnectedDrives) {
               d.Mount(mycallback)
       }
}

proteced void mycallback(bool succeded, string error, string error_detailed)
{
    // The callback;
   // If i get the drive here, and i see IsMounted property, is false.
}

This code is working, but i get some *Console.WriteLine* information from 
the class-library (I guess so). And other bad behavior is that i get 
d.ActivationUri = null and i need to get 
myDrive.MountedVolumes.ActivationUri (which is marked as obsolete).

I try to get the source code from gtk-sharp (which i guess get gnomevfs too) 
and i cannot found drive class. Where is it?
Do i fill a bug report?
Is someone fixing bug reports?
Thanks in advanced.
Luciano

_________________________________________________________________
Latinos en EE.UU: noticias y artículos de interés para ti 
http://latino.msn.com/noticias/latinoseneeuu



More information about the Gtk-sharp-list mailing list