From 3c48cf5fc086d2f2b5ad0f56f6f58f2b83280fb7 Mon Sep 17 00:00:00 2001 From: Shreyas Srinivasan Date: Mon, 20 Feb 2006 11:47:44 +0000 Subject: Fix more brokenness. doh check if its the proxy page. 2006-02-16 Shreyas Srinivasan * proxy.c: Fix more brokenness. doh check if its the proxy page. svn path=/trunk/; revision=31547 --- plugins/groupwise-features/proxy.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/groupwise-features/proxy.c') diff --git a/plugins/groupwise-features/proxy.c b/plugins/groupwise-features/proxy.c index f6954aa335..02ebe46e50 100644 --- a/plugins/groupwise-features/proxy.c +++ b/plugins/groupwise-features/proxy.c @@ -737,12 +737,12 @@ 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; if (g_object_get_data ((GObject *) account, "proxy_tab_num") && account->enabled) { + if (!prd->cnc) + prd->cnc = proxy_get_cnc(account); + priv = prd->priv; + if (e_gw_connection_get_proxy_access_list(prd->cnc, &priv->proxy_list)!= E_GW_CONNECTION_STATUS_OK) return FALSE; proxy_update_tree_view (account); -- cgit