2004-12-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* sample/gnomevfs/TestVolumes.cs: Update sample. svn path=/trunk/gtk-sharp/; revision=38131
This commit is contained in:
parent
a1755d7914
commit
db2ab91013
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2004-12-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||||
|
|
||||||
|
* sample/gnomevfs/TestVolumes.cs: Update sample.
|
||||||
|
|
||||||
2004-12-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
2004-12-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
|
||||||
|
|
||||||
* gnomevfs/Gnomevfs.metadata: Hide some more API.
|
* gnomevfs/Gnomevfs.metadata: Hide some more API.
|
||||||
|
|
|
@ -13,12 +13,12 @@ namespace Test.Gnome.Vfs {
|
||||||
monitor.VolumeMounted += OnVolumeMounted;
|
monitor.VolumeMounted += OnVolumeMounted;
|
||||||
monitor.VolumeUnmounted += OnVolumeUnmounted;
|
monitor.VolumeUnmounted += OnVolumeUnmounted;
|
||||||
|
|
||||||
GLib.List vols = monitor.MountedVolumes;
|
Volume[] vols = monitor.MountedVolumes;
|
||||||
Console.WriteLine ("Mounted volumes:");
|
Console.WriteLine ("Mounted volumes:");
|
||||||
foreach (Volume v in vols)
|
foreach (Volume v in vols)
|
||||||
PrintVolume (v);
|
PrintVolume (v);
|
||||||
|
|
||||||
GLib.List drives = monitor.ConnectedDrives;
|
Drive[] drives = monitor.ConnectedDrives;
|
||||||
Console.WriteLine ("\nConnected drives:");
|
Console.WriteLine ("\nConnected drives:");
|
||||||
foreach (Drive d in drives)
|
foreach (Drive d in drives)
|
||||||
PrintDrive (d);
|
PrintDrive (d);
|
||||||
|
|
Loading…
Reference in a new issue