Files
evolution/shell/e-shell-offline-sync.h
Ettore Perazzoli 4c65eab5b1 Call e_shell_offline_sync_all_folders() if no connection is reported here.
* e-shell-offline-handler.c
(e_shell_offline_handler_put_components_offline): Call
e_shell_offline_sync_all_folders() if no connection is reported
here.
(dialog_handle_ok): Sync all the folders here through
e_shell_offline_sync_all_folders().

* e-shell-offline-sync.c: New.
* e-shell-offline-sync.h: New.

* Evolution-Offline.idl (syncFolder): Make oneway.
(cancelSyncFolder): Likewise.
(SyncFolderProgressListener::reportSuccess): New method.

svn path=/trunk/; revision=16792
2002-05-14 21:34:59 +00:00

34 lines
1.1 KiB
C

/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* e-shell-offline-sync.h - Sync folders before going into Offline mode.
*
* Copyright (C) 2002 Ximian, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*
* Author: Ettore Perazzoli <ettore@ximian.com>
*/
#ifndef E_SHELL_OFFLINE_SYNC_H
#define E_SHELL_OFFLINE_SYNC_H
#include "e-shell.h"
#include <gtk/gtkwidget.h>
void e_shell_offline_sync_all_folders (EShell *shell,
GtkWindow *widget);
#endif /* E_SHELL_OFFLINE_SYNC_H */