iconbrowser: Stop using radio buttons

Replace them with grouped toggle buttons.
This commit is contained in:
Matthias Clasen 2020-08-30 21:51:20 -04:00
parent f085ac837c
commit 1125a4379c

View File

@ -27,12 +27,13 @@
<class name="linked"/> <class name="linked"/>
</style> </style>
<child> <child>
<object class="GtkRadioButton" id="normal_radio"> <object class="GtkToggleButton" id="normal_radio">
<property name="label" translatable="yes">Normal</property> <property name="label" translatable="yes">Normal</property>
<property name="active">1</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="symbolic_radio"> <object class="GtkToggleButton" id="symbolic_radio">
<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"/>