From 327242a925af1a111d07dc1f9171b4bead02e85f Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 18 Feb 2004 19:33:41 +0000 Subject: Updated for em-popup API change (altho currently passes a dummy value). 2004-02-12 Jeffrey Stedfast * em-folder-tree.c (emft_tree_button_press): Updated for em-popup API change (altho currently passes a dummy value). * em-popup.c (em_popup_target_new_folder): Check for vTrash/vJunk by checking the CAMEL_FOLDER_VIRTUAL info flags bit. (perhaps this flag should be renamed to SPECIAL? VIRTUAL might not have been a good name). Also changed to check flags & CAMEL_FOLDER_NOSELECT rather than checking the uri string for a noselect param. * mail-folder-cache.c (unset_folder_info): Instead of checking for ";noselect" in the uri, check for a CAMEL_FOLDER_NOSELECT flag on mfi->flags. (setup_folder): Copy the fi->flags to mfi->flags here. (rename_folders): Same. (setup_folder): Check fi->flags for CAMEL_FOLDER_NOSELECT here instead. (rename_folders): Same. Also gets rid of a FIXME. svn path=/trunk/; revision=24784 --- mail/em-popup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/em-popup.h') diff --git a/mail/em-popup.h b/mail/em-popup.h index 88a4ff83ab..3cc82840f4 100644 --- a/mail/em-popup.h +++ b/mail/em-popup.h @@ -165,7 +165,7 @@ struct _GtkMenu *em_popup_create_menu_once(EMPopup *emp, EMPopupTarget *, guint3 EMPopupTarget *em_popup_target_new_uri(const char *uri); EMPopupTarget *em_popup_target_new_select(struct _CamelFolder *folder, const char *folder_uri, GPtrArray *uids); EMPopupTarget *em_popup_target_new_part(struct _CamelMimePart *part, const char *mime_type); -EMPopupTarget *em_popup_target_new_folder(const char *uri, int isstore); +EMPopupTarget *em_popup_target_new_folder(const char *uri, guint32 info_flags, int isstore); void em_popup_target_free(EMPopupTarget *target); #ifdef __cplusplus -- cgit v1.2.3