aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-popup.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-01-19 16:41:11 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-01-19 16:41:11 +0800
commit35243289664c9e672b2802ffdd1408294a53b4a4 (patch)
treedf7113e172f5333abbf7320e93f02f1b1e064274 /mail/em-popup.h
parent3f3cb88b8e27d8926701bac89ec8773f4bf99d83 (diff)
downloadgsoc2013-evolution-35243289664c9e672b2802ffdd1408294a53b4a4.tar
gsoc2013-evolution-35243289664c9e672b2802ffdd1408294a53b4a4.tar.gz
gsoc2013-evolution-35243289664c9e672b2802ffdd1408294a53b4a4.tar.bz2
gsoc2013-evolution-35243289664c9e672b2802ffdd1408294a53b4a4.tar.lz
gsoc2013-evolution-35243289664c9e672b2802ffdd1408294a53b4a4.tar.xz
gsoc2013-evolution-35243289664c9e672b2802ffdd1408294a53b4a4.tar.zst
gsoc2013-evolution-35243289664c9e672b2802ffdd1408294a53b4a4.zip
removed this like i asked radek to ages ago, just call the parent
2004-01-19 Not Zed <NotZed@Ximian.com> * mail-ops.c (add_vjunk_info, add_vtrash_info): removed this like i asked radek to ages ago, just call the parent directly. (add_vtrash_or_vjunk_info): renamed to something saner. add_special_info. (add_special_info): removed the 'unread count' parameter & return the added info. ** See bug #52854. * em-folder-tree.c (emft_tree_button_press): setup a FOLDER target for the popup menu. * em-popup.c (em_popup_target_free): implement free for TARGET_FOLDER, changed the target options somewhat. (em_popup_target_new_folder): implement folder selection target. Total Hack(tm) alert. (emp_standard_menu_factory): removed the stupid g_assert_if_not_reached() call. * message-list.c (message_list_destroy): NULL out the uid_nodemap when we destroy it. svn path=/trunk/; revision=24302
Diffstat (limited to 'mail/em-popup.h')
-rw-r--r--mail/em-popup.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/mail/em-popup.h b/mail/em-popup.h
index 831d586efe..f71d312b90 100644
--- a/mail/em-popup.h
+++ b/mail/em-popup.h
@@ -108,9 +108,11 @@ enum {
/* Flags that describe TARGET_FOLDER */
enum {
- EM_POPUP_FOLDER_LOCAL = 1<<0,
- EM_POPUP_FOLDER_REMOTE = 1<<1,
- EM_POPUP_FOLDER_VFOLDER = 1<<2,
+ EM_POPUP_FOLDER_FOLDER = 1<<0, /* normal folder */
+ EM_POPUP_FOLDER_STORE = 1<<1, /* root/nonselectable folder, i.e. store */
+ EM_POPUP_FOLDER_INFERIORS = 1<<2, /* folder can have children */
+ EM_POPUP_FOLDER_DELETE = 1<<3, /* folder can be deleted/renamed */
+ EM_POPUP_FOLDER_SELECT = 1<<4, /* folder can be selected/opened */
};
struct _EMPopupTarget {
@@ -162,6 +164,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);
void em_popup_target_free(EMPopupTarget *target);
#ifdef __cplusplus