diff options
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r-- | mail/em-folder-browser.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c index e9c14ea600..40633d5d36 100644 --- a/mail/em-folder-browser.c +++ b/mail/em-folder-browser.c @@ -74,6 +74,7 @@ #include "em-folder-browser.h" #include "em-folder-properties.h" #include "em-subscribe-editor.h" +#include "em-menu.h" #include "message-list.h" #include "mail-component.h" @@ -100,6 +101,8 @@ struct _EMFolderBrowserPrivate { guint list_built_id; /* hook onto list-built for delayed 'select first unread' stuff */ char *select_uid; + + EMMenu *menu; /* toplevel menu manager */ }; static void emfb_activate(EMFolderView *emfv, BonoboUIComponent *uic, int state); @@ -284,6 +287,8 @@ GtkWidget *em_folder_browser_new(void) { EMFolderBrowser *emfb = g_object_new(em_folder_browser_get_type(), 0); + ((EMFolderView *)emfb)->menu = em_menu_new("com.novell.evolution.mail.browser"); + return (GtkWidget *)emfb; } |