diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-06-02 07:28:13 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-06-02 07:28:13 +0800 |
commit | 06ebf6a67ec10e399ad041f666deb497924803cd (patch) | |
tree | 3cd99ba59389d6ef73fb0e318982fa22dad3ff6f /mail/folder-browser.h | |
parent | 338203f38e6841318c76dd6d330e223489e8e5ad (diff) | |
download | gsoc2013-evolution-06ebf6a67ec10e399ad041f666deb497924803cd.tar.gz gsoc2013-evolution-06ebf6a67ec10e399ad041f666deb497924803cd.tar.zst gsoc2013-evolution-06ebf6a67ec10e399ad041f666deb497924803cd.zip |
Added fields for the GalViewMenus and GalViewCollection, since we need to
2001-06-01 Federico Mena Quintero <federico@ximian.com>
* folder-browser.h (FolderBrowser): Added fields for the
GalViewMenus and GalViewCollection, since we need to keep them
around while the component is active.
* folder-browser-factory.c (folder_browser_setup_view_menus): Plug
leaks; unref the spec and factory. Set the view collection and
the view menus on the FolderBrowser object.
(folder_browser_discard_view_menus): New function.
(control_deactivate): Discard the menus.
* folder-browser.c (folder_browser_destroy): Destroy the view
collection and the view menus.
svn path=/trunk/; revision=10086
Diffstat (limited to 'mail/folder-browser.h')
-rw-r--r-- | mail/folder-browser.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/folder-browser.h b/mail/folder-browser.h index 8794753c62..c41562153e 100644 --- a/mail/folder-browser.h +++ b/mail/folder-browser.h @@ -9,6 +9,7 @@ #include <bonobo/bonobo-property-bag.h> #include <bonobo/bonobo-ui-component.h> #include <widgets/misc/e-filter-bar.h> +#include "widgets/menus/gal-view-menus.h" #include "filter/filter-rule.h" #include "filter/filter-context.h" /*eek*/ #include "message-list.h" @@ -58,6 +59,10 @@ struct _FolderBrowser { FilterRule *search_full; /* if we have a full search active */ gboolean preview_shown; + + /* View collection and the menu handler object */ + GalViewCollection *view_collection; + GalViewMenus *view_menus; }; |