Implements marking messages as "Need Reply". 2001-12-09 Jon Trowbridge <trow@ximian.com> * mail-need-reply.xpm: Added a really, really ugly and awful icon to symbolize "message needs a reply". * Makefile.am (EXTRA_DIST): Added mail-need-reply.xpm. 2001-12-09 Jon Trowbridge <trow@ximian.com> * camel-folder-summary.c: Add "NeedsReply" to the flag_names array for CAMEL_MESSAGE_NEEDS_REPLY. * camel-folder-summary.h: Added CAMEL_MESSAGE_NEEDS_REPLY flag. 2001-12-09 Jon Trowbridge <trow@ximian.com> * vfoldertypes.xml: Add "Needs Reply" option to different status types. * filtertypes.xml: Add "Needs Reply" option to different status types. 2001-12-09 Jon Trowbridge <trow@ximian.com> * message-list.c: #include "art/mail-need-reply.xpm". (ml_tree_value_at): Adjust magic numbers, show "Need Reply" icon if the message needs reply. (message_list_create_extras): Adjust magic numbers to add new icon. (on_click): Changed to toggle between unread, read, and need reply when the status icon is clicked. * mail-callbacks.c (mark_as_needing_reply): Added. (mark_as_not_needing_reply): Added. Add "set" value to struct post_send_data. (composer_sent_cb): Use both "flags" and "set" elements of post_send_data when setting message flags. (mail_reply): Clear "Needs Reply" flag when we actually reply to a message. * folder-browser.c: Changed flag values to be given by bit-shifting (1<<5) vs. base-ten (32). Added CAN_MARK_DOESNT_NEED_REPLY flag. Added "Mark as Needing Reply" and "Mark as Not Needing Reply" elements to context menu. (on_right_click): Hide "Mark as (Not) Needing Reply" context menu elements as appropriate. svn path=/trunk/; revision=14946
271 lines
7.1 KiB
Makefile
271 lines
7.1 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
SUBDIRS = providers tests
|
|
|
|
libcamelincludedir = $(includedir)/camel
|
|
providerdir = $(libdir)/evolution/camel-providers/$(VERSION)
|
|
|
|
sbin_PROGRAMS = camel-lock-helper
|
|
|
|
lib_LTLIBRARIES = libcamel.la
|
|
noinst_LTLIBRARIES = libcamel-static.la
|
|
|
|
INCLUDES = -I.. -I$(srcdir)/.. \
|
|
-I$(top_srcdir)/intl \
|
|
-I$(top_srcdir)/e-util \
|
|
$(CAMEL_CFLAGS) \
|
|
$(GNOME_INCLUDEDIR) \
|
|
$(KRB4_CFLAGS) \
|
|
$(NSPR_CFLAGS) \
|
|
$(NSS_CFLAGS) \
|
|
-DCAMEL_SBINDIR=\""$(sbindir)"\" \
|
|
-DCAMEL_PROVIDERDIR=\""$(providerdir)"\" \
|
|
-DG_LOG_DOMAIN=\"camel\"
|
|
|
|
libcamel_la_SOURCES = \
|
|
broken-date-parser.c \
|
|
camel-address.c \
|
|
camel-cipher-context.c \
|
|
camel-cms-context.c \
|
|
camel-data-cache.c \
|
|
camel-data-wrapper.c \
|
|
camel-digest-folder.c \
|
|
camel-disco-diary.c \
|
|
camel-disco-folder.c \
|
|
camel-disco-store.c \
|
|
camel-exception.c \
|
|
camel-file-utils.c \
|
|
camel-filter-driver.c \
|
|
camel-filter-search.c \
|
|
camel-folder-search.c \
|
|
camel-folder-summary.c \
|
|
camel-folder-thread.c \
|
|
camel-folder.c \
|
|
camel-html-parser.c \
|
|
camel-internet-address.c \
|
|
camel-lock.c \
|
|
camel-lock-client.c \
|
|
camel-medium.c \
|
|
camel-mime-filter-bestenc.c \
|
|
camel-mime-filter-basic.c \
|
|
camel-mime-filter-charset.c \
|
|
camel-mime-filter-crlf.c \
|
|
camel-mime-filter-from.c \
|
|
camel-mime-filter-html.c \
|
|
camel-mime-filter-tohtml.c \
|
|
camel-mime-filter-index.c \
|
|
camel-mime-filter-linewrap.c \
|
|
camel-mime-filter-save.c \
|
|
camel-mime-filter.c \
|
|
camel-mime-message.c \
|
|
camel-mime-parser.c \
|
|
camel-mime-part-utils.c \
|
|
camel-mime-part.c \
|
|
camel-mime-utils.c \
|
|
camel-movemail.c \
|
|
camel-multipart.c \
|
|
camel-object.c \
|
|
camel-operation.c \
|
|
camel-pgp-context.c \
|
|
camel-pgp-mime.c \
|
|
camel-smime-context.c \
|
|
camel-smime-utils.c \
|
|
camel-provider.c \
|
|
camel-remote-store.c \
|
|
camel-sasl.c \
|
|
camel-sasl-anonymous.c \
|
|
camel-sasl-cram-md5.c \
|
|
camel-sasl-digest-md5.c \
|
|
camel-sasl-kerberos4.c \
|
|
camel-sasl-login.c \
|
|
camel-sasl-plain.c \
|
|
camel-sasl-popb4smtp.c \
|
|
camel-search-private.c \
|
|
camel-seekable-stream.c \
|
|
camel-seekable-substream.c \
|
|
camel-service.c \
|
|
camel-session.c \
|
|
camel-store.c \
|
|
camel-stream-buffer.c \
|
|
camel-stream-filter.c \
|
|
camel-stream-fs.c \
|
|
camel-stream-mem.c \
|
|
camel-stream-null.c \
|
|
camel-stream.c \
|
|
camel-tcp-stream-raw.c \
|
|
camel-tcp-stream-ssl.c \
|
|
camel-tcp-stream-openssl.c \
|
|
camel-tcp-stream.c \
|
|
camel-transport.c \
|
|
camel-uid-cache.c \
|
|
camel-url.c \
|
|
camel-vee-folder.c \
|
|
camel-vee-store.c \
|
|
camel-vtrash-folder.c \
|
|
camel-charset-map.c \
|
|
camel.c \
|
|
gstring-util.c \
|
|
hash-table-utils.c \
|
|
string-utils.c
|
|
|
|
libcamelinclude_HEADERS = \
|
|
broken-date-parser.h \
|
|
camel-address.h \
|
|
camel-charset-map.h \
|
|
camel-cipher-context.h \
|
|
camel-cms-context.h \
|
|
camel-data-cache.h \
|
|
camel-data-wrapper.h \
|
|
camel-digest-folder.h \
|
|
camel-disco-diary.h \
|
|
camel-disco-folder.h \
|
|
camel-disco-store.h \
|
|
camel-exception-list.def \
|
|
camel-exception.h \
|
|
camel-file-utils.h \
|
|
camel-filter-driver.h \
|
|
camel-filter-search.h \
|
|
camel-folder-search.h \
|
|
camel-folder-summary.h \
|
|
camel-folder-thread.h \
|
|
camel-folder.h \
|
|
camel-internet-address.h \
|
|
camel-lock.h \
|
|
camel-lock-client.h \
|
|
camel-medium.h \
|
|
camel-mime-filter-bestenc.h \
|
|
camel-mime-filter-basic.h \
|
|
camel-mime-filter-charset.h \
|
|
camel-mime-filter-crlf.h \
|
|
camel-mime-filter-from.h \
|
|
camel-mime-filter-html.h \
|
|
camel-mime-filter-tohtml.h \
|
|
camel-mime-filter-index.h \
|
|
camel-mime-filter-linewrap.h \
|
|
camel-mime-filter-save.h \
|
|
camel-mime-filter.h \
|
|
camel-mime-message.h \
|
|
camel-mime-parser.h \
|
|
camel-mime-part-utils.h \
|
|
camel-mime-part.h \
|
|
camel-mime-utils.h \
|
|
camel-movemail.h \
|
|
camel-multipart.h \
|
|
camel-object.h \
|
|
camel-operation.h \
|
|
camel-pgp-context.h \
|
|
camel-pgp-mime.h \
|
|
camel-smime-context.h \
|
|
camel-smime-utils.h \
|
|
camel-provider.h \
|
|
camel-remote-store.h \
|
|
camel-sasl.h \
|
|
camel-sasl-anonymous.h \
|
|
camel-sasl-cram-md5.h \
|
|
camel-sasl-digest-md5.h \
|
|
camel-sasl-kerberos4.h \
|
|
camel-sasl-login.h \
|
|
camel-sasl-plain.h \
|
|
camel-sasl-popb4smtp.h \
|
|
camel-seekable-stream.h \
|
|
camel-seekable-substream.h \
|
|
camel-service.h \
|
|
camel-session.h \
|
|
camel-store.h \
|
|
camel-stream-buffer.h \
|
|
camel-stream-filter.h \
|
|
camel-stream-fs.h \
|
|
camel-stream-mem.h \
|
|
camel-stream-null.h \
|
|
camel-stream.h \
|
|
camel-tcp-stream-raw.h \
|
|
camel-tcp-stream-ssl.h \
|
|
camel-tcp-stream-openssl.h \
|
|
camel-tcp-stream.h \
|
|
camel-transport.h \
|
|
camel-types.h \
|
|
camel-uid-cache.h \
|
|
camel-url.h \
|
|
camel-vee-folder.h \
|
|
camel-vee-store.h \
|
|
camel-vtrash-folder.h \
|
|
camel.h \
|
|
gstring-util.h \
|
|
hash-table-utils.h \
|
|
string-utils.h
|
|
|
|
libcamel_la_LDFLAGS = -version-info 0:0:0 -rpath $(libdir)
|
|
|
|
libcamel_la_LIBADD = $(top_builddir)/e-util/libeutil.la \
|
|
$(CAMEL_LIBS) \
|
|
$(KRB4_LDFLAGS) \
|
|
$(NSPR_LDFLAGS) \
|
|
$(NSS_LDFLAGS)
|
|
|
|
libcamel_static_la_SOURCES = $(libcamel_la_SOURCES)
|
|
libcamel_static_la_LIBADD = $(libcamel_la_LIBADD)
|
|
libcamel_static_la_LDFLAGS = --all-static
|
|
|
|
camel_lock_helper_SOURCES = \
|
|
camel-lock-helper.c \
|
|
camel-lock-helper.h \
|
|
camel-lock.c \
|
|
camel-lock.h
|
|
|
|
install-exec-hook:
|
|
@if test -n "$(CAMEL_LOCK_HELPER_USER)"; then \
|
|
if test `whoami` = root ; then \
|
|
chown $(CAMEL_LOCK_HELPER_USER) $(DESTDIR)$(sbindir)/camel-lock-helper ; \
|
|
chmod u+s $(DESTDIR)$(sbindir)/camel-lock-helper ; \
|
|
else \
|
|
echo '*** WARNING ***' ; \
|
|
echo "Camel will not be able to open mbox files until you perform the following steps:" ; \
|
|
echo " 1. Become root" ; \
|
|
echo " 2. chown $(CAMEL_LOCK_HELPER_USER) $(DESTDIR)$(sbindir)/camel-lock-helper" ; \
|
|
echo " 3. chmod u+s $(DESTDIR)$(sbindir)/camel-lock-helper" ; \
|
|
echo '*** WARNING ***' ; \
|
|
fi \
|
|
else \
|
|
echo "No user to chown to"; \
|
|
fi
|
|
@if test -n "$(CAMEL_LOCK_HELPER_GROUP)"; then \
|
|
if test `whoami` = root ; then \
|
|
chgrp $(CAMEL_LOCK_HELPER_GROUP) $(DESTDIR)$(sbindir)/camel-lock-helper ; \
|
|
chmod g+s $(DESTDIR)$(sbindir)/camel-lock-helper ; \
|
|
else \
|
|
echo '*** WARNING ***' ; \
|
|
echo "Camel will not be able to open mbox files until you perform the following steps:" ; \
|
|
echo " 1. Become root" ; \
|
|
echo " 2. chgrp $(CAMEL_LOCK_HELPER_GROUP) $(DESTDIR)$(sbindir)/camel-lock-helper" ; \
|
|
echo " 3. chmod g+s $(DESTDIR)$(sbindir)/camel-lock-helper" ; \
|
|
echo '*** WARNING ***' ; \
|
|
fi \
|
|
else \
|
|
echo "No user to chown to"; \
|
|
fi
|
|
|
|
noinst_HEADERS = \
|
|
camel-charset-map-private.h \
|
|
camel-private.h \
|
|
camel-search-private.h \
|
|
camel-html-parser.h
|
|
|
|
EXTRA_DIST = \
|
|
README
|
|
|
|
#noinst_PROGRAMS = \
|
|
# camel-mime-filter-from
|
|
#
|
|
#camel_mime_filter_from_SOURCES = \
|
|
# camel-mime-filter-from.c
|
|
#
|
|
#camel_mime_filter_from_LDADD = \
|
|
# ../camel/libcamel.la \
|
|
# ../e-util/libeutil.la \
|
|
# ../libibex/libibex.la \
|
|
# $(GNOME_LIBDIR) \
|
|
# $(GNOMEUI_LIBS) \
|
|
# $(INTLLIBS) \
|
|
# $(PTHREAD_LIB) \
|
|
# $(EXTRA_GNOME_LIBS)
|