aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2004-05-04 07:17:00 +0800
committerLarry Ewing <lewing@src.gnome.org>2004-05-04 07:17:00 +0800
commit91b4cbdd16fc5c0e65caccb855263b0371fcacbf (patch)
treed1347d885b98b84514a0d89eae7c7a871d854dda /addressbook
parent32aa719cf12a6303ba743d4630c2537bd40b3e84 (diff)
downloadgsoc2013-evolution-91b4cbdd16fc5c0e65caccb855263b0371fcacbf.tar
gsoc2013-evolution-91b4cbdd16fc5c0e65caccb855263b0371fcacbf.tar.gz
gsoc2013-evolution-91b4cbdd16fc5c0e65caccb855263b0371fcacbf.tar.bz2
gsoc2013-evolution-91b4cbdd16fc5c0e65caccb855263b0371fcacbf.tar.lz
gsoc2013-evolution-91b4cbdd16fc5c0e65caccb855263b0371fcacbf.tar.xz
gsoc2013-evolution-91b4cbdd16fc5c0e65caccb855263b0371fcacbf.tar.zst
gsoc2013-evolution-91b4cbdd16fc5c0e65caccb855263b0371fcacbf.zip
set the email entry sesitive only when anonymous isn't selected. Make the
2004-05-03 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-config.c (add_folder_modify): set the email entry sesitive only when anonymous isn't selected. Make the details tab insensitive if the method is local. svn path=/trunk/; revision=25770
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog4
-rw-r--r--addressbook/gui/component/addressbook-config.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index ed73eaedb8..33904d3573 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,9 @@
2004-05-03 Larry Ewing <lewing@ximian.com>
+ * gui/component/addressbook-config.c (add_folder_modify): set the
+ email entry sesitive only when anonymous isn't selected. Make the
+ details tab insensitive if the method is local.
+
* gui/component/ldap-config.glade: remove unused colorpicker.
2004-05-03 JP Rosevear <jpr@ximian.com>
diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c
index 963e62c405..8dfdb473b8 100644
--- a/addressbook/gui/component/addressbook-config.c
+++ b/addressbook/gui/component/addressbook-config.c
@@ -1016,18 +1016,19 @@ add_folder_modify (GtkWidget *widget, AddressbookSourceDialog *sdialog)
gtk_widget_set_sensitive (sdialog->auth_frame, remote);
#ifdef HAVE_LDAP
+ gtk_widget_set_sensitive (sdialog->email, sdialog->auth != ADDRESSBOOK_LDAP_AUTH_NONE);
+
if (valid)
valid = general_tab_check (sdialog);
if (valid)
valid = connecting_tab_check (sdialog);
- gtk_widget_set_sensitive (glade_xml_get_widget (sdialog->gui, "details-label"), valid);
+ gtk_widget_set_sensitive (glade_xml_get_widget (sdialog->gui, "details-label"), valid && remote);
- gtk_widget_set_sensitive (glade_xml_get_widget (sdialog->gui, "details-vbox"), valid);
+ gtk_widget_set_sensitive (glade_xml_get_widget (sdialog->gui, "details-vbox"), valid && remote);
if (valid)
valid = searching_tab_check (sdialog);
- else
#endif
gtk_widget_set_sensitive (sdialog->ok_button, valid);
@@ -1109,7 +1110,6 @@ addressbook_add_server_dialog (void)
setup_searching_tab (sdialog, add_folder_modify);
setup_connecting_tab (sdialog, add_folder_modify);
-
sdialog->auth_frame = glade_xml_get_widget (sdialog->gui, "authentication-frame");
sdialog->server_frame = glade_xml_get_widget (sdialog->gui, "server-frame");