diff options
author | Shreyas Srinivasan <sshreyas@novell.com> | 2006-02-21 03:18:23 +0800 |
---|---|---|
committer | Shreyas Srinivasan <shres@src.gnome.org> | 2006-02-21 03:18:23 +0800 |
commit | 977ccdda60aa36b2c5da52898ab3300adcdbc58f (patch) | |
tree | 3e396c9af250e193e086ea5eea5a3ca9c1daf227 | |
parent | bc081447ebfff72bd9310306f40f286415f319c9 (diff) | |
download | gsoc2013-evolution-977ccdda60aa36b2c5da52898ab3300adcdbc58f.tar.gz gsoc2013-evolution-977ccdda60aa36b2c5da52898ab3300adcdbc58f.tar.zst gsoc2013-evolution-977ccdda60aa36b2c5da52898ab3300adcdbc58f.zip |
Fix more brokenness. doh check if its the proxy page. Need whack on the
2006-02-21 Shreyas Srinivasan <sshreyas@novell.com>
* proxy.c: Fix more brokenness. doh check if its the proxy
page. Need whack on the head for sucky reckless commit.
svn path=/trunk/; revision=31549
-rw-r--r-- | plugins/groupwise-features/ChangeLog | 4 | ||||
-rw-r--r-- | plugins/groupwise-features/proxy.c | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog index c7f8cf5c19..dac3bc7820 100644 --- a/plugins/groupwise-features/ChangeLog +++ b/plugins/groupwise-features/ChangeLog @@ -1,7 +1,7 @@ -2006-02-16 Shreyas Srinivasan <sshreyas@novell.com> +2006-02-21 Shreyas Srinivasan <sshreyas@novell.com> * proxy.c: Fix more brokenness. doh check if its the proxy - page. + page. Need whack on the head for sucky reckless commit. 2006-02-16 Shreyas Srinivasan <sshreyas@novell.com> diff --git a/plugins/groupwise-features/proxy.c b/plugins/groupwise-features/proxy.c index 02ebe46e50..3b9dad2755 100644 --- a/plugins/groupwise-features/proxy.c +++ b/plugins/groupwise-features/proxy.c @@ -731,14 +731,22 @@ proxy_page_changed_cb (GtkNotebook *notebook, GtkNotebookPage *page, int num, EA { proxyDialog *prd; proxyDialogPrivate *priv; + gpointer val; + gint pg_num; prd = g_object_get_data ((GObject *) account, "prd"); if (!prd || !prd->priv) return TRUE; + val = g_object_get_data ((GObject *) account, "proxy_tab_num"); - if (g_object_get_data ((GObject *) account, "proxy_tab_num") && account->enabled) { + if (!val) + return FALSE; + + pg_num = GPOINTER_TO_INT (val); + + if ((pg_num == num) && account->enabled) { if (!prd->cnc) prd->cnc = proxy_get_cnc(account); priv = prd->priv; @@ -747,6 +755,7 @@ proxy_page_changed_cb (GtkNotebook *notebook, GtkNotebookPage *page, int num, EA return FALSE; proxy_update_tree_view (account); } + return FALSE; } |