gtk-demo: Add a search button

Easter eggs are great, but search shouldn't be one.
This commit is contained in:
Matthias Clasen
2020-12-02 19:53:55 -05:00
parent 4434889e41
commit 714c610d6b

View File

@@ -28,6 +28,16 @@
<property name="label" translatable="yes">Run</property>
</object>
</child>
<child>
<object class="GtkToggleButton">
<property name="icon-name">edit-find-symbolic</property>
<property name="valign">center</property>
<property name="active" bind-source="searchbar" bind-property="search-mode-enabled" bind-flags="bidirectional|sync-create"/>
<accessibility>
<property name="label" translatable="yes">Search</property>
</accessibility>
</object>
</child>
<child type="end">
<object class="GtkMenuButton" id="gear_menu_button">
<property name="valign">center</property>