From 87a5b11d7598fc1e5239e11972c5e03a38bbb672 Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Sun, 20 May 2012 20:01:21 +0200 Subject: Imported Upstream version 0.5.3 --- src/utilities/paths.vala | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/utilities/paths.vala') 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 @@ -24,6 +24,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()) { -- cgit v1.2.3