From 2fa1dd24d2f04c4bbfd738bbce842d30b9cb82e7 Mon Sep 17 00:00:00 2001 From: Parthasarathi Susarla Date: Thu, 11 Aug 2005 06:02:31 +0000 Subject: return the target in any case. It will be an empty target and not NULL. 2005-08-11 Parthasarathi Susarla * em-folder-view.c (emfv_enable_menus): return the target in any case. It will be an empty target and not NULL. Fixes bug ** 312420 svn path=/trunk/; revision=30086 --- mail/em-folder-browser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mail/em-folder-browser.c') diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c index 1f89a2c569..a161f4d37e 100644 --- a/mail/em-folder-browser.c +++ b/mail/em-folder-browser.c @@ -297,7 +297,8 @@ GtkWidget *em_folder_browser_new(void) * @Class: org.gnome.evolution.mail.bonobomenu:1.0 * @Target: EMMenuTargetSelect * - * The main menu of mail view of the main application window. + * The main menu of mail view of the main application window. + * If the folder is NULL (not selected), the target will be empty, not NULL. */ ((EMFolderView *)emfb)->menu = em_menu_new("org.gnome.evolution.mail.browser"); -- cgit