[rygel] core: Don't lose translations/comments in config
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel] core: Don't lose translations/comments in config
- Date: Sat, 4 Jul 2009 15:14:52 +0000 (UTC)
commit d081a16046309dfe65b7b23c58cf8042605a09be
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Jun 24 18:47:40 2009 +0300
core: Don't lose translations/comments in config
src/rygel/rygel-user-config.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-user-config.vala b/src/rygel/rygel-user-config.vala
index c38801c..25f6a9c 100644
--- a/src/rygel/rygel-user-config.vala
+++ b/src/rygel/rygel-user-config.vala
@@ -133,7 +133,8 @@ public class Rygel.UserConfig : GLib.Object, Configuration {
this.key_file.load_from_dirs (CONFIG_FILE,
dirs,
out this.path,
- KeyFileFlags.NONE);
+ KeyFileFlags.KEEP_COMMENTS |
+ KeyFileFlags.KEEP_TRANSLATIONS);
debug ("Loaded user configuration from file '%s'", this.path);
DBus.Connection connection = DBus.Bus.get (DBus.BusType.SESSION);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]