[gtk/matthiasc/for-master: 5/6] gtk-demo: Make the search bar appear for typing



commit c80b33b2ad39d7f02414c4827b7dcf820dc741f4
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jul 12 16:26:17 2020 -0400

    gtk-demo: Make the search bar appear for typing
    
    Having the search bar present from the start is
    a bit jarring. Make it appear when called for.

 demos/gtk-demo/main.ui | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/demos/gtk-demo/main.ui b/demos/gtk-demo/main.ui
index 3d18e18bf3..975e3ea1bc 100644
--- a/demos/gtk-demo/main.ui
+++ b/demos/gtk-demo/main.ui
@@ -61,7 +61,7 @@
 
                 <child>
                   <object class="GtkSearchBar">
-                    <property name="search-mode-enabled">1</property>
+                    <property name="key-capture-widget">window</property>
                     <child>
                       <object class="GtkSearchEntry" id="search-entry"/>
                     </child>


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