diff options
author | Shreyas Srinivasan <sshreyas@novell.com> | 2006-02-20 19:47:44 +0800 |
---|---|---|
committer | Shreyas Srinivasan <shres@src.gnome.org> | 2006-02-20 19:47:44 +0800 |
commit | 3c48cf5fc086d2f2b5ad0f56f6f58f2b83280fb7 (patch) | |
tree | 52a22712f83c1fb12a1f046bd791de26b8860549 /plugins/groupwise-features | |
parent | 9013865df44ad5a701df9baea7e341ccfdaa840b (diff) | |
download | gsoc2013-evolution-3c48cf5fc086d2f2b5ad0f56f6f58f2b83280fb7.tar gsoc2013-evolution-3c48cf5fc086d2f2b5ad0f56f6f58f2b83280fb7.tar.gz gsoc2013-evolution-3c48cf5fc086d2f2b5ad0f56f6f58f2b83280fb7.tar.bz2 gsoc2013-evolution-3c48cf5fc086d2f2b5ad0f56f6f58f2b83280fb7.tar.lz gsoc2013-evolution-3c48cf5fc086d2f2b5ad0f56f6f58f2b83280fb7.tar.xz gsoc2013-evolution-3c48cf5fc086d2f2b5ad0f56f6f58f2b83280fb7.tar.zst gsoc2013-evolution-3c48cf5fc086d2f2b5ad0f56f6f58f2b83280fb7.zip |
Fix more brokenness. doh check if its the proxy page.
2006-02-16 Shreyas Srinivasan <sshreyas@novell.com>
* proxy.c: Fix more brokenness. doh check if its the proxy
page.
svn path=/trunk/; revision=31547
Diffstat (limited to 'plugins/groupwise-features')
-rw-r--r-- | plugins/groupwise-features/ChangeLog | 5 | ||||
-rw-r--r-- | plugins/groupwise-features/proxy.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog index 6cb1058539..c7f8cf5c19 100644 --- a/plugins/groupwise-features/ChangeLog +++ b/plugins/groupwise-features/ChangeLog @@ -1,5 +1,10 @@ 2006-02-16 Shreyas Srinivasan <sshreyas@novell.com> + * proxy.c: Fix more brokenness. doh check if its the proxy + page. + +2006-02-16 Shreyas Srinivasan <sshreyas@novell.com> + * proxy.c: Initialize connection only when the proxy tab is clicked. 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); |