[Commits] [SCM] claws branch, master, updated. 4.3.0-61-g082a75f3c
paul at claws-mail.org
paul at claws-mail.org
Wed Jan 29 11:59:32 UTC 2025
The branch, master has been updated
via 082a75f3cddc224249420f6d38d331e8843e5902 (commit)
from 6aad4ec5dd844f46754d925c660eb09de22b98f7 (commit)
Summary of changes:
src/mainwindow.c | 7 -------
src/mainwindow.h | 1 -
2 files changed, 8 deletions(-)
- Log -----------------------------------------------------------------
commit 082a75f3cddc224249420f6d38d331e8843e5902
Author: Paul <paul at claws-mail.org>
Date: Wed Jan 29 11:59:23 2025 +0000
remove M_WANT_SYNC, it has way too much overhead just for menu item sensitivity
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 7ca301108..267cc4646 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -3007,12 +3007,6 @@ SensitiveCondMask main_window_get_current_state(MainWindow *mainwin)
if (cur_account && cur_account->protocol != A_NONE)
UPDATE_STATE(M_HAVE_RETRIEVABLE_ACCOUNT);
- if (mainwin->summaryview->folder_item &&
- (mainwin->summaryview->folder_item->folder->klass->type == F_IMAP ||
- mainwin->summaryview->folder_item->folder->klass->type == F_NEWS) &&
- any_folder_want_synchronise())
- UPDATE_STATE(M_WANT_SYNC);
-
if (item && item->prefs->processing && selection != SUMMARY_NONE)
UPDATE_STATE(M_HAVE_PROCESSING);
@@ -3131,7 +3125,6 @@ void main_window_set_menu_sensitive(MainWindow *mainwin)
SET_SENSITIVE("Menu/File/SaveAs", M_TARGET_EXIST);
SET_SENSITIVE("Menu/File/SavePartAs", M_SINGLE_TARGET_EXIST);
SET_SENSITIVE("Menu/File/Print", M_TARGET_EXIST);
- SET_SENSITIVE("Menu/File/SynchroniseFolders", M_WANT_SYNC);
SET_SENSITIVE("Menu/File/Exit", M_UNLOCKED);
SET_SENSITIVE("Menu/Edit/SelectThread", M_TARGET_EXIST, M_SUMMARY_ISLIST);
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 2b2ec3caf..cfa0c7135 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -55,7 +55,6 @@ typedef enum
M_CAN_LEARN_SPAM,
M_ACTIONS_EXIST,
M_HAVE_QUEUED_MAILS,
- M_WANT_SYNC,
M_TAGS_EXIST,
M_HAVE_PROCESSING,
M_SUMMARY_ISLIST,
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list