fix fishlim config handler

This commit is contained in:
Berke Viktor
2011-11-24 23:37:43 +01:00
parent 1a96ca3edd
commit b15fe1ddf1
3 changed files with 10 additions and 9 deletions

View File

@@ -29,20 +29,12 @@
#include "fish.h"
#include "misc.h"
#include "keystore.h"
#include "xchat_plugin.h"
static char *keystore_password = NULL;
/**
* Returns the path to the key store file.
*/
static gchar *get_config_filename() {
// TODO use xchat_get_info(ph, "xchatdirfs")
const gchar *homedir = g_get_home_dir();
return g_build_filename(homedir, ".xchat2", "blow.ini", NULL);
}
/**
* Opens the key store file: ~/.xchat2/blow.ini
*/