aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-utils.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2005-12-23 12:10:07 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2005-12-23 12:10:07 +0800
commit4f2de6eca9141bc4ac495d543482adb70d214a65 (patch)
treee709d814ef933d8d72c597ac08b785af83022aea /mail/em-utils.c
parent98cc37b8e5605bc3f1065c0a9d5b22a0ddf7c15c (diff)
downloadgsoc2013-evolution-4f2de6eca9141bc4ac495d543482adb70d214a65.tar.gz
gsoc2013-evolution-4f2de6eca9141bc4ac495d543482adb70d214a65.tar.zst
gsoc2013-evolution-4f2de6eca9141bc4ac495d543482adb70d214a65.zip
** Fixes bug #228040, #324677
2005-12-23 Srinivasa Ragavan <sragavan@novell.com> ** Fixes bug #228040, #324677 * em-folder-view.c (emfv_popup_flag_completed), (emfv_popup_flag_clear), (emfv_enable_menus): Added menus for complete and clear. Also added code to refresh preview on setting flags. Also added code to hide junk/not-junk menu depending on their sensitivity. * em-utils.c: (tag_editor_response), (em_utils_flag_for_followup): Added code to refresh preview. svn path=/trunk/; revision=30941
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r--mail/em-utils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c
index dcc8ec7971..4041d82a46 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -78,6 +78,7 @@
#include "em-utils.h"
#include "em-composer-utils.h"
+#include "em-folder-view.h"
#include "em-format-quote.h"
#include "em-account-editor.h"
#include "e-attachment.h"
@@ -739,6 +740,7 @@ void em_utils_add_address(struct _GtkWidget *parent, const char *email)
/* tag-editor callback data */
struct ted_t {
+ EMFolderView *emfv;
MessageTagEditor *editor;
CamelFolder *folder;
GPtrArray *uids;
@@ -778,6 +780,9 @@ tag_editor_response (GtkWidget *dialog, int button, struct ted_t *ted)
camel_folder_thaw (folder);
camel_tag_list_free (&tags);
+
+ if (ted->emfv->preview)
+ em_format_redraw(ted->emfv->preview);
}
gtk_widget_destroy (dialog);
@@ -810,6 +815,7 @@ em_utils_flag_for_followup (GtkWidget *parent, CamelFolder *folder, GPtrArray *u
camel_object_ref (folder);
ted = g_new (struct ted_t, 1);
+ ted->emfv = (EMFolderView *) parent;
ted->editor = MESSAGE_TAG_EDITOR (editor);
ted->folder = folder;
ted->uids = uids;