[geary/mjog/fix-search-not-realised] Fix criticals when activating search



commit 8c460790782922e2a7e535fe641679d08165985e
Author: Michael Gratton <mike vee net>
Date:   Wed Nov 20 17:36:57 2019 +1100

    Fix criticals when activating search
    
    Now that MainWindow doesn't get a show_all(), need to manually set the
    search bar to be visible. GTK4 can't get here soon enough!

 src/client/application/application-main-window.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/client/application/application-main-window.vala 
b/src/client/application/application-main-window.vala
index 0012727c..3f0202a3 100644
--- a/src/client/application/application-main-window.vala
+++ b/src/client/application/application-main-window.vala
@@ -963,6 +963,7 @@ public class Application.MainWindow :
 
         // Search bar
         this.search_bar.search_text_changed.connect(do_search);
+        this.search_bar.show();
         this.search_bar_box.pack_start(this.search_bar, false, false, 0);
 
         // Folder list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]