diff options
author | nobody <nobody@localhost> | 2005-02-18 22:48:48 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2005-02-18 22:48:48 +0800 |
commit | 4d272703e94a8594c38834c5127ff931a1df7429 (patch) | |
tree | c55aa9eee8aa7ae9eb73e1f2e39a66602bf274e0 /mail/em-utils.c | |
parent | 130a7842f0b1b2a44f8a320dfb3cca112a42190c (diff) | |
download | gsoc2013-evolution-EVOLUTION_2_0_4.tar.gz gsoc2013-evolution-EVOLUTION_2_0_4.tar.zst gsoc2013-evolution-EVOLUTION_2_0_4.zip |
This commit was manufactured by cvs2svn to create tagEVOLUTION_2_0_4
'EVOLUTION_2_0_4'.
svn path=/tags/EVOLUTION_2_0_4/; revision=28812
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r-- | mail/em-utils.c | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c index 0236f2e329..b31ba4ad78 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -44,13 +44,13 @@ #include <libgnomevfs/gnome-vfs-mime.h> #include <libgnomevfs/gnome-vfs-mime-utils.h> #include <libgnomevfs/gnome-vfs-mime-handlers.h> -#include <libgnome/gnome-i18n.h> #include "mail-component.h" #include "mail-mt.h" #include "mail-ops.h" #include "mail-tools.h" #include "mail-config.h" +#include "mail-config-druid.h" #include "message-tag-followup.h" #include <e-util/e-mktemp.h> @@ -63,7 +63,6 @@ #include "em-utils.h" #include "em-composer-utils.h" #include "em-format-quote.h" -#include "em-account-editor.h" static void emu_save_part_done (CamelMimePart *part, char *name, int done, void *data); @@ -179,18 +178,19 @@ druid_destroy_cb (gpointer user_data, GObject *deadbeef) gboolean em_utils_configure_account (GtkWidget *parent) { - EMAccountEditor *emae; - - emae = em_account_editor_new(NULL, EMAE_DRUID); + MailConfigDruid *druid; + + druid = mail_config_druid_new (); + if (parent != NULL) - e_dialog_set_transient_for((GtkWindow *)emae->editor, parent); - - g_object_weak_ref((GObject *)emae->editor, (GWeakNotify) druid_destroy_cb, NULL); - gtk_widget_show(emae->editor); - gtk_grab_add(emae->editor); - gtk_main(); + e_dialog_set_transient_for ((GtkWindow *) druid, parent); + + g_object_weak_ref ((GObject *) druid, (GWeakNotify) druid_destroy_cb, NULL); + gtk_widget_show ((GtkWidget *) druid); + gtk_grab_add ((GtkWidget *) druid); + gtk_main (); - return mail_config_is_configured(); + return mail_config_is_configured (); } /** @@ -696,10 +696,8 @@ em_utils_flag_for_followup (GtkWidget *parent, CamelFolder *folder, GPtrArray *u info = camel_folder_get_message_info (folder, uids->pdata[0]); if (info) { - const CamelTag *tags = camel_message_info_user_tags(info); - - if (tags) - message_tag_editor_set_tag_list (MESSAGE_TAG_EDITOR (editor), tags); + if (info->user_tags) + message_tag_editor_set_tag_list (MESSAGE_TAG_EDITOR (editor), info->user_tags); camel_folder_free_message_info (folder, info); } } |