[claws-mail-cvs-commit] compose.c
Holger Berndt <[email protected]> Thu, 20 Aug 2009 22:05:01 +0000
| Newsgroups | gmane.mail.sylpheed.claws.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /srv/cvs/claws-mail/claws/src
In directory ran:/tmp/cvs-serv26031/src
Modified Files:
Tag: gtk2
compose.c compose.h
Log Message:
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
Index: compose.c
===================================================================
RCS file: /srv/cvs/claws-mail/claws/src/compose.c,v
retrieving revision 1.382.2.519
retrieving revision 1.382.2.520
diff -u -d -r1.382.2.519 -r1.382.2.520
--- compose.c 28 Jul 2009 18:42:50 -0000 1.382.2.519
+++ compose.c 20 Aug 2009 22:04:58 -0000 1.382.2.520
@@ -526,8 +526,6 @@
#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 @@
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;
Index: compose.h
===================================================================
RCS file: /srv/cvs/claws-mail/claws/src/compose.h,v
retrieving revision 1.50.2.54
retrieving revision 1.50.2.55
diff -u -d -r1.50.2.54 -r1.50.2.55
--- compose.h 21 May 2009 20:59:42 -0000 1.50.2.54
+++ compose.h 20 Aug 2009 22:04:58 -0000 1.50.2.55
@@ -320,4 +320,5 @@
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__ */