2009-12-20 [holger] 3.7.3cvs42
authorHolger Berndt <hb@claws-mail.org>
Sun, 20 Dec 2009 13:50:41 +0000 (13:50 +0000)
committerHolger Berndt <hb@claws-mail.org>
Sun, 20 Dec 2009 13:50:41 +0000 (13:50 +0000)
* src/compose.c
* src/compose.h
Add hooklist after creation of a compose window

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

index 1a3c84b..fac56e2 100644 (file)
--- 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
index 01ac2f7..e9bb537 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( 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
index d03281b..70bcb07 100644 (file)
@@ -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=
 
index be1d8f4..ae38b37 100644 (file)
@@ -7605,6 +7605,8 @@ static Compose *compose_create(PrefsAccount *account,
 #endif
        }
        
+       hooks_invoke(COMPOSE_CREATED_HOOKLIST, compose);
+
        return compose;
 }
 
index 48c5f67..affef99 100644 (file)
@@ -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
 {