aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2005-07-11 17:51:07 +0800
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2005-07-11 17:51:07 +0800
commit1b7996157a608f2540ac049147882c51fcf6bfb1 (patch)
treea80c1be4b626ae26c59e361f89078087c46e7a47 /plugins
parentd8542113bf94c3edd62858c3f271feea0805e083 (diff)
downloadgsoc2013-evolution-1b7996157a608f2540ac049147882c51fcf6bfb1.tar
gsoc2013-evolution-1b7996157a608f2540ac049147882c51fcf6bfb1.tar.gz
gsoc2013-evolution-1b7996157a608f2540ac049147882c51fcf6bfb1.tar.bz2
gsoc2013-evolution-1b7996157a608f2540ac049147882c51fcf6bfb1.tar.lz
gsoc2013-evolution-1b7996157a608f2540ac049147882c51fcf6bfb1.tar.xz
gsoc2013-evolution-1b7996157a608f2540ac049147882c51fcf6bfb1.tar.zst
gsoc2013-evolution-1b7996157a608f2540ac049147882c51fcf6bfb1.zip
Fix for #309992 and changes to avoid compiler warnings.
svn path=/trunk/; revision=29712
Diffstat (limited to 'plugins')
-rw-r--r--plugins/proxy/ChangeLog11
-rw-r--r--plugins/proxy/proxy.c4
2 files changed, 14 insertions, 1 deletions
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 <psankar@novell.com>
+
+ * 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 <psankar@novell.com>
+
+ * proxy.c :
+ Included <string.h> 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 <libedataserverui/e-passwords.h>
#include <libedataserverui/e-name-selector.h>
#include <proxy.h>
+#include <string.h>
#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));
}
}