From d88e794ded5fc1ea72af2a3d0ec4c46442a992cf Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Fri, 13 May 2005 21:29:28 +0000 Subject: Add profiler so that it gets disted properly 2005-05-13 Rodney Dawes * plugins/Makefile.am (DIST_SUBDIRS): Add profiler so that it gets disted properly 2005-05-13 Rodney Dawes * Makefile.am: Add new em-folder-utils.[ch] abstraction * em-folder-browser.c: Update for new menu layout Add new methods to handle the actions that were previously only available from the context menu when right-clicking on a folder * em-folder-selector.c (emfs_response): Just call emfu_folder_create if the user wants to create a new folder in the selector dialog (em_folder_selector_get_selected_path): Clean up the code to fix a couple potential crashes * em-folder-tree.[ch]: Add methods to get pointers to a CamelFolder or CamelFolderInfo object for the selected item in the tree Add a method to get a pointer to an EMFolderTreeModelStoreInfo object for the selected store in the tree Move folder operations out into em-folder-utils.[ch] so that they are abstracted from the tree and can be used by methods other than the internal context menu * em-folder-utils.[ch]: Move the folder operations code to here * em-folder-view.c: Update for the new menu layout Fix Mark as Read/Unread in the context menu to only show up in the list * mail-component.c (create_item): Just call emfu_folder_create here when the user requests to create a new folder from the New toolbar item 2005-05-13 Rodney Dawes * org-gnome-mailing-list-actions.xml: Update for the new menu layout 2005-05-13 Rodney Dawes * org-gnome-plugin-manager.xml: Update for new menu layout 2005-05-13 Rodney Dawes * org-gnome-save-attachments.xml: Update for new menu layout 2005-05-13 Rodney Dawes * e-shell-window.c (setup_widgets): Update for the new menu layout by putting the "component" switching items under the "Tools" menu 2005-05-13 Rodney Dawes * *.xml: Update to the new menu layout 2005-05-13 Rodney Dawes * e-filter-bar.[ch]: Update for the new menu layout svn path=/trunk/; revision=29354 --- mail/em-folder-utils.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 mail/em-folder-utils.h (limited to 'mail/em-folder-utils.h') diff --git a/mail/em-folder-utils.h b/mail/em-folder-utils.h new file mode 100644 index 0000000000..ceec49ced1 --- /dev/null +++ b/mail/em-folder-utils.h @@ -0,0 +1,32 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * Authors: Jeffrey Stedfast + * Rodney Dawes + * + * Copyright 2003-2005 Novell, Inc. (www.novell.com) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. + * + */ + +#include + +void emfu_copy_folder (CamelFolderInfo *folderinfo); +void emfu_move_folder (CamelFolderInfo *folderinfo); + +void emfu_delete_folder (CamelFolder *folder); +void emfu_rename_folder (CamelFolder *folder); + +void emfu_folder_create (CamelFolderInfo *folderinfo); -- cgit v1.2.3