[Commits] [SCM] claws branch, master, updated. 3.16.0-72-ga3e48bd
claws at claws-mail.org
claws at claws-mail.org
Sun Feb 25 14:18:47 CET 2018
The branch, master has been updated
via a3e48bd6e7e62dedfef8ddedbeeb90400b5234b3 (commit)
from 209fd7cf22be0b682f76195b54732206918dd5b6 (commit)
Summary of changes:
src/mainwindow.c | 2 +-
src/summaryview.c | 10 ----------
src/summaryview.h | 1 -
3 files changed, 1 insertion(+), 12 deletions(-)
- Log -----------------------------------------------------------------
commit a3e48bd6e7e62dedfef8ddedbeeb90400b5234b3
Author: Paul <paul at claws-mail.org>
Date: Sun Feb 25 13:18:40 2018 +0000
fix bug 3973, ''select all' in summaryview does not automatically focus the summaryview'
The problem is apparent when 'default selection on entering a folder' is
set to 'none' and the first user action on entering the folder is
'select all'. This visually selected all the messages but summaryview
did not have the focus, so any actions performed on that list would
fail.
Removed summary_select_all(), which didn't quite do as advertised and
instead use gtk_cmclist_select_all() which selects and focuses.
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 74dbc4b..1300839 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -4983,7 +4983,7 @@ static void allsel_cb(GtkAction *action, gpointer data)
(gtk_widget_has_focus(msgview->mimeview->textview->text)))
messageview_select_all(mainwin->messageview);
else
- summary_select_all(mainwin->summaryview);
+ gtk_cmclist_select_all(GTK_CMCLIST(mainwin->summaryview->ctree));
}
static void select_thread_cb(GtkAction *action, gpointer data)
diff --git a/src/summaryview.c b/src/summaryview.c
index 60938ef..257e850 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -4817,16 +4817,6 @@ void summary_add_address(SummaryView *summaryview)
avatars_avatarrender_free(avatarr);
}
-void summary_select_all(SummaryView *summaryview)
-{
- if (!summaryview->folder_item) return;
-
- summary_lock(summaryview);
- gtk_cmclist_select_all(GTK_CMCLIST(summaryview->ctree));
- summary_unlock(summaryview);
- summary_status_show(summaryview);
-}
-
void summary_unselect_all(SummaryView *summaryview)
{
summary_lock(summaryview);
diff --git a/src/summaryview.h b/src/summaryview.h
index 77ac05b..9d1d943 100644
--- a/src/summaryview.h
+++ b/src/summaryview.h
@@ -287,7 +287,6 @@ void summary_watch_thread (SummaryView *summaryview);
void summary_unwatch_thread (SummaryView *summaryview);
void summary_add_address (SummaryView *summaryview);
-void summary_select_all (SummaryView *summaryview);
void summary_unselect_all (SummaryView *summaryview);
void summary_select_thread (SummaryView *summaryview,
gboolean delete_thread,
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list