talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit d9d96f383ec49c69b079c91e8feb3a1e16b1a811
parent f437d6e228e2133180ea33e72d986cfaaf564de9
Author: Holger Berndt <hb@claws-mail.org>
Date:   Thu, 20 Aug 2009 22:04:58 +0000

2009-08-20 [holger]	3.7.2cvs19

	* src/compose.c
	* src/compose.h
		Make it possible for code outside
		compose (e.g. plugins) to attach files

Diffstat:
MChangeLog | 7+++++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/compose.c | 4+---
Msrc/compose.h | 1+
5 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,10 @@ +2009-08-20 [holger] 3.7.2cvs19 + + * src/compose.c + * src/compose.h + Make it possible for code outside + compose (e.g. plugins) to attach files + 2009-08-20 [colin] 3.7.2cvs18 * src/main.c diff --git a/PATCHSETS b/PATCHSETS @@ -3843,3 +3843,4 @@ ( cvs diff -u -r 1.43.2.109 -r 1.43.2.110 src/toolbar.c; ) > 3.7.2cvs16.patchset ( cvs diff -u -r 1.3.2.32 -r 1.3.2.33 src/ldapquery.c; ) > 3.7.2cvs17.patchset ( cvs diff -u -r 1.115.2.221 -r 1.115.2.222 src/main.c; ) > 3.7.2cvs18.patchset +( cvs diff -u -r 1.382.2.519 -r 1.382.2.520 src/compose.c; cvs diff -u -r 1.50.2.54 -r 1.50.2.55 src/compose.h; ) > 3.7.2cvs19.patchset diff --git a/configure.ac b/configure.ac @@ -12,7 +12,7 @@ MINOR_VERSION=7 MICRO_VERSION=2 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=18 +EXTRA_VERSION=19 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/compose.c b/src/compose.c @@ -526,8 +526,6 @@ static void compose_set_dictionaries_from_folder_prefs(Compose *compose, #endif static void compose_attach_update_label(Compose *compose); -static void compose_attach_from_list(Compose *compose, GList *file_list, gboolean free_data); - static GtkActionEntry compose_popup_entries[] = { {"Compose", NULL, "Compose" }, @@ -9332,7 +9330,7 @@ static void compose_save_cb(GtkAction *action, gpointer data) compose->rmode = COMPOSE_REEDIT; } -static void compose_attach_from_list(Compose *compose, GList *file_list, gboolean free_data) +void compose_attach_from_list(Compose *compose, GList *file_list, gboolean free_data) { if (compose && file_list) { GList *tmp; diff --git a/src/compose.h b/src/compose.h @@ -320,4 +320,5 @@ gboolean compose_close (Compose *compose); void compose_close_toolbar (Compose *compose); void compose_clear_exit_drafts (void); void compose_reopen_exit_drafts (void); +void compose_attach_from_list (Compose *compose, GList *file_list, gboolean free_data); #endif /* __COMPOSE_H__ */