diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-07-26 23:15:44 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-07-27 00:26:55 +0800 |
commit | 36b9debed099b1ad0b5d6a8af792f620bf7f124a (patch) | |
tree | 797f5587b1a6503ca0751c0243989a21eafab700 /mail/e-mail-view.h | |
parent | 9279429501af7858716b0e317810a264192bb763 (diff) | |
download | gsoc2013-evolution-36b9debed099b1ad0b5d6a8af792f620bf7f124a.tar.gz gsoc2013-evolution-36b9debed099b1ad0b5d6a8af792f620bf7f124a.tar.zst gsoc2013-evolution-36b9debed099b1ad0b5d6a8af792f620bf7f124a.zip |
More code cleanup.
Diffstat (limited to 'mail/e-mail-view.h')
-rw-r--r-- | mail/e-mail-view.h | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/mail/e-mail-view.h b/mail/e-mail-view.h index 5c6e6a42b2..da4e5e2688 100644 --- a/mail/e-mail-view.h +++ b/mail/e-mail-view.h @@ -20,12 +20,12 @@ * */ -#ifndef _E_MAIL_VIEW_H_ -#define _E_MAIL_VIEW_H_ +#ifndef E_MAIL_VIEW_H +#define E_MAIL_VIEW_H -#include <shell/e-shell-content.h> +#include <shell/e-shell-view.h> #include <shell/e-shell-searchbar.h> -#include "widgets/menus/gal-view-instance.h" +#include <menus/gal-view-instance.h> /* Standard GObject macros */ #define E_TYPE_MAIL_VIEW \ @@ -54,39 +54,38 @@ typedef struct _EMailViewPrivate EMailViewPrivate; struct _EMailView { GtkVBox parent; - EMailViewPrivate *priv; - EShellContent *content; EMailView *prev; }; struct _EMailViewClass { GtkVBoxClass parent_class; + /* Signals */ void (*pane_close) (EMailView *view); void (*view_changed) (EMailView *view); void (*open_mail) (EMailView *view, - const gchar *); + const gchar *uid); - EShellSearchbar * - (*get_searchbar) (EMailView *view); + /* Methods */ void (*set_search_strings) (EMailView *view, GSList *search_strings); GalViewInstance * (*get_view_instance) (EMailView *view); void (*update_view_instance) (EMailView *view); + GtkOrientation (*get_orientation) (EMailView *view); void (*set_orientation) (EMailView *view, GtkOrientation orientation); - GtkOrientation (*get_orientation) (EMailView *view); + gboolean (*get_preview_visible) (EMailView *view); void (*set_preview_visible) (EMailView *view, gboolean visible); - gboolean (*get_preview_visible) (EMailView *view); + gboolean (*get_show_deleted) (EMailView *view); void (*set_show_deleted) (EMailView *view, gboolean show_deleted); - gboolean (*get_show_deleted) (EMailView *view); }; GType e_mail_view_get_type (void); +EShellView * e_mail_view_get_shell_view (EMailView *view); void e_mail_view_update_view_instance(EMailView *view); GalViewInstance * e_mail_view_get_view_instance (EMailView *view); @@ -98,11 +97,9 @@ GtkOrientation e_mail_view_get_orientation (EMailView *); void e_mail_view_set_preview_visible (EMailView *view, gboolean visible); gboolean e_mail_view_get_preview_visible (EMailView *view); +gboolean e_mail_view_get_show_deleted (EMailView *view); void e_mail_view_set_show_deleted (EMailView *view, gboolean show_deleted); -gboolean e_mail_view_get_show_deleted (EMailView *view); -EShellSearchbar * - e_mail_view_get_searchbar (EMailView *view); G_END_DECLS |