Added typing notifications and related preferences

This commit is contained in:
James Booth
2012-08-16 00:50:32 +01:00
parent a7c7768778
commit 8b1653f707
6 changed files with 152 additions and 13 deletions

View File

@@ -206,6 +206,19 @@ prefs_set_notify(gboolean value)
_save_prefs();
}
gboolean
prefs_get_typing(void)
{
return g_key_file_get_boolean(prefs, "ui", "typing", NULL);
}
void
prefs_set_typing(gboolean value)
{
g_key_file_set_boolean(prefs, "ui", "typing", value);
_save_prefs();
}
gboolean
prefs_get_flash(void)
{