2009-05-12 [holger] 3.7.1cvs55
authorHolger Berndt <hb@claws-mail.org>
Tue, 12 May 2009 20:47:48 +0000 (20:47 +0000)
committerHolger Berndt <hb@claws-mail.org>
Tue, 12 May 2009 20:47:48 +0000 (20:47 +0000)
* src/messageview.c
* src/messageview.h
Introduce hook after showing of the message view

ChangeLog
PATCHSETS
configure.ac
src/messageview.c
src/messageview.h

index 15b4e3576616d42f1a0c6dd093ca5b9eb605d92b..71f20a2e0783981bb0ba31a7add07a074438b573 100644 (file)
--- 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
 2009-05-11 [colin]     3.7.1cvs54
 
        * src/compose.c
index f392368fe9f42a3cbab0a050f8b13e001b7e1a1a..4dd6c225def96108fe953e925a6ed837c55a43fe 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( 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.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
index 2d9295d37d7cda084d2193ea04ce1153a275bbcb..a5a93f0373ccbe3d7454ad175742a2e4a90afcc1 100644 (file)
@@ -12,7 +12,7 @@ MINOR_VERSION=7
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=54
+EXTRA_VERSION=55
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index e79c2210ff87a0cdc7e23f557c95aa9120027b1e..b4eb09fa7228376905da77be4a599d5bf0e51398 100644 (file)
@@ -1406,6 +1406,9 @@ gint messageview_show(MessageView *messageview, MsgInfo *msginfo,
                }
        }
 done:
                }
        }
 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;
        g_free(file);
 
        return 0;
index 0f6ea447e0c3bb1ba811d9b2a7b1dc47f79f722c..6d7cd22447cee724f7af87cdad0bd6269078482e 100644 (file)
@@ -38,6 +38,9 @@ typedef struct _MessageView   MessageView;
 #include "procmime.h"
 #include "toolbar.h"
 
 #include "procmime.h"
 #include "toolbar.h"
 
+#define MESSAGE_VIEW_SHOW_DONE_HOOKLIST "message_view_show_done_hooklist"
+
+
 struct _MessageView
 {
        GtkWidget *vbox;
 struct _MessageView
 {
        GtkWidget *vbox;