From 1b7996157a608f2540ac049147882c51fcf6bfb1 Mon Sep 17 00:00:00 2001 From: Sankarasivasubramanian Pasupathilingam Date: Mon, 11 Jul 2005 09:51:07 +0000 Subject: Fix for #309992 and changes to avoid compiler warnings. svn path=/trunk/; revision=29712 --- plugins/proxy/ChangeLog | 11 +++++++++++ plugins/proxy/proxy.c | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 plugins/proxy/ChangeLog diff --git a/plugins/proxy/ChangeLog b/plugins/proxy/ChangeLog new file mode 100644 index 0000000000..af4dca65d2 --- /dev/null +++ b/plugins/proxy/ChangeLog @@ -0,0 +1,11 @@ +2005-07-11 Sankar P + + * proxy.c : + (proxy_edit_account) : Added code to hide the contacts button + while editing proxy access rights for a proxy. + Fixes #309992 + +2005-07-11 Sankar P + + * proxy.c : + Included header to avoid the compiler warnings. diff --git a/plugins/proxy/proxy.c b/plugins/proxy/proxy.c index 6701137d3d..565352a086 100644 --- a/plugins/proxy/proxy.c +++ b/plugins/proxy/proxy.c @@ -62,6 +62,7 @@ #include #include #include +#include #define GW(name) glade_xml_get_widget (priv->xml, name) @@ -812,7 +813,7 @@ proxy_load_edit_dialog (EAccount *account, proxyHandler *edited) priv = prd->priv; gtk_entry_set_text ((GtkEntry *) priv->account_name, edited->proxy_email); gtk_widget_set_sensitive (priv->account_name, FALSE); - + if (edited->permissions & E_GW_PROXY_MAIL_READ) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON (priv->mail_read), TRUE); @@ -885,6 +886,7 @@ proxy_edit_account (GtkWidget *button, EAccount *account) g_signal_connect ((GtkWidget *)okButton, "clicked", G_CALLBACK (proxy_edit_ok), account); g_signal_connect ((GtkWidget *)proxyCancel, "clicked", G_CALLBACK (proxy_cancel), account); proxy_load_edit_dialog (account, edited); + gtk_widget_hide (contacts); gtk_widget_show (GTK_WIDGET (priv->main)); } } -- cgit