Commit e2fb5979 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

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.
parent d0fc3e16
...@@ -25,12 +25,14 @@ ...@@ -25,12 +25,14 @@
</style> </style>
<child> <child>
<object class="GtkToggleButton" id="normal_radio"> <object class="GtkToggleButton" id="normal_radio">
<property name="focus-on-click">0</property>
<property name="label" translatable="yes">Normal</property> <property name="label" translatable="yes">Normal</property>
<property name="active">1</property> <property name="active">1</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkToggleButton" id="symbolic_radio"> <object class="GtkToggleButton" id="symbolic_radio">
<property name="focus-on-click">0</property>
<property name="label" translatable="yes">Symbolic</property> <property name="label" translatable="yes">Symbolic</property>
<property name="group">normal_radio</property> <property name="group">normal_radio</property>
<signal name="notify::active" handler="symbolic_toggled" swapped="yes" after="yes"/> <signal name="notify::active" handler="symbolic_toggled" swapped="yes" after="yes"/>
...@@ -40,6 +42,7 @@ ...@@ -40,6 +42,7 @@
</child> </child>
<child type="end"> <child type="end">
<object class="GtkMenuButton" id="gear_menu_button"> <object class="GtkMenuButton" id="gear_menu_button">
<property name="focus-on-click">0</property>
<property name="valign">center</property> <property name="valign">center</property>
<property name="menu-model">gear_menu</property> <property name="menu-model">gear_menu</property>
<property name="icon-name">open-menu-symbolic</property> <property name="icon-name">open-menu-symbolic</property>
...@@ -47,6 +50,7 @@ ...@@ -47,6 +50,7 @@
</child> </child>
<child type="end"> <child type="end">
<object class="GtkToggleButton" id="search"> <object class="GtkToggleButton" id="search">
<property name="focus-on-click">0</property>
<style> <style>
<class name="image-button"/> <class name="image-button"/>
</style> </style>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment