[banshee/gio-hardware] more hardware fixes
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/gio-hardware] more hardware fixes
- Date: Sat, 17 Jul 2010 20:41:56 +0000 (UTC)
commit 7a6e8c4134ecb54046cce605724476d4dae83230
Author: Gabriel Burt <gabriel burt gmail com>
Date: Sat Jul 17 12:48:00 2010 -0700
more hardware fixes
src/Backends/Banshee.Gio/Banshee.Gio.addin.xml | 2 +-
.../Banshee.Gio/Banshee.Hardware.Gio/Device.cs | 2 +-
.../Banshee.Gio/Banshee.Hardware.Gio/UsbDevice.cs | 2 +-
.../Banshee.Hardware/HardwareManager.cs | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/Backends/Banshee.Gio/Banshee.Gio.addin.xml b/src/Backends/Banshee.Gio/Banshee.Gio.addin.xml
index 39a8efc..142a8ab 100644
--- a/src/Backends/Banshee.Gio/Banshee.Gio.addin.xml
+++ b/src/Backends/Banshee.Gio/Banshee.Gio.addin.xml
@@ -18,6 +18,6 @@
</Extension>
<Extension path="/Banshee/Platform/HardwareManager">
- <HardwareManager class="Banshee.GioBackend.HardwareManager" id="Banshee.GioBackend.HardwareManager" />
+ <HardwareManager class="Banshee.Hardware.Gio.HardwareManager" id="Banshee.Hardware.Gio" />
</Extension>
</Addin>
diff --git a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/Device.cs b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/Device.cs
index 763412c..0095a20 100644
--- a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/Device.cs
+++ b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/Device.cs
@@ -81,7 +81,7 @@ namespace Banshee.Hardware.Gio
public IUsbDevice ResolveRootUsbDevice ()
{
- throw new Exception ("ResolveRootUsbDevice not yet implemented in GIO backend");
+ return null;
}
public bool PropertyExists (string key)
diff --git a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/UsbDevice.cs b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/UsbDevice.cs
index 1a36447..bcbc7af 100644
--- a/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/UsbDevice.cs
+++ b/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/UsbDevice.cs
@@ -43,7 +43,7 @@ namespace Banshee.Hardware.Gio
public IUsbDevice ResolveRootUsbDevice ()
{
- throw new Exception ("ResolveRootUsbDevice not yet implemented in GIO backend");
+ return null;
}
public static int GetBusNumber (IUsbDevice device)
diff --git a/src/Core/Banshee.Services/Banshee.Hardware/HardwareManager.cs b/src/Core/Banshee.Services/Banshee.Hardware/HardwareManager.cs
index d88a7e1..774ed94 100644
--- a/src/Core/Banshee.Services/Banshee.Hardware/HardwareManager.cs
+++ b/src/Core/Banshee.Services/Banshee.Hardware/HardwareManager.cs
@@ -48,7 +48,7 @@ namespace Banshee.Hardware
{
var extensions = Banshee.IO.Provider.GetOrderedExtensions (
"/Banshee/Platform/HardwareManager",
- "Banshee.GioBackend.HardwareManager", "Banshee.HalBackend.HardwareManager"
+ "Banshee.Hardware.Gio", "Banshee.HalBackend.HardwareManager"
);
foreach (var node in extensions) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]