aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-10-23 05:16:10 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-10-23 05:16:10 +0800
commit739e7cd1da237df90e26d979101c3624aef4a779 (patch)
tree16c32744cd78d180f375c028f175563e36af1d89 /mail/mail-mt.c
parent74291416825aaa4e571c22087818a932307aa301 (diff)
downloadgsoc2013-evolution-739e7cd1da237df90e26d979101c3624aef4a779.tar.gz
gsoc2013-evolution-739e7cd1da237df90e26d979101c3624aef4a779.tar.zst
gsoc2013-evolution-739e7cd1da237df90e26d979101c3624aef4a779.zip
#include "component-factory.h". (do_op_status): Pass the component ID
* mail-mt.c: #include "component-factory.h". (do_op_status): Pass the component ID instead of the msg ID. * component-factory.h (COMPONENT_ID): #define here instead of `component-factory.c'. (SUMMARY_FACTORY_ID): Likewise. svn path=/trunk/; revision=13895
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r--mail/mail-mt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index 9c3decf0e4..8743f42dd8 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -31,6 +31,8 @@
#include "camel/camel-url.h"
#include "mail-mt.h"
+#include "component-factory.h"
+
/*#define MALLOC_CHECK*/
#define LOG_OPS
#define d(x)
@@ -1057,14 +1059,14 @@ static void do_op_status(struct _mail_msg *mm)
progress_icon[0] = gdk_pixbuf_new_from_xpm_data ((const char **)mail_new_xpm);
MAIL_MT_UNLOCK (mail_msg_lock);
- clientid = g_strdup_printf ("%p", msg);
if (msg->ops->describe_msg)
what = msg->ops->describe_msg (msg, FALSE);
else
what = _("Working");
if (global_shell_client) {
- activity = evolution_activity_client_new (global_shell_client, clientid,
+ activity = evolution_activity_client_new (global_shell_client,
+ COMPONENT_ID,
progress_icon, what, TRUE,
&display);
} else {