summaryrefslogtreecommitdiff
path: root/src/trg-prefs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/trg-prefs.c')
-rw-r--r--src/trg-prefs.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/trg-prefs.c b/src/trg-prefs.c
index ae3996f..33d8f39 100644
--- a/src/trg-prefs.c
+++ b/src/trg-prefs.c
@@ -28,6 +28,14 @@
#include "trg-client.h"
#include "trg-prefs.h"
+/* I replaced GConf with this custom configuration backend for a few reasons.
+ * 1) Better windows support. No dependency on DBus.
+ * 2) We're including a JSON parser/writer anyway.
+ * 3) The GConf API is pretty verbose sometimes, working with lists is awkward.
+ * 4) Easily switch between profiles, and scope config to either profiles or global.
+ * 5) Transparently use configurables from the current connection, not current profile.
+ */
+
G_DEFINE_TYPE (TrgPrefs, trg_prefs, G_TYPE_OBJECT)
#define GET_PRIVATE(o) \