diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-05-15 05:34:59 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-05-15 05:34:59 +0800 |
commit | 4c65eab5b1429f35b7dcd17c417cc4206989786a (patch) | |
tree | 9d53477a3faa4a16e52cb7f0ccf80c7e9bc596ca /shell/e-shell-offline-sync.h | |
parent | f8cc61843c45d07d11872e767c1cee0f16d48409 (diff) | |
download | gsoc2013-evolution-4c65eab5b1429f35b7dcd17c417cc4206989786a.tar gsoc2013-evolution-4c65eab5b1429f35b7dcd17c417cc4206989786a.tar.gz gsoc2013-evolution-4c65eab5b1429f35b7dcd17c417cc4206989786a.tar.bz2 gsoc2013-evolution-4c65eab5b1429f35b7dcd17c417cc4206989786a.tar.lz gsoc2013-evolution-4c65eab5b1429f35b7dcd17c417cc4206989786a.tar.xz gsoc2013-evolution-4c65eab5b1429f35b7dcd17c417cc4206989786a.tar.zst gsoc2013-evolution-4c65eab5b1429f35b7dcd17c417cc4206989786a.zip |
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
Diffstat (limited to 'shell/e-shell-offline-sync.h')
-rw-r--r-- | shell/e-shell-offline-sync.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/shell/e-shell-offline-sync.h b/shell/e-shell-offline-sync.h new file mode 100644 index 0000000000..f214938585 --- /dev/null +++ b/shell/e-shell-offline-sync.h @@ -0,0 +1,33 @@ +/* -*- 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 */ |