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 | |
parent | 32bbb67932b55ee532829fd42944aef87994f864 (diff) | |
download | gsoc2013-evolution-6ae8bfaa4413fdabd61ad2be6ba9e3b57205be72.tar gsoc2013-evolution-6ae8bfaa4413fdabd61ad2be6ba9e3b57205be72.tar.gz gsoc2013-evolution-6ae8bfaa4413fdabd61ad2be6ba9e3b57205be72.tar.bz2 gsoc2013-evolution-6ae8bfaa4413fdabd61ad2be6ba9e3b57205be72.tar.lz gsoc2013-evolution-6ae8bfaa4413fdabd61ad2be6ba9e3b57205be72.tar.xz gsoc2013-evolution-6ae8bfaa4413fdabd61ad2be6ba9e3b57205be72.tar.zst gsoc2013-evolution-6ae8bfaa4413fdabd61ad2be6ba9e3b57205be72.zip |
source editor now fills in fields
svn path=/trunk/; revision=3372
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 1 | ||||
-rw-r--r-- | mail/mail-config.c | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index a3e026329d..cbfa708ec6 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -4,6 +4,7 @@ as this is a Sources clist we are dealing with and not an identity clist (on_cmdSourcesEdit_clicked): same (on_cmdSourcesDelete_clicked): again, same + (on_cmdSourcesEdit_clicked): Source editor now fills in data from the clist 2000-06-01 Dan Winship <danw@helixcode.com> 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); } |