diff options
author | 2011-08-30 12:28:36 +0000 | |
---|---|---|
committer | 2011-08-30 12:28:36 +0000 | |
commit | 2d138cfea66be044c8739d8f3122ed5ff62d043c (patch) | |
tree | eaa80c0f99143096ddd82146853a9c4488575976 /src/trg-prefs.c | |
parent | 321f6bbd2ec01c3bc69bf54aeb1c199e058f1c69 (diff) |
issue 60 - a seperate update interval setting for if the application is minimised
Diffstat (limited to 'src/trg-prefs.c')
-rw-r--r-- | src/trg-prefs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/trg-prefs.c b/src/trg-prefs.c index bd26928..9a507b1 100644 --- a/src/trg-prefs.c +++ b/src/trg-prefs.c @@ -70,7 +70,8 @@ static void trg_prefs_create_defaults(TrgPrefs *p) { trg_prefs_add_default_string(p, TRG_PREFS_KEY_PROFILE_NAME, _(TRG_PROFILE_NAME_DEFAULT)); trg_prefs_add_default_int(p, TRG_PREFS_KEY_PORT, 9091); - trg_prefs_add_default_int(p, TRG_PREFS_KEY_UPDATE_INTERVAL, 3); + trg_prefs_add_default_int(p, TRG_PREFS_KEY_UPDATE_INTERVAL, TRG_INTERVAL_DEFAULT); + trg_prefs_add_default_int(p, TRG_PREFS_KEY_MINUPDATE_INTERVAL, TRG_MININTERVAL_DEFAULT); trg_prefs_add_default_bool(p, TRG_PREFS_KEY_FILTER_DIRS, TRUE); trg_prefs_add_default_bool(p, TRG_PREFS_KEY_FILTER_TRACKERS, TRUE); |