added showsplash command

This commit is contained in:
Dolan O'Toole
2012-06-03 23:02:13 +01:00
parent 4dbf4ff099
commit d91175e5c2
3 changed files with 31 additions and 0 deletions

View File

@@ -129,6 +129,17 @@ void prefs_add_login(const char *jid)
}
}
gboolean prefs_get_showsplash(void)
{
return g_key_file_get_boolean(prefs, "ui", "showsplash", NULL);
}
void prefs_set_showsplash(gboolean value)
{
g_key_file_set_boolean(prefs, "ui", "showsplash", value);
_save_prefs();
}
static void _save_prefs(void)
{
gsize g_data_size;