diff options
author | Sankarasivasubramanian Pasupathilingam <psankar@src.gnome.org> | 2005-07-11 17:51:07 +0800 |
---|---|---|
committer | Sankarasivasubramanian Pasupathilingam <psankar@src.gnome.org> | 2005-07-11 17:51:07 +0800 |
commit | 1b7996157a608f2540ac049147882c51fcf6bfb1 (patch) | |
tree | a80c1be4b626ae26c59e361f89078087c46e7a47 /plugins/proxy/proxy.c | |
parent | d8542113bf94c3edd62858c3f271feea0805e083 (diff) | |
download | gsoc2013-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/proxy/proxy.c')
-rw-r--r-- | plugins/proxy/proxy.c | 4 |
1 files changed, 3 insertions, 1 deletions
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)); } } |