[Commits] [SCM] claws branch, gtk2, updated. 3.19.1-27-gaf71ec4c4
mones at claws-mail.org
mones at claws-mail.org
Tue Jan 3 13:22:21 UTC 2023
The branch, gtk2 has been updated
via af71ec4c4de6b9e97a95139e4f6e5cef26947920 (commit)
from 050b27da2e1c225ad978358e5abad618f11c85e1 (commit)
Summary of changes:
src/folderview.c | 4 ++++
1 file changed, 4 insertions(+)
- Log -----------------------------------------------------------------
commit af71ec4c4de6b9e97a95139e4f6e5cef26947920
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 e7d0ab6cd..a3128b613 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -2004,6 +2004,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