diff options
author | Not Zed <NotZed@Ximian.com> | 2004-05-10 13:24:10 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-05-10 13:24:10 +0800 |
commit | 945c153f04aa888d37f37d0c7048ea7f1b591185 (patch) | |
tree | bbc7b8fe5a935091e69fd300845bce2fdab4d62a /mail/em-folder-view.h | |
parent | a02934f6a81406fa9509025e94199e9e78ea59a8 (diff) | |
download | gsoc2013-evolution-945c153f04aa888d37f37d0c7048ea7f1b591185.tar.gz gsoc2013-evolution-945c153f04aa888d37f37d0c7048ea7f1b591185.tar.zst gsoc2013-evolution-945c153f04aa888d37f37d0c7048ea7f1b591185.zip |
cleanup the view menus if they were created.
2004-05-10 Not Zed <NotZed@Ximian.com>
* em-folder-view.c (emfv_activate): cleanup the view menus if they
were created.
* em-folder-view.h: added list_active bit, means the view is
showing the list and needs e.g. view menus.
* em-folder-view.c (emfv_setup_view_instance): was
create_view_instance. Now also setup the menu's if we're showing the list.
* em-folder-browser.c (emfb_create_view_menus): removed. moved
functionality into emfolderview.
2004-05-07 Not Zed <NotZed@Ximian.com>
* mail-account-editor.c: include missing header.
svn path=/trunk/; revision=25827
Diffstat (limited to 'mail/em-folder-view.h')
-rw-r--r-- | mail/em-folder-view.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mail/em-folder-view.h b/mail/em-folder-view.h index 4a84eadf33..279e9ab0ea 100644 --- a/mail/em-folder-view.h +++ b/mail/em-folder-view.h @@ -32,9 +32,6 @@ extern "C" { #pragma } #endif /* __cplusplus */ -/* @#$@#$Q@#$@Q!EQ#@$!~!!! GAL, defines its structs anonymously so we need to include this directly, sigh */ -#include <gal/menus/gal-view-instance.h> - struct _MessageList; struct _EMFormatHTMLDisplay; struct _CamelFolder; @@ -64,7 +61,6 @@ struct _EMFolderView { struct _EMFolderViewPrivate *priv; struct _MessageList *list; - GalViewInstance *view_instance; struct _EMFormatHTMLDisplay *preview; @@ -89,6 +85,7 @@ struct _EMFolderView { int preview_active:1; /* is preview being used */ int statusbar_active:1; /* should we manage the statusbar messages ourselves? */ int hide_deleted:1; + int list_active:1; /* we actually showing the list? */ }; struct _EMFolderViewClass { |