aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJason Leach <jleach@ximian.com>2001-07-18 05:25:59 +0800
committerJacob Leach <jleach@src.gnome.org>2001-07-18 05:25:59 +0800
commit82e5cef219fdc30e38e10d59fb3944a5fac5438f (patch)
tree5f9695a03cb8e7b902cc1d6b42a126a4deb99850 /mail
parente8aa23866a44d1d93750f42a9c168bcd007eb7bb (diff)
downloadgsoc2013-evolution-82e5cef219fdc30e38e10d59fb3944a5fac5438f.tar
gsoc2013-evolution-82e5cef219fdc30e38e10d59fb3944a5fac5438f.tar.gz
gsoc2013-evolution-82e5cef219fdc30e38e10d59fb3944a5fac5438f.tar.bz2
gsoc2013-evolution-82e5cef219fdc30e38e10d59fb3944a5fac5438f.tar.lz
gsoc2013-evolution-82e5cef219fdc30e38e10d59fb3944a5fac5438f.tar.xz
gsoc2013-evolution-82e5cef219fdc30e38e10d59fb3944a5fac5438f.tar.zst
gsoc2013-evolution-82e5cef219fdc30e38e10d59fb3944a5fac5438f.zip
Fix for last change: hide the entire widget, not just the entry.
2001-07-17 Jason Leach <jleach@ximian.com> * mail-account-gui.c (source_type_changed): Fix for last change: hide the entire widget, not just the entry. svn path=/trunk/; revision=11178
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-account-gui.c7
-rw-r--r--mail/mail-config.glade2
3 files changed, 10 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 2067d37ba4..4e78f35e66 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-17 Jason Leach <jleach@ximian.com>
+
+ * mail-account-gui.c (source_type_changed): Fix for last change:
+ hide the entire widget, not just the entry.
+
2001-07-17 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (message_list_drag_data_recieved): Fix to
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c
index fbb7bb5558..6d32b7527b 100644
--- a/mail/mail-account-gui.c
+++ b/mail/mail-account-gui.c
@@ -261,7 +261,7 @@ static void
source_type_changed (GtkWidget *widget, gpointer user_data)
{
MailAccountGui *gui = user_data;
- GtkWidget *label, *frame, *dwidget = NULL;
+ GtkWidget *file_entry, *label, *frame, *dwidget = NULL;
CamelProvider *provider;
provider = gtk_object_get_data (GTK_OBJECT (widget), "provider");
@@ -299,6 +299,7 @@ source_type_changed (GtkWidget *widget, gpointer user_data)
/* path */
label = glade_xml_get_widget (gui->xml, "source_path_label");
+ file_entry = glade_xml_get_widget (gui->xml, "source_path_entry");
if (CAMEL_PROVIDER_ALLOWS (provider, CAMEL_URL_PART_PATH)) {
if (!dwidget)
@@ -321,11 +322,11 @@ source_type_changed (GtkWidget *widget, gpointer user_data)
gtk_entry_set_text (gui->source.path, "");
}
- gtk_widget_show (GTK_WIDGET (gui->source.path));
+ gtk_widget_show (GTK_WIDGET (file_entry));
gtk_widget_show (label);
} else {
gtk_entry_set_text (gui->source.path, "");
- gtk_widget_hide (GTK_WIDGET (gui->source.path));
+ gtk_widget_hide (GTK_WIDGET (file_entry));
gtk_widget_hide (label);
}
diff --git a/mail/mail-config.glade b/mail/mail-config.glade
index d11fae11f3..ee47c67187 100644
--- a/mail/mail-config.glade
+++ b/mail/mail-config.glade
@@ -937,7 +937,7 @@ None
<widget>
<class>GnomeFileEntry</class>
- <name>fileentry1</name>
+ <name>source_path_entry</name>
<max_saved>10</max_saved>
<title>Mailbox location</title>
<directory>False</directory>