aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-operations.c
diff options
context:
space:
mode:
authorShakti Sen <shprasad@blr.novell.com>2005-08-03 17:58:28 +0800
committerShakti Prasad Sen <shaktis@src.gnome.org>2005-08-03 17:58:28 +0800
commit6502cc080fd6e6de0d974b64c43809cbd54d0edc (patch)
tree30b0839e6a82a2775d30762aaa18c8ac6dbd28c6 /plugins/exchange-operations/exchange-operations.c
parent888a7229872d0b4a8574cfc69ed007727530cb96 (diff)
downloadgsoc2013-evolution-6502cc080fd6e6de0d974b64c43809cbd54d0edc.tar.gz
gsoc2013-evolution-6502cc080fd6e6de0d974b64c43809cbd54d0edc.tar.zst
gsoc2013-evolution-6502cc080fd6e6de0d974b64c43809cbd54d0edc.zip
Added offline/online support and removed some warning messages. Added a
2005-08-03 Shakti Sen <shprasad@blr.novell.com> * exchange-folder.c (org_gnome_exchange_folder_ab_unsubscribe) (org_gnome_exchange_folder_unsubscribe) (org_gnome_exchange_folder_subscription): Added offline/online support and removed some warning messages. * exchange-operations.c: Added a new function exchange_is_offline(). * exchange-operations.h: Included a prototype. * exchange-config-listener.c (exchange_config_listener_get_offline_status): Added newly to get the online/offline status. * exchange-config-listener.h: Added the prototype for exchange_config_listener_get_offline_status(). Fixes bug #311324. svn path=/trunk/; revision=29969
Diffstat (limited to 'plugins/exchange-operations/exchange-operations.c')
-rw-r--r--plugins/exchange-operations/exchange-operations.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/exchange-operations/exchange-operations.c b/plugins/exchange-operations/exchange-operations.c
index a2f004025f..9f822183c5 100644
--- a/plugins/exchange-operations/exchange-operations.c
+++ b/plugins/exchange-operations/exchange-operations.c
@@ -61,6 +61,12 @@ e_plugin_lib_enable (EPluginLib *eplib, int enable)
return 0;
}
+ExchangeConfigListenerStatus
+exchange_is_offline (gint *mode)
+{
+ return exchange_config_listener_get_offline_status (exchange_global_config_listener, mode);
+}
+
/* FIXME: See if a GLib variant of this function available */
gboolean
exchange_operations_tokenize_string (char **string, char *token, char delimit)