[Gtk-sharp-list] GnomeVFS

Rafael Teixeira monoman at gmail.com
Mon Jan 22 16:54:51 EST 2007


Please post a bug report.

Thanks,

On 1/22/07, Luciano _ <lnc19 at hotmail.com> wrote:
> 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
>
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." George Bernard Shaw


More information about the Gtk-sharp-list mailing list