diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-04-11 15:27:52 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-04-11 15:32:15 -0400 |
commit | e2fb59798e41d40a2a45d243c40a8add9a3d111b (patch) | |
tree | e86421bc241ea17c0a1172ef601d968187a6b214 | |
parent | d0fc3e166deefbc2b21d6414204a63aaaf7b0313 (diff) | |
download | gtk+-e2fb59798e41d40a2a45d243c40a8add9a3d111b.tar.gz |
icon browser: Make header buttons not steal focus
This is rarely useful, and is confusing when it
happens as side-effect of dragging the window.
-rw-r--r-- | demos/icon-browser/window.ui | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/icon-browser/window.ui b/demos/icon-browser/window.ui index 17d745c218..137d3c7581 100644 --- a/demos/icon-browser/window.ui +++ b/demos/icon-browser/window.ui @@ -25,12 +25,14 @@ </style> <child> <object class="GtkToggleButton" id="normal_radio"> + <property name="focus-on-click">0</property> <property name="label" translatable="yes">Normal</property> <property name="active">1</property> </object> </child> <child> <object class="GtkToggleButton" id="symbolic_radio"> + <property name="focus-on-click">0</property> <property name="label" translatable="yes">Symbolic</property> <property name="group">normal_radio</property> <signal name="notify::active" handler="symbolic_toggled" swapped="yes" after="yes"/> @@ -40,6 +42,7 @@ </child> <child type="end"> <object class="GtkMenuButton" id="gear_menu_button"> + <property name="focus-on-click">0</property> <property name="valign">center</property> <property name="menu-model">gear_menu</property> <property name="icon-name">open-menu-symbolic</property> @@ -47,6 +50,7 @@ </child> <child type="end"> <object class="GtkToggleButton" id="search"> + <property name="focus-on-click">0</property> <style> <class name="image-button"/> </style> |