2005-02-03 Mike Kestner <mkestner@novell.com>

* sample/gnomevfs/TestVolume.cs : remove C# 2.0 usage.

svn path=/trunk/gtk-sharp/; revision=56545
This commit is contained in:
Mike Kestner 2006-02-03 21:32:29 +00:00
parent 404fce43b6
commit f879932267
2 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,7 @@
2005-02-03 Mike Kestner <mkestner@novell.com>
* sample/gnomevfs/TestVolume.cs : remove C# 2.0 usage.
2005-02-03 Mike Kestner <mkestner@novell.com>
* bootstrap-2.* : update for 2.x.1 releases.

View file

@ -8,10 +8,10 @@ namespace TestGnomeVfs {
Gnome.Vfs.Vfs.Initialize ();
VolumeMonitor monitor = VolumeMonitor.Get ();
monitor.DriveConnected += OnDriveConnected;
monitor.DriveDisconnected += OnDriveDisconnected;
monitor.VolumeMounted += OnVolumeMounted;
monitor.VolumeUnmounted += OnVolumeUnmounted;
monitor.DriveConnected += new DriveConnectedHandler (OnDriveConnected);
monitor.DriveDisconnected += new DriveDisconnectedHandler (OnDriveDisconnected);
monitor.VolumeMounted += new VolumeMountedHandler (OnVolumeMounted);
monitor.VolumeUnmounted += new VolumeUnmountedHandler (OnVolumeUnmounted);
Volume[] vols = monitor.MountedVolumes;
Console.WriteLine ("Mounted volumes:");