diff options
-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; |