diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-05-31 01:46:17 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-05-31 01:46:17 +0800 |
commit | 8e70b18c3fac6ed0f21369bbc25d89efd13e1d8c (patch) | |
tree | 5bb5f7e56c7f84f8913df3fd1342bf4c328c40c1 /mail/mail-ops.c | |
parent | d6571004c072b3e4da27849c0de1b51d3e42eae4 (diff) | |
download | gsoc2013-evolution-8e70b18c3fac6ed0f21369bbc25d89efd13e1d8c.tar gsoc2013-evolution-8e70b18c3fac6ed0f21369bbc25d89efd13e1d8c.tar.gz gsoc2013-evolution-8e70b18c3fac6ed0f21369bbc25d89efd13e1d8c.tar.bz2 gsoc2013-evolution-8e70b18c3fac6ed0f21369bbc25d89efd13e1d8c.tar.lz gsoc2013-evolution-8e70b18c3fac6ed0f21369bbc25d89efd13e1d8c.tar.xz gsoc2013-evolution-8e70b18c3fac6ed0f21369bbc25d89efd13e1d8c.tar.zst gsoc2013-evolution-8e70b18c3fac6ed0f21369bbc25d89efd13e1d8c.zip |
started to add a camel provider configuration tool
svn path=/trunk/; revision=3287
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 150231297e..9ddbc430d4 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -444,15 +444,16 @@ void delete_msg (GtkWidget *button, gpointer user_data) { FolderBrowser *fb = user_data; - + if (fb->mail_display->current_message) { guint32 flags; - + /* FIXME: table should watch the message with a signal and update display! */ - + flags = camel_mime_message_get_flags(fb->mail_display->current_message); camel_mime_message_set_flags(fb->mail_display->current_message, CAMEL_MESSAGE_DELETED, ~flags); - printf("Message %s set to %s\n", fb->mail_display->current_message->message_uid, flags&CAMEL_MESSAGE_DELETED?"UNDELETED":"DELETED"); + printf("Message %s set to %s\n", fb->mail_display->current_message->message_uid, + flags&CAMEL_MESSAGE_DELETED ? "UNDELETED" : "DELETED"); } } @@ -604,4 +605,13 @@ void vfolder_edit (GtkWidget *button, gpointer user_data) gtk_widget_show((GtkWidget *)fe); } +void providers_config (GtkWidget *button, gpointer user_data) +{ + GtkWidget *pc; + + printf("Configuring Providers ...\n"); + pc = providers_config_new(); + + gtk_widget_show(pc); +} |