diff options
author | Shreyas Srinivasan <sshreyas@novell.com> | 2006-02-16 18:54:01 +0800 |
---|---|---|
committer | Shreyas Srinivasan <shres@src.gnome.org> | 2006-02-16 18:54:01 +0800 |
commit | 4dab3a631e5197c6e8f660f5eb519a5b74bb8dff (patch) | |
tree | 14def14eb0784448ec564408b25a5d141927da55 /plugins | |
parent | 7137647a8a66b3d523fa15dd3a07865af740587e (diff) | |
download | gsoc2013-evolution-4dab3a631e5197c6e8f660f5eb519a5b74bb8dff.tar gsoc2013-evolution-4dab3a631e5197c6e8f660f5eb519a5b74bb8dff.tar.gz gsoc2013-evolution-4dab3a631e5197c6e8f660f5eb519a5b74bb8dff.tar.bz2 gsoc2013-evolution-4dab3a631e5197c6e8f660f5eb519a5b74bb8dff.tar.lz gsoc2013-evolution-4dab3a631e5197c6e8f660f5eb519a5b74bb8dff.tar.xz gsoc2013-evolution-4dab3a631e5197c6e8f660f5eb519a5b74bb8dff.tar.zst gsoc2013-evolution-4dab3a631e5197c6e8f660f5eb519a5b74bb8dff.zip |
Initialize connection only when the proxy tab is clicked.
2006-02-16 Shreyas Srinivasan <sshreyas@novell.com>
* proxy.c: Initialize connection only when the proxy tab is
clicked.
svn path=/trunk/; revision=31535
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/groupwise-features/ChangeLog | 5 | ||||
-rw-r--r-- | plugins/groupwise-features/proxy.c | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog index 07591553d3..6cb1058539 100644 --- a/plugins/groupwise-features/ChangeLog +++ b/plugins/groupwise-features/ChangeLog @@ -1,3 +1,8 @@ +2006-02-16 Shreyas Srinivasan <sshreyas@novell.com> + + * proxy.c: Initialize connection only when the proxy tab is + clicked. + 2006-02-08 Parthasarathi Susarla <sparthasarathi@novell.com> ** See bug 326348 diff --git a/plugins/groupwise-features/proxy.c b/plugins/groupwise-features/proxy.c index 22d656b2f2..f6954aa335 100644 --- a/plugins/groupwise-features/proxy.c +++ b/plugins/groupwise-features/proxy.c @@ -202,6 +202,7 @@ proxy_dialog_init (GObject *object) prd->priv = priv; + prd->cnc = NULL; priv->tab_dialog = NULL; priv->xml = NULL; priv->xml_tab = NULL; @@ -689,8 +690,6 @@ org_gnome_proxy (EPlugin *epl, EConfigHookItemFactoryData *data) g_signal_connect (removeProxy, "clicked", G_CALLBACK(proxy_remove_account), account); g_signal_connect (editProxy, "clicked", G_CALLBACK(proxy_edit_account), account); - prd->cnc = proxy_get_cnc(account); - priv->proxy_list = NULL; } else if (account->enabled){ GtkWidget *label; @@ -737,6 +736,9 @@ proxy_page_changed_cb (GtkNotebook *notebook, GtkNotebookPage *page, int num, EA if (!prd || !prd->priv) return TRUE; + + if (!prd->cnc) + prd->cnc = proxy_get_cnc(account); priv = prd->priv; |