Fix some issues when building Anjal.

This commit is contained in:
Matthew Barnes
2009-07-13 09:33:38 -04:00
parent 0d6061a4eb
commit f425fdc8e2
4 changed files with 25 additions and 16 deletions

View File

@ -1,22 +1,27 @@
emformatincludedir = $(privincludedir)/em-format
AM_CPPFLAGS = \
-I$(top_srcdir) \
$(EVOLUTION_MAIL_CFLAGS)
noinst_LTLIBRARIES = libemformat.la
privsolib_LTLIBRARIES = libemformat.la
libemformat_la_SOURCES = \
em-format.h \
em-format.c \
em-format-quote.h \
em-format-quote.c \
em-stripsig-filter.c \
emformatinclude_HEADERS = \
em-format.h \
em-format-quote.h \
em-stripsig-filter.h
libemformat_la_LDFLAGS = -avoid-version $(NO_UNDEFINED)
libemformat_la_SOURCES = \
$(emformatinclude_HEADERS) \
em-format.c \
em-format-quote.c \
em-stripsig-filter.c
libemformat_la_LIBADD = \
$(top_builddir)/e-util/libeutil.la \
$(top_builddir)/shell/libeshell.la \
libemformat_la_LDFLAGS = $(NO_UNDEFINED)
libemformat_la_LIBADD = \
$(top_builddir)/e-util/libeutil.la \
$(top_builddir)/shell/libeshell.la \
$(EVOLUTION_MAIL_LIBS)
-include $(top_srcdir)/git.mk

View File

@ -734,7 +734,7 @@ em_utils_compose_lite_new_message (const gchar *fromuri)
* window. If @url is non-NULL, the composer fields will be filled in
* according to the values in the mailto url.
**/
void
EMsgComposer *
em_utils_compose_new_message_with_mailto (const gchar *url, const gchar *fromuri)
{
EMsgComposer *composer;
@ -754,8 +754,12 @@ em_utils_compose_new_message_with_mailto (const gchar *url, const gchar *fromuri
composer_set_no_change (composer, TRUE, url == NULL);
gtk_widget_show ((GtkWidget *) composer);
gdk_window_raise (((GtkWidget *) composer)->window);
if (!e_msg_composer_get_lite ()) {
gtk_widget_show ((GtkWidget *) composer);
gdk_window_raise (((GtkWidget *) composer)->window);
}
return composer;
}
/* Editing messages... */

View File

@ -36,7 +36,7 @@ void em_utils_compose_new_message (const gchar *fromuri);
EMsgComposer * em_utils_compose_lite_new_message (const gchar *fromuri);
/* FIXME: mailto? url? should make up its mind what its called. imho use 'uri' */
void em_utils_compose_new_message_with_mailto (const gchar *url, const gchar *fromuri);
EMsgComposer * em_utils_compose_new_message_with_mailto (const gchar *url, const gchar *fromuri);
GtkWidget * em_utils_edit_message (CamelMimeMessage *message, CamelFolder *folder);
void em_utils_edit_messages (CamelFolder *folder, GPtrArray *uids, gboolean replace);

View File

@ -29,7 +29,7 @@
#define E_SHELL_BACKEND_H
#include <shell/e-shell-common.h>
#include <widgets/misc/e-activity.h>
#include <misc/e-activity.h>
/* Standard GObject macros */
#define E_TYPE_SHELL_BACKEND \