aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-02-19 23:05:27 +0000
committerGerald Combs <gerald@wireshark.org>2013-02-19 23:05:27 +0000
commit5a5d872639a9e20893f82079af06f4caec980277 (patch)
treea9c9925258abce8a9f6f6f8856cbf5e0cf6109e0 /epan
parent81a5be58131e2bf82b89ae79f5316493ae3ad058 (diff)
Register the gui.update.interval preference.
svn path=/trunk/; revision=47750
Diffstat (limited to 'epan')
-rw-r--r--epan/prefs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/prefs.c b/epan/prefs.c
index 7a7441b458..106185e50a 100644
--- a/epan/prefs.c
+++ b/epan/prefs.c
@@ -2082,6 +2082,12 @@ prefs_register_modules(void)
"The type of update to fetch",
(gint*)(void*)(&prefs.gui_update_channel), gui_update_channel, FALSE);
+ prefs_register_uint_preference(gui_module, "update.interval",
+ "How often to check for software updates",
+ "How often to check for software updates in seconds",
+ 10,
+ &prefs.gui_update_interval);
+
prefs_register_string_preference(gui_module, "window_title", "Custom window title",
"Custom window title. (Appended to existing titles.)", (const char**)(&prefs.gui_window_title));