commit 70a249055928c29722245d908926821e4c0b6554
parent 79da2e249bfdb7f66241654e010abaf27909001b
Author: Holger Berndt <hb@claws-mail.org>
Date: Tue, 12 May 2009 20:47:48 +0000
2009-05-12 [holger] 3.7.1cvs55
* src/messageview.c
* src/messageview.h
Introduce hook after showing of the message view
Diffstat:
5 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,9 @@
+2009-05-12 [holger] 3.7.1cvs55
+
+ * src/messageview.c
+ * src/messageview.h
+ Introduce hook after showing of the message view
+
2009-05-11 [colin] 3.7.1cvs54
* src/compose.c
diff --git a/PATCHSETS b/PATCHSETS
@@ -3794,3 +3794,4 @@
( cvs diff -u -r 1.213.2.193 -r 1.213.2.194 src/folder.c; cvs diff -u -r 1.83.2.154 -r 1.83.2.155 src/mimeview.c; ) > 3.7.1cvs52.patchset
( cvs diff -u -r 1.27.2.45 -r 1.27.2.46 src/addr_compl.c; cvs diff -u -r 1.8.2.12 -r 1.8.2.13 src/addr_compl.h; ) > 3.7.1cvs53.patchset
( cvs diff -u -r 1.382.2.507 -r 1.382.2.508 src/compose.c; ) > 3.7.1cvs54.patchset
+( cvs diff -u -r 1.94.2.203 -r 1.94.2.204 src/messageview.c; cvs diff -u -r 1.19.2.23 -r 1.19.2.24 src/messageview.h; ) > 3.7.1cvs55.patchset
diff --git a/configure.ac b/configure.ac
@@ -12,7 +12,7 @@ MINOR_VERSION=7
MICRO_VERSION=1
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=54
+EXTRA_VERSION=55
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
diff --git a/src/messageview.c b/src/messageview.c
@@ -1406,6 +1406,9 @@ gint messageview_show(MessageView *messageview, MsgInfo *msginfo,
}
}
done:
+ /* plugins may hook in here to work with the message view */
+ hooks_invoke(MESSAGE_VIEW_SHOW_DONE_HOOKLIST, messageview);
+
g_free(file);
return 0;
diff --git a/src/messageview.h b/src/messageview.h
@@ -38,6 +38,9 @@ typedef struct _MessageView MessageView;
#include "procmime.h"
#include "toolbar.h"
+#define MESSAGE_VIEW_SHOW_DONE_HOOKLIST "message_view_show_done_hooklist"
+
+
struct _MessageView
{
GtkWidget *vbox;