diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-04-11 15:23:24 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-04-11 15:32:15 -0400 |
commit | e4ce46e75fa059bbba60637c60647cbdb32bffb5 (patch) | |
tree | 69a4aee039cc753e54b8895b6170c3e55a0f7504 /demos/gtk-demo/main.ui | |
parent | e2420f62feb58fb21e7a73c061939f9652dd0891 (diff) | |
download | gtk+-e4ce46e75fa059bbba60637c60647cbdb32bffb5.tar.gz |
gtk-demo: Make header buttons not steal focus
This is rarely useful, and is confusing when it
happens as side-effect of dragging the window.
Diffstat (limited to 'demos/gtk-demo/main.ui')
-rw-r--r-- | demos/gtk-demo/main.ui | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/demos/gtk-demo/main.ui b/demos/gtk-demo/main.ui index b602c9a246..fb9064cc5c 100644 --- a/demos/gtk-demo/main.ui +++ b/demos/gtk-demo/main.ui @@ -25,6 +25,7 @@ <object class="GtkButton"> <property name="valign">center</property> <property name="action-name">win.run</property> + <property name="focus-on-click">0</property> <property name="label" translatable="yes">Run</property> </object> </child> @@ -32,6 +33,7 @@ <object class="GtkToggleButton"> <property name="icon-name">edit-find-symbolic</property> <property name="valign">center</property> + <property name="focus-on-click">0</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> @@ -41,6 +43,7 @@ <child type="end"> <object class="GtkMenuButton" id="gear_menu_button"> <property name="valign">center</property> + <property name="focus-on-click">0</property> <property name="menu-model">gear_menu</property> <property name="icon-name">open-menu-symbolic</property> <accessibility> |