diff options
author | jstebbins <[email protected]> | 2009-06-17 19:19:04 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-06-17 19:19:04 +0000 |
commit | faa685b6d7a9118c29a0b08e85096afc35c8b5ae (patch) | |
tree | f32c0e72d758529ae80a7ebf7c75360b692baad3 /gtk/src/main.c | |
parent | 00ae5bf19a600d6a91e8da9912890b1e9ad2c8d4 (diff) |
LinGui: add preference for update check frequency
Options are Never, Daily, Weekly, and Monthly.
Default is Weekly.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2561 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r-- | gtk/src/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c index 043c4c6b3..0b3eb09a5 100644 --- a/gtk/src/main.c +++ b/gtk/src/main.c @@ -783,10 +783,7 @@ main (int argc, char *argv[]) } // Reload and check status of the last saved queue g_idle_add((GSourceFunc)ghb_reload_queue, ud); - if (ghb_settings_get_boolean(ud->settings, "check_updates")) - { - g_thread_create((GThreadFunc)ghb_check_update, ud, FALSE, NULL); - } + // Start timer for monitoring libhb status, 500ms g_timeout_add (500, ghb_timer_cb, (gpointer)ud); |