[Commits] [SCM] claws branch, vfolder, updated. 3.10.1-110-gd79fed5

miras at claws-mail.org miras at claws-mail.org
Sun Jun 22 01:37:05 CEST 2014


The branch vfolder of project "claws" (Claws Mail) has been updated
       via  d79fed588090a90194573eed8f03c50fa200db0f (commit)
      from  a82a3267d9f2cb4b4ba4d468340e7eefe9776105 (commit)

Summary of changes:
 src/plugins/vfolder/vfolder_gtk.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit d79fed588090a90194573eed8f03c50fa200db0f
Author: Michael Rasmussen <mir at datanom.net>
Date:   Sun Jun 22 01:37:00 2014 +0200

    Do not allow creating subfolders from popup

diff --git a/src/plugins/vfolder/vfolder_gtk.c b/src/plugins/vfolder/vfolder_gtk.c
index c9471c6..70a052b 100644
--- a/src/plugins/vfolder/vfolder_gtk.c
+++ b/src/plugins/vfolder/vfolder_gtk.c
@@ -116,7 +116,7 @@ static void vfolder_set_sensitivity(GtkUIManager *ui_manager, FolderItem *item)
 	SET_SENS("FolderViewPopup/RefreshAllFolders", folder_item_parent(item) == NULL);
 	SET_SENS("FolderViewPopup/FolderProperties", folder_item_parent(item) != NULL);
 	SET_SENS("FolderViewPopup/RenameFolder", folder_item_parent(item) != NULL);
-	SET_SENS("FolderViewPopup/NewFolder", TRUE);
+	SET_SENS("FolderViewPopup/NewFolder", folder_item_parent(item) != NULL && ! IS_VFOLDER_FOLDER_ITEM(item));
 	SET_SENS("FolderViewPopup/RemoveFolder", folder_item_parent(item) != NULL);
 
 #undef SET_SENS

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list