mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 23:46:21 +00:00
Added states preference to enable chat states
This commit is contained in:
@@ -235,6 +235,19 @@ prefs_set_beep(gboolean value)
|
||||
_save_prefs();
|
||||
}
|
||||
|
||||
gboolean
|
||||
prefs_get_states(void)
|
||||
{
|
||||
return g_key_file_get_boolean(prefs, "ui", "states", NULL);
|
||||
}
|
||||
|
||||
void
|
||||
prefs_set_states(gboolean value)
|
||||
{
|
||||
g_key_file_set_boolean(prefs, "ui", "states", value);
|
||||
_save_prefs();
|
||||
}
|
||||
|
||||
gboolean
|
||||
prefs_get_notify_typing(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user