[banshee/stable-1.6] [GConfConfigurationClient] do not support on MeeGo
- From: Aaron Bockover <abock src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/stable-1.6] [GConfConfigurationClient] do not support on MeeGo
- Date: Tue, 27 Apr 2010 12:24:24 +0000 (UTC)
commit badf602f507a07ffa25ee39bfee7ccd6c315f4b5
Author: Aaron Bockover <abockover novell com>
Date: Tue Apr 27 08:09:24 2010 -0400
[GConfConfigurationClient] do not support on MeeGo
GConf DBus is incredibly slow in MeeGo, so throw an exception
to allow fallback to XmlConfigurationClient, which is faster.
This also has the advantage of easier customization on MeeGo/preloads
since config.xml can be dropped into /etc/skel, avoiding so many
annoying GConf schema issues.
.../GConfConfigurationClient.cs | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/Backends/Banshee.Gnome/Banshee.GnomeBackend/GConfConfigurationClient.cs b/src/Backends/Banshee.Gnome/Banshee.GnomeBackend/GConfConfigurationClient.cs
index 3011437..69635b3 100644
--- a/src/Backends/Banshee.Gnome/Banshee.GnomeBackend/GConfConfigurationClient.cs
+++ b/src/Backends/Banshee.Gnome/Banshee.GnomeBackend/GConfConfigurationClient.cs
@@ -70,6 +70,13 @@ namespace Banshee.GnomeBackend
}
}
+ public GConfConfigurationClient ()
+ {
+ if (Hyena.PlatformDetection.IsMeeGo) {
+ throw new InvalidOperationException ("GConf is not supported on MeeGo");
+ }
+ }
+
private string CreateKey (string @namespace, string part)
{
string hash_key = String.Concat (@namespace, part);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]