diff options
Diffstat (limited to 'src/preferences.c')
-rw-r--r-- | src/preferences.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/preferences.c b/src/preferences.c index a44af242..b2db3123 100644 --- a/src/preferences.c +++ b/src/preferences.c @@ -240,6 +240,19 @@ prefs_set_priority(gint value) _save_prefs(); } +gint +prefs_get_reconnect(void) +{ + return g_key_file_get_integer(prefs, "jabber", "reconnect", NULL); +} + +void +prefs_set_reconnect(gint value) +{ + g_key_file_set_integer(prefs, "jabber", "reconnect", value); + _save_prefs(); +} + gboolean prefs_get_vercheck(void) { |