commit 0bc0c3f1722e65e5e285ee525878bf8323305973
parent 8ff369242618f254d36e7985e372c66c97fc7746
Author: Holger Berndt <hb@claws-mail.org>
Date: Sun, 20 Dec 2009 13:50:41 +0000
2009-12-20 [holger] 3.7.3cvs42
* src/compose.c
* src/compose.h
Add hooklist after creation of a compose window
Diffstat:
5 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,9 @@
+2009-12-20 [holger] 3.7.3cvs42
+
+ * src/compose.c
+ * src/compose.h
+ Add hooklist after creation of a compose window
+
2009-12-19 [holger] 3.7.3cvs41
* src/prefs_toolbar.c
diff --git a/PATCHSETS b/PATCHSETS
@@ -3915,3 +3915,4 @@
( cvs diff -u -r 1.382.2.536 -r 1.382.2.537 src/compose.c; ) > 3.7.3cvs39.patchset
( cvs diff -u -r 1.5.2.25 -r 1.5.2.26 src/statusbar.c; ) > 3.7.3cvs40.patchset
( cvs diff -u -r 1.30.2.58 -r 1.30.2.59 src/prefs_toolbar.c; cvs diff -u -r 1.5.2.7 -r 1.5.2.8 src/prefs_toolbar.h; cvs diff -u -r 1.43.2.111 -r 1.43.2.112 src/toolbar.c; ) > 3.7.3cvs41.patchset
+( cvs diff -u -r 1.382.2.537 -r 1.382.2.538 src/compose.c; cvs diff -u -r 1.50.2.57 -r 1.50.2.58 src/compose.h; ) > 3.7.3cvs42.patchset
diff --git a/configure.ac b/configure.ac
@@ -12,7 +12,7 @@ MINOR_VERSION=7
MICRO_VERSION=3
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=41
+EXTRA_VERSION=42
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
diff --git a/src/compose.c b/src/compose.c
@@ -7605,6 +7605,8 @@ static Compose *compose_create(PrefsAccount *account,
#endif
}
+ hooks_invoke(COMPOSE_CREATED_HOOKLIST, compose);
+
return compose;
}
diff --git a/src/compose.h b/src/compose.h
@@ -43,6 +43,7 @@ typedef struct _AttachInfo AttachInfo;
#endif
#define COMPOSE_CHECK_BEFORE_SEND_HOOKLIST "compose_check_before_send"
+#define COMPOSE_CREATED_HOOKLIST "compose_created"
typedef enum
{