Added /intype setting
Seperate settings for showing contact typing in UI (/intype), and as desktop notifications (/notify typing).
This commit is contained in:
@@ -300,6 +300,19 @@ prefs_set_flash(gboolean value)
|
||||
_save_prefs();
|
||||
}
|
||||
|
||||
gboolean
|
||||
prefs_get_intype(void)
|
||||
{
|
||||
return g_key_file_get_boolean(prefs, "ui", "intype", NULL);
|
||||
}
|
||||
|
||||
void
|
||||
prefs_set_intype(gboolean value)
|
||||
{
|
||||
g_key_file_set_boolean(prefs, "ui", "intype", value);
|
||||
_save_prefs();
|
||||
}
|
||||
|
||||
gboolean
|
||||
prefs_get_chlog(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user