[Commits] [SCM] claws branch, master, updated. 3.14.1-13-g860ccbc
claws at claws-mail.org
claws at claws-mail.org
Wed Nov 16 09:47:08 CET 2016
The branch, master has been updated
via 860ccbc87f0cd0a8cbb498e102d63361b21fb16b (commit)
from afe0203a640d39817f068e0fb9b5f2cb631cf677 (commit)
Summary of changes:
src/mainwindow.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 860ccbc87f0cd0a8cbb498e102d63361b21fb16b
Author: Paul <paul at claws-mail.org>
Date: Wed Nov 16 08:47:03 2016 +0000
fix some menu sensitivity issues
diff --git a/src/mainwindow.c b/src/mainwindow.c
index e8e759e..e03c55e 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -2977,7 +2977,7 @@ SensitiveCondMask main_window_get_current_state(MainWindow *mainwin)
if (mainwin->lock_count == 0 && !claws_is_starting())
UPDATE_STATE(M_UNLOCKED);
- if (selection != SUMMARY_NONE)
+ if (selection != SUMMARY_NONE && selection != SUMMARY_SELECTED_NONE)
UPDATE_STATE(M_MSG_EXIST);
if (item && item->path && folder_item_parent(item) && !item->no_select) {
UPDATE_STATE(M_EXEC);
@@ -3151,7 +3151,7 @@ void main_window_set_menu_sensitive(MainWindow *mainwin)
gint i;
gboolean mimepart_selected = FALSE;
-#define N_ENTRIES 85
+#define N_ENTRIES 88
static struct {
const gchar *entry;
SensitiveCondMask cond;
@@ -3185,8 +3185,11 @@ do { \
FILL_TABLE("Menu/View/Goto/Prev", M_MSG_EXIST);
FILL_TABLE("Menu/View/Goto/Next", M_MSG_EXIST);
FILL_TABLE("Menu/View/Goto/PrevUnread", M_MSG_EXIST);
+ FILL_TABLE("Menu/View/Goto/NextUnread", M_MSG_EXIST);
FILL_TABLE("Menu/View/Goto/PrevNew", M_MSG_EXIST);
+ FILL_TABLE("Menu/View/Goto/NextNew", M_MSG_EXIST);
FILL_TABLE("Menu/View/Goto/PrevMarked", M_MSG_EXIST);
+ FILL_TABLE("Menu/View/Goto/NextMarked", M_MSG_EXIST);
FILL_TABLE("Menu/View/Goto/PrevLabeled", M_MSG_EXIST);
FILL_TABLE("Menu/View/Goto/NextLabeled", M_MSG_EXIST);
FILL_TABLE("Menu/View/Goto/ParentMessage", M_SINGLE_TARGET_EXIST);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list