Moved logins to accounts module

This commit is contained in:
James Booth
2012-12-02 01:29:42 +00:00
parent 30e4786180
commit 6826a66f85
8 changed files with 153 additions and 76 deletions

View File

@@ -86,6 +86,19 @@ files_get_log_file(void)
return result;
}
gchar *
files_get_accounts_file(void)
{
gchar *xdg_data = xdg_get_data_home();
GString *logfile = g_string_new(xdg_data);
g_string_append(logfile, "/profanity/accounts");
gchar *result = strdup(logfile->str);
g_free(xdg_data);
g_string_free(logfile, TRUE);
return result;
}
gchar *
files_get_themes_dir(void)
{