talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 57ea92fc713e8d9a4305ad0addbda25761dd5c96
parent 44f2f01d2ad5e4eb3c13dda22fd29d20396b7ab8
Author: wwp <subscript@free.fr>
Date:   Wed,  1 Sep 2021 12:20:46 +0200

Fix a missing wait mouse cursor at some point.

Diffstat:
Msrc/mainwindow.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/mainwindow.c b/src/mainwindow.c @@ -4663,6 +4663,8 @@ static void thread_cb(GtkAction *action, gpointer data) if (mainwin->menu_lock_count) return; if (!mainwin->summaryview->folder_item) return; + main_window_cursor_wait(mainwin); + selected_msgnum = summary_get_msgnum(mainwin->summaryview, mainwin->summaryview->selected); threaded = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)); @@ -4674,6 +4676,8 @@ static void thread_cb(GtkAction *action, gpointer data) summary_show(mainwin->summaryview, mainwin->summaryview->folder_item, FALSE); summary_select_by_msgnum(mainwin->summaryview, selected_msgnum, FALSE); + + main_window_cursor_normal(mainwin); } static void expand_threads_cb(GtkAction *action, gpointer data)