[Commits] [SCM] claws branch, master, updated. 4.1.1-32-gcc3ffa1e2

mones at claws-mail.org mones at claws-mail.org
Tue Jan 3 13:22:21 UTC 2023


The branch, master has been updated
       via  cc3ffa1e257c300f99dd667def929e44eb0945cf (commit)
      from  689ff464dc4e6af1ca1b9c15ea0e41fc2d2550c2 (commit)

Summary of changes:
 src/folderview.c | 4 ++++
 1 file changed, 4 insertions(+)


- Log -----------------------------------------------------------------
commit cc3ffa1e257c300f99dd667def929e44eb0945cf
Author: Ricardo Mones <ricardo at mones.org>
Date:   Tue Jan 3 14:21:14 2023 +0100

    Fix minor issues on new start-up folder feature
    
    • Disallow setting top-level folders as start-up folders: there's
      nothing to be opened on them.
    • Give fast feedback of the folder currently set as start-up folder
      by setting the menu entry to disabled on it.

diff --git a/src/folderview.c b/src/folderview.c
index 73425b348..791885134 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -2000,6 +2000,10 @@ static void folderview_set_sens_and_popup_menu(FolderView *folderview, gint row,
 	SET_SENS("FolderViewPopup/Processing", item->node->parent != NULL && 
 		!item->no_select && !item->processing_pending);
 
+	SET_SENS("FolderViewPopup/OpenFolder", item->node->parent != NULL
+		&& (!prefs_common.goto_folder_on_startup
+			|| strcmp(folder_item_get_identifier(item), prefs_common.startup_folder)));
+
 	if (item == folder->trash || item == special_trash
 	    || folder_has_parent_of_type(item, F_TRASH)) {
 		GSList *msglist = folder_item_get_msg_list(item);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list