diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-06-02 12:19:40 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-06-02 12:19:40 +0800 |
commit | 6ae8bfaa4413fdabd61ad2be6ba9e3b57205be72 (patch) | |
tree | 0ab49f3aa94f2408adc436c727f727a42ff637ec /mail/mail-config.c | |
parent | 32bbb67932b55ee532829fd42944aef87994f864 (diff) | |
download | gsoc2013-evolution-6ae8bfaa4413fdabd61ad2be6ba9e3b57205be72.tar.gz gsoc2013-evolution-6ae8bfaa4413fdabd61ad2be6ba9e3b57205be72.tar.zst gsoc2013-evolution-6ae8bfaa4413fdabd61ad2be6ba9e3b57205be72.zip |
source editor now fills in fields
svn path=/trunk/; revision=3372
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); } |