зеркало из https://github.com/mono/mail-archives.git
92 строки
3.1 KiB
HTML
92 строки
3.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Gtk-sharp-list] GnomeVFS
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20GnomeVFS&In-Reply-To=">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="007724.html">
|
|
<LINK REL="Next" HREF="007726.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Gtk-sharp-list] GnomeVFS</H1>
|
|
<B>Luciano _</B>
|
|
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20GnomeVFS&In-Reply-To="
|
|
TITLE="[Gtk-sharp-list] GnomeVFS">lnc19 at hotmail.com
|
|
</A><BR>
|
|
<I>Mon Jan 22 07:38:06 EST 2007</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="007724.html">[Gtk-sharp-list] TreeView header problem
|
|
</A></li>
|
|
<LI>Next message: <A HREF="007726.html">[Gtk-sharp-list] GnomeVFS
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#7725">[ date ]</a>
|
|
<a href="thread.html#7725">[ thread ]</a>
|
|
<a href="subject.html#7725">[ subject ]</a>
|
|
<a href="author.html#7725">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>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
|
|
<A HREF="http://latino.msn.com/noticias/latinoseneeuu">http://latino.msn.com/noticias/latinoseneeuu</A>
|
|
|
|
</PRE>
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="007724.html">[Gtk-sharp-list] TreeView header problem
|
|
</A></li>
|
|
<LI>Next message: <A HREF="007726.html">[Gtk-sharp-list] GnomeVFS
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#7725">[ date ]</a>
|
|
<a href="thread.html#7725">[ thread ]</a>
|
|
<a href="subject.html#7725">[ subject ]</a>
|
|
<a href="author.html#7725">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">More information about the Gtk-sharp-list
|
|
mailing list</a><br>
|
|
</body></html>
|