summaryrefslogtreecommitdiff
path: root/saedit/config.h
diff options
context:
space:
mode:
authorVasily_Makarov <danilka.pro@gmail.com>2011-10-19 23:49:08 +0400
committerVasily_Makarov <danilka.pro@gmail.com>2011-10-19 23:49:08 +0400
commit95213c9cdb04d1791d55c231331467edce9ab722 (patch)
tree41e73ce4fe85d54bd35af01e88dc77334ef64181 /saedit/config.h
parent580c082d81b21c34886ab59905239eb64449378f (diff)
downloadtools-95213c9cdb04d1791d55c231331467edce9ab722.tar.gz
tools-95213c9cdb04d1791d55c231331467edce9ab722.tar.bz2
tools-95213c9cdb04d1791d55c231331467edce9ab722.tar.xz
tools-95213c9cdb04d1791d55c231331467edce9ab722.zip
Correct config loading/saving
Diffstat (limited to 'saedit/config.h')
-rw-r--r--saedit/config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/saedit/config.h b/saedit/config.h
index e7c5fb5..e8e064a 100644
--- a/saedit/config.h
+++ b/saedit/config.h
@@ -14,6 +14,10 @@
#include <glib.h>
#include <ibusxml.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <string.h>
#include "common.h"
#include "xml.h"
@@ -21,7 +25,8 @@
#define KEY_SHOW_GRID_DEFAULT TRUE
#define KEY_CLIENTDATA_FOLDER_DEFAULT ""
-#define KEYS_CONFIG_FILE g_strjoin(SEPARATOR_SLASH, g_get_user_config_dir(), "saedit/config.ini", NULL)
+#define KEYS_CONFIG_DIR g_strjoin(SEPARATOR_SLASH, g_get_user_config_dir(), "saedit", NULL)
+#define KEYS_CONFIG_FILE g_strjoin(SEPARATOR_SLASH, KEYS_CONFIG_DIR, "config.ini", NULL)
typedef struct {
gchar *sprites;