aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-browser.c
diff options
context:
space:
mode:
authorTobias Mueller <tobiasmue@svn.gnome.org>2007-08-20 20:15:59 +0800
committerTobias Mueller <tobiasmue@src.gnome.org>2007-08-20 20:15:59 +0800
commit6401279979da0bab90f49eb01274ebef86c9a172 (patch)
tree194e6e340850a90e7e5a4ce1987843d0e07d9d61 /mail/em-folder-browser.c
parent8b5bd65751016d6ef8ba2ed2fd9b5fb5e7748624 (diff)
downloadgsoc2013-evolution-6401279979da0bab90f49eb01274ebef86c9a172.tar.gz
gsoc2013-evolution-6401279979da0bab90f49eb01274ebef86c9a172.tar.zst
gsoc2013-evolution-6401279979da0bab90f49eb01274ebef86c9a172.zip
** Fix for bug #467382
2007-08-20 Tobias Mueller <tobiasmue@svn.gnome.org> ** Fix for bug #467382 * em-folder-browser.c: Changing position of emfb_enable_map to be able to compile with -pedantic svn path=/trunk/; revision=34044
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r--mail/em-folder-browser.c33
1 files changed, 16 insertions, 17 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index 3778a5f5f4..df97444b3e 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -148,7 +148,22 @@ static void emfb_search_search_cleared(ESearchBar *esb);
static int emfb_list_key_press(ETree *tree, int row, ETreePath path, int col, GdkEvent *ev, EMFolderBrowser *emfb);
static void emfb_list_message_selected (MessageList *ml, const char *uid, EMFolderBrowser *emfb);
-static const EMFolderViewEnable emfb_enable_map[];
+static const EMFolderViewEnable emfb_enable_map[] = {
+ { "EditInvertSelection", EM_POPUP_SELECT_FOLDER },
+ { "EditSelectAll", EM_POPUP_SELECT_FOLDER },
+ { "EditSelectThread", EM_FOLDER_VIEW_SELECT_THREADED },
+ { "FolderExpunge", EM_POPUP_SELECT_FOLDER },
+ { "FolderCopy", EM_POPUP_SELECT_FOLDER },
+ { "FolderMove", EM_POPUP_SELECT_FOLDER },
+ { "FolderDelete", EM_POPUP_SELECT_FOLDER },
+ { "FolderRename", EM_POPUP_SELECT_FOLDER },
+ { "MailPost", EM_POPUP_SELECT_FOLDER },
+ { "MessageMarkAllAsRead", EM_POPUP_SELECT_FOLDER },
+ { "ViewHideSelected", EM_POPUP_SELECT_MANY },
+ { "ViewThreadsCollapseAll", EM_FOLDER_VIEW_SELECT_THREADED},
+ { "ViewThreadsExpandAll", EM_FOLDER_VIEW_SELECT_THREADED},
+ { NULL },
+};
enum {
ACCOUNT_SEARCH_ACTIVATED,
@@ -1606,22 +1621,6 @@ static EPixmap emfb_pixmaps[] = {
E_PIXMAP_END
};
-static const EMFolderViewEnable emfb_enable_map[] = {
- { "EditInvertSelection", EM_POPUP_SELECT_FOLDER },
- { "EditSelectAll", EM_POPUP_SELECT_FOLDER },
- { "EditSelectThread", EM_FOLDER_VIEW_SELECT_THREADED },
- { "FolderExpunge", EM_POPUP_SELECT_FOLDER },
- { "FolderCopy", EM_POPUP_SELECT_FOLDER },
- { "FolderMove", EM_POPUP_SELECT_FOLDER },
- { "FolderDelete", EM_POPUP_SELECT_FOLDER },
- { "FolderRename", EM_POPUP_SELECT_FOLDER },
- { "MailPost", EM_POPUP_SELECT_FOLDER },
- { "MessageMarkAllAsRead", EM_POPUP_SELECT_FOLDER },
- { "ViewHideSelected", EM_POPUP_SELECT_MANY },
- { "ViewThreadsCollapseAll", EM_FOLDER_VIEW_SELECT_THREADED},
- { "ViewThreadsExpandAll", EM_FOLDER_VIEW_SELECT_THREADED},
- { NULL },
-};
static void
emfb_hide_deleted(BonoboUIComponent *uic, const char *path, Bonobo_UIComponent_EventType type, const char *state, void *data)