f-spot r4643 - in trunk: . src/Platform/Gnome
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4643 - in trunk: . src/Platform/Gnome
- Date: Fri, 28 Nov 2008 12:09:46 +0000 (UTC)
Author: sdelcroix
Date: Fri Nov 28 12:09:46 2008
New Revision: 4643
URL: http://svn.gnome.org/viewvc/f-spot?rev=4643&view=rev
Log:
trim trailing slash
2008-11-28 Anton Keks <anton azib net>
* src/Platform/Gnome/PreferencesBackend.cs: trim trailing slashes
Modified:
trunk/ChangeLog
trunk/src/Platform/Gnome/PreferenceBackend.cs
Modified: trunk/src/Platform/Gnome/PreferenceBackend.cs
==============================================================================
--- trunk/src/Platform/Gnome/PreferenceBackend.cs (original)
+++ trunk/src/Platform/Gnome/PreferenceBackend.cs Fri Nov 28 12:09:46 2008
@@ -91,6 +91,8 @@
public void AddNotify (string key, EventHandler<NotifyEventArgs> handler)
{
+ // GConf doesn't like trailing slashes
+ key = key.TrimEnd('/');
Client.AddNotify (key, delegate (object sender, GConf.NotifyEventArgs args) {handler (sender, new NotifyEventArgs (args.Key, args.Value));});
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]