diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-01-01 04:24:59 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-01-01 04:24:59 +0800 |
commit | 9d915124c28eb0772b4e1086d6988e7d56d9a04c (patch) | |
tree | 11224ba217bd8a17ca1a0f54230a096db842a6b4 /mail/e-mail-reader.h | |
parent | 11e1bc38c325665c24b1c831d009f89b7112ebe5 (diff) | |
download | gsoc2013-evolution-9d915124c28eb0772b4e1086d6988e7d56d9a04c.tar.gz gsoc2013-evolution-9d915124c28eb0772b4e1086d6988e7d56d9a04c.tar.zst gsoc2013-evolution-9d915124c28eb0772b4e1086d6988e7d56d9a04c.zip |
Get the Character Encoding menu working.
Kill e_charset_picker_bonobo_ui_populate().
svn path=/branches/kill-bonobo/; revision=36950
Diffstat (limited to 'mail/e-mail-reader.h')
-rw-r--r-- | mail/e-mail-reader.h | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/mail/e-mail-reader.h b/mail/e-mail-reader.h index 2857192fc4..5dcf8d0266 100644 --- a/mail/e-mail-reader.h +++ b/mail/e-mail-reader.h @@ -24,10 +24,9 @@ #include <gtk/gtk.h> #include <camel/camel-folder.h> -#include <mail/em-folder-tree-model.h> #include <mail/em-format-html-display.h> #include <mail/message-list.h> -#include <shell/e-shell-settings.h> +#include <shell/e-shell-module.h> /* Standard GObject macros */ #define E_TYPE_MAIL_READER \ @@ -53,19 +52,18 @@ typedef struct _EMailReaderIface EMailReaderIface; struct _EMailReaderIface { GTypeInterface parent_iface; - /* XXX This is getting kinda bloated. Try to reduce. */ GtkActionGroup * (*get_action_group) (EMailReader *reader); - CamelFolder * (*get_folder) (EMailReader *reader); - const gchar * (*get_folder_uri) (EMailReader *reader); gboolean (*get_hide_deleted) (EMailReader *reader); EMFormatHTMLDisplay * (*get_html_display) (EMailReader *reader); MessageList * (*get_message_list) (EMailReader *reader); - EShellSettings *(*get_shell_settings) (EMailReader *reader); - EMFolderTreeModel * - (*get_tree_model) (EMailReader *reader); + EShellModule * (*get_shell_module) (EMailReader *reader); GtkWindow * (*get_window) (EMailReader *reader); + + void (*set_folder) (EMailReader *reader, + CamelFolder *folder, + const gchar *folder_uri); }; GType e_mail_reader_get_type (void); @@ -78,10 +76,15 @@ 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); -EShellSettings *e_mail_reader_get_shell_settings(EMailReader *reader); -EMFolderTreeModel * - e_mail_reader_get_tree_model (EMailReader *reader); +EShellModule * e_mail_reader_get_shell_module (EMailReader *reader); GtkWindow * e_mail_reader_get_window (EMailReader *reader); +void e_mail_reader_set_folder (EMailReader *reader, + CamelFolder *folder, + const gchar *folder_uri); +void e_mail_reader_create_charset_menu + (EMailReader *reader, + GtkUIManager *ui_manager, + guint merge_id); G_END_DECLS |