From f4ab0f022c847485d347d1ce8cd2ffcde3497f56 Mon Sep 17 00:00:00 2001 From: hiro Date: Mon, 28 Dec 2009 05:00:53 +0000 Subject: added configure option '--disable-updatecheck' which disables the update check feature. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2407 ee746299-78ed-0310-b773-934348b2243d --- src/mainwindow.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mainwindow.c') diff --git a/src/mainwindow.c b/src/mainwindow.c index f83ffcfa..dd5eedb9 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -527,9 +527,11 @@ static void faq_open_cb (MainWindow *mainwin, static void help_cmdline_cb (MainWindow *mainwin, guint action, GtkWidget *widget); +#if USE_UPDATE_CHECK static void update_check_cb (MainWindow *mainwin, guint action, GtkWidget *widget); +#endif static void scan_tree_func (Folder *folder, FolderItem *item, @@ -888,8 +890,10 @@ static GtkItemFactoryEntry mainwin_entries[] = {N_("/_Help/_FAQ/_French"), NULL, faq_open_cb, MANUAL_LANG_FR, NULL}, {N_("/_Help/_FAQ/_Italian"), NULL, faq_open_cb, MANUAL_LANG_IT, NULL}, {N_("/_Help/_Command line options"), NULL, help_cmdline_cb, 0, NULL}, +#if USE_UPDATE_CHECK {N_("/_Help/---"), NULL, NULL, 0, ""}, {N_("/_Help/_Update check..."), NULL, update_check_cb, 0, NULL}, +#endif {N_("/_Help/---"), NULL, NULL, 0, ""}, {N_("/_Help/_About"), NULL, about_show, 0, NULL} }; @@ -4046,11 +4050,13 @@ static void help_cmdline_cb(MainWindow *mainwin, guint action, help_command_line_show(); } +#if USE_UPDATE_CHECK static void update_check_cb(MainWindow *mainwin, guint action, GtkWidget *widget) { update_check(TRUE); } +#endif static void scan_tree_func(Folder *folder, FolderItem *item, gpointer data) { -- cgit v1.2.3