diff options
author | Milan Crha <mcrha@redhat.com> | 2011-03-09 18:52:31 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:43 +0800 |
commit | cdd89ef2902202c3fe535d0f24ecebc5ee93a134 (patch) | |
tree | 8cbaf55d84fdfea8cf8fd6fee36a68d56d72a641 /plugins/publish-calendar/publish-calendar.c | |
parent | e0f339b781ee043a7a0196d98a87b9750a8fc2fe (diff) | |
download | gsoc2013-evolution-cdd89ef2902202c3fe535d0f24ecebc5ee93a134.tar.gz gsoc2013-evolution-cdd89ef2902202c3fe535d0f24ecebc5ee93a134.tar.zst gsoc2013-evolution-cdd89ef2902202c3fe535d0f24ecebc5ee93a134.zip |
Bug #641939 - [publish-calendar] Doesn't read online state on start
Diffstat (limited to 'plugins/publish-calendar/publish-calendar.c')
-rw-r--r-- | plugins/publish-calendar/publish-calendar.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/publish-calendar/publish-calendar.c b/plugins/publish-calendar/publish-calendar.c index da9306331d..3ea3747108 100644 --- a/plugins/publish-calendar/publish-calendar.c +++ b/plugins/publish-calendar/publish-calendar.c @@ -934,8 +934,10 @@ e_plugin_lib_enable (EPlugin *ep, gint enable) if (shell) { g_signal_handlers_disconnect_by_func (shell, G_CALLBACK (online_state_changed), NULL); - if (enable) + if (enable) { + online = e_shell_get_online (shell); g_signal_connect (shell, "notify::online", G_CALLBACK (online_state_changed), NULL); + } } if (enable) { |