diff options
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r-- | mail/mail-config.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c index 68c17c7d6c..0749447d29 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -1595,6 +1595,10 @@ static void on_cmdSourcesEdit_clicked (GtkWidget *widget, gpointer user_data) { GtkWidget *dialog; + GtkWidget *vbox; + GtkWidget *interior_notebook; + GtkWidget *table; + int page; char *sourcep; if (source_row == -1) @@ -1607,6 +1611,14 @@ on_cmdSourcesEdit_clicked (GtkWidget *widget, gpointer user_data) /* now create the editing dialog */ dialog = create_source_config_dialog (TRUE, &sourcep, GTK_WIDGET (user_data)); + + /* Set the data in the transports page */ + vbox = gtk_object_get_data (GTK_OBJECT (dialog), "vbox"); + interior_notebook = gtk_object_get_data (GTK_OBJECT (vbox), "notebook"); + page = gtk_notebook_get_current_page (GTK_NOTEBOOK (interior_notebook)); + table = gtk_notebook_get_nth_page (GTK_NOTEBOOK (interior_notebook), page); + set_service_url (GTK_OBJECT (table), source); + gtk_widget_show (dialog); } |