diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-12-01 03:46:26 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-12-01 07:34:38 +0800 |
commit | d94534c3673956164f9fb2c7f6b12188994503ae (patch) | |
tree | c26a8a2edb293478b2ad43e36de5feebaf84ce1d /mail/e-mail-reader.h | |
parent | 420a4ccb20825d618b06c6be742c2c47cc15ca71 (diff) | |
download | gsoc2013-evolution-d94534c3673956164f9fb2c7f6b12188994503ae.tar.gz gsoc2013-evolution-d94534c3673956164f9fb2c7f6b12188994503ae.tar.zst gsoc2013-evolution-d94534c3673956164f9fb2c7f6b12188994503ae.zip |
Merge bits and pieces of the anjal-evo-2-30 branch.
Diffstat (limited to 'mail/e-mail-reader.h')
-rw-r--r-- | mail/e-mail-reader.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/mail/e-mail-reader.h b/mail/e-mail-reader.h index e9f9a3a9e4..122d11fb88 100644 --- a/mail/e-mail-reader.h +++ b/mail/e-mail-reader.h @@ -22,10 +22,16 @@ #ifndef E_MAIL_READER_H #define E_MAIL_READER_H +/* XXX Anjal uses a different message list widget than Evolution, so + * avoid including <mail/message-list.h> in this file. This makes + * the get_message_list() method a little awkward since it returns + * a GtkWidget pointer which almost always has to be type casted. + * Consider adding get_folder() and get_folder_uri() methods to + * take some pressure off get_message_list(). */ + #include <gtk/gtk.h> #include <camel/camel-folder.h> #include <mail/em-format-html-display.h> -#include <mail/message-list.h> #include <shell/e-shell-backend.h> /* Standard GObject macros */ @@ -82,7 +88,7 @@ struct _EMailReaderIface { gboolean (*get_hide_deleted) (EMailReader *reader); EMFormatHTMLDisplay * (*get_html_display) (EMailReader *reader); - MessageList * (*get_message_list) (EMailReader *reader); + GtkWidget * (*get_message_list) (EMailReader *reader); GtkMenu * (*get_popup_menu) (EMailReader *reader); EShellBackend * (*get_shell_backend) (EMailReader *reader); GtkWindow * (*get_window) (EMailReader *reader); @@ -110,7 +116,7 @@ GtkActionGroup * gboolean e_mail_reader_get_hide_deleted (EMailReader *reader); EMFormatHTMLDisplay * e_mail_reader_get_html_display (EMailReader *reader); -MessageList * e_mail_reader_get_message_list (EMailReader *reader); +GtkWidget * e_mail_reader_get_message_list (EMailReader *reader); GtkMenu * e_mail_reader_get_popup_menu (EMailReader *reader); EShellBackend * e_mail_reader_get_shell_backend (EMailReader *reader); GtkWindow * e_mail_reader_get_window (EMailReader *reader); |