summaryrefslogtreecommitdiff
path: root/src/utilities/paths.vala
diff options
context:
space:
mode:
authorAlessandro Ghedini <al3xbio@gmail.com>2012-05-20 20:01:22 +0200
committerAlessandro Ghedini <al3xbio@gmail.com>2012-05-20 20:01:22 +0200
commita095c29cd9cc8e4a43d79548bc57b870c6e90bfa (patch)
treedaf6e98fbb58b7f78213e98d9291255c151d8671 /src/utilities/paths.vala
parentb3977b8585efcd19a73e3bf7f25f41b01d9d4cae (diff)
parent87a5b11d7598fc1e5239e11972c5e03a38bbb672 (diff)
Merge tag 'upstream/0.5.3'
Upstream version 0.5.3
Diffstat (limited to 'src/utilities/paths.vala')
-rw-r--r--src/utilities/paths.vala9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/utilities/paths.vala b/src/utilities/paths.vala
index bc3e9b1..fe8897b 100644
--- a/src/utilities/paths.vala
+++ b/src/utilities/paths.vala
@@ -25,6 +25,13 @@ namespace GnomePie {
public class Paths : GLib.Object {
/////////////////////////////////////////////////////////////////////
+ /// The config directory,
+ /// usually ~/.config/gnome-pie/.
+ /////////////////////////////////////////////////////////////////////
+
+ public static string config_directory { get; private set; default=""; }
+
+ /////////////////////////////////////////////////////////////////////
/// The log file,
/// usually ~/.config/gnome-pie/gnome-pie.log.
/////////////////////////////////////////////////////////////////////
@@ -171,6 +178,8 @@ public class Paths : GLib.Object {
}
}
+ config_directory = config_dir.get_path();
+
// create local themes directory if neccasary
var themes_dir = config_dir.get_child("themes");
if(!themes_dir.query_exists()) {