diff options
author | Jason Leach <jleach@ximian.com> | 2001-07-18 05:25:59 +0800 |
---|---|---|
committer | Jacob Leach <jleach@src.gnome.org> | 2001-07-18 05:25:59 +0800 |
commit | 82e5cef219fdc30e38e10d59fb3944a5fac5438f (patch) | |
tree | 5f9695a03cb8e7b902cc1d6b42a126a4deb99850 /mail/mail-account-gui.c | |
parent | e8aa23866a44d1d93750f42a9c168bcd007eb7bb (diff) | |
download | gsoc2013-evolution-82e5cef219fdc30e38e10d59fb3944a5fac5438f.tar.gz 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/mail-account-gui.c')
-rw-r--r-- | mail/mail-account-gui.c | 7 |
1 files changed, 4 insertions, 3 deletions
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); } |