[Commits] [SCM] claws branch, master, updated. 3.11.1-97-g46c8c40

mones at claws-mail.org mones at claws-mail.org
Sat May 16 12:23:46 CEST 2015


The branch, master has been updated
       via  46c8c40814ef39791f264a721c29563b06976cf7 (commit)
      from  455d234394df62e372790f4ebeb4a395204fe051 (commit)

Summary of changes:
 src/summary_search.c |    2 +-
 src/summaryview.c    |    8 ++++++++
 src/summaryview.h    |    1 +
 3 files changed, 10 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 46c8c40814ef39791f264a721c29563b06976cf7
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sat May 16 12:21:07 2015 +0200

    Update summary view status after "Find all"
    
    In search messages dialog (Edit/Search folder...) pressing "Find all"
    left the summary view status empty regardless of the result.
    The status of the resulting selection when matching messages are found
    is displayed now. If no message is matched it remains empty as before.

diff --git a/src/summary_search.c b/src/summary_search.c
index a085520..5e9c546 100644
--- a/src/summary_search.c
+++ b/src/summary_search.c
@@ -840,7 +840,7 @@ exit:
 	summary_hide_stop_button();
 	main_window_cursor_normal(summaryview->mainwin);
 	if (search_all) {
-		summary_thaw(summaryview);
+		summary_thaw_with_status(summaryview);
 	}
 	summary_unlock(summaryview);
 }
diff --git a/src/summaryview.c b/src/summaryview.c
index b3b1447..01d284a 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -461,6 +461,14 @@ void summary_thaw(SummaryView *summaryview)
 		gtk_cmclist_thaw(GTK_CMCLIST(summaryview->ctree));
 }
 
+void summary_thaw_with_status(SummaryView *summaryview)
+{
+	if (summaryview) {
+		summary_status_show(summaryview);
+		gtk_cmclist_thaw(GTK_CMCLIST(summaryview->ctree));
+	}
+}
+
 void summary_grab_focus(SummaryView *summaryview)
 {
 	if (summaryview)
diff --git a/src/summaryview.h b/src/summaryview.h
index 140c410..d4b2332 100644
--- a/src/summaryview.h
+++ b/src/summaryview.h
@@ -186,6 +186,7 @@ void summary_lock		  (SummaryView		*summaryview);
 void summary_unlock		  (SummaryView		*summaryview);
 void summary_freeze		  (SummaryView		*summaryview);
 void summary_thaw		  (SummaryView		*summaryview);
+void summary_thaw_with_status	  (SummaryView		*summaryview);
 void summary_grab_focus		  (SummaryView		*summaryview);
 GtkWidget *summary_get_main_widget(SummaryView 		*summaryview);
 gboolean summary_is_locked	  (SummaryView		*summaryview);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list