Remove GtkRadioButton uses in ui files in tests

This commit is contained in:
Matthias Clasen 2020-08-30 20:59:05 -04:00
parent c7b6c2f441
commit b69e8d8e7b
10 changed files with 34 additions and 35 deletions

View File

@ -367,10 +367,10 @@ test_sizegroup (void)
" <object class=\"GtkBox\" id=\"vbox1\">" " <object class=\"GtkBox\" id=\"vbox1\">"
" <property name=\"orientation\">vertical</property>" " <property name=\"orientation\">vertical</property>"
" <child>" " <child>"
" <object class=\"GtkRadioButton\" id=\"radio1\"/>" " <object class=\"GtkCheckButton\" id=\"radio1\"/>"
" </child>" " </child>"
" <child>" " <child>"
" <object class=\"GtkRadioButton\" id=\"radio2\"/>" " <object class=\"GtkCheckButton\" id=\"radio2\"/>"
" </child>" " </child>"
" </object>" " </object>"
" </child>" " </child>"
@ -405,10 +405,10 @@ test_sizegroup (void)
" <object class=\"GtkBox\" id=\"vbox1\">" " <object class=\"GtkBox\" id=\"vbox1\">"
" <property name=\"orientation\">vertical</property>" " <property name=\"orientation\">vertical</property>"
" <child>" " <child>"
" <object class=\"GtkRadioButton\" id=\"radio1\"/>" " <object class=\"GtkCheckButton\" id=\"radio1\"/>"
" </child>" " </child>"
" <child>" " <child>"
" <object class=\"GtkRadioButton\" id=\"radio2\"/>" " <object class=\"GtkChekcButton\" id=\"radio2\"/>"
" </child>" " </child>"
" </object>" " </object>"
" </child>" " </child>"
@ -651,7 +651,6 @@ test_types (void)
" <object class=\"GtkListStore\" id=\"liststore\"/>" " <object class=\"GtkListStore\" id=\"liststore\"/>"
" <object class=\"GtkNotebook\" id=\"notebook\"/>" " <object class=\"GtkNotebook\" id=\"notebook\"/>"
" <object class=\"GtkProgressBar\" id=\"progressbar\"/>" " <object class=\"GtkProgressBar\" id=\"progressbar\"/>"
" <object class=\"GtkRadioButton\" id=\"radiobutton\"/>"
" <object class=\"GtkSizeGroup\" id=\"sizegroup\"/>" " <object class=\"GtkSizeGroup\" id=\"sizegroup\"/>"
" <object class=\"GtkScrolledWindow\" id=\"scrolledwindow\"/>" " <object class=\"GtkScrolledWindow\" id=\"scrolledwindow\"/>"
" <object class=\"GtkSpinButton\" id=\"spinbutton\"/>" " <object class=\"GtkSpinButton\" id=\"spinbutton\"/>"

View File

@ -8,9 +8,9 @@ GtkToggleButton
GtkToggleButton GtkToggleButton
GtkSpinButton GtkText GtkSpinButton GtkText
GtkCheckButton GtkCheckButton
GtkRadioButton
GtkCheckButton GtkCheckButton
GtkRadioButton GtkCheckButton
GtkCheckButton
GtkCheckButton GtkCheckButton
GtkCheckButton GtkCheckButton
GtkToggleButton GtkToggleButton

View File

@ -18,9 +18,9 @@ GtkToggleButton
GtkToggleButton GtkToggleButton
GtkCheckButton GtkCheckButton
GtkCheckButton GtkCheckButton
GtkRadioButton
GtkCheckButton GtkCheckButton
GtkRadioButton GtkCheckButton
GtkCheckButton
GtkCheckButton GtkCheckButton
GtkSpinButton GtkText GtkSpinButton GtkText
GtkToggleButton GtkToggleButton

View File

@ -680,7 +680,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="radiobutton1"> <object class="GtkCheckButton" id="radiobutton1">
<property name="label" translatable="yes">radiobutton</property> <property name="label" translatable="yes">radiobutton</property>
<property name="active">1</property> <property name="active">1</property>
<layout> <layout>
@ -690,7 +690,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="radiobutton2"> <object class="GtkCheckButton" id="radiobutton2">
<property name="label" translatable="yes">radiobutton</property> <property name="label" translatable="yes">radiobutton</property>
<property name="group">radiobutton1</property> <property name="group">radiobutton1</property>
<layout> <layout>
@ -711,7 +711,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="radiobutton4"> <object class="GtkCheckButton" id="radiobutton4">
<property name="label" translatable="yes">radiobutton</property> <property name="label" translatable="yes">radiobutton</property>
<property name="sensitive">0</property> <property name="sensitive">0</property>
<layout> <layout>
@ -721,7 +721,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="radiobutton5"> <object class="GtkCheckButton" id="radiobutton5">
<property name="label" translatable="yes">radiobutton</property> <property name="label" translatable="yes">radiobutton</property>
<property name="sensitive">0</property> <property name="sensitive">0</property>
<property name="group">radiobutton3</property> <property name="group">radiobutton3</property>
@ -2235,13 +2235,13 @@ microphone-sensitivity-medium-symbolic</property>
<class name="linked"/> <class name="linked"/>
</style> </style>
<child> <child>
<object class="GtkRadioButton" id="grid_button"> <object class="GtkCheckButton" id="grid_button">
<property name="active">1</property> <property name="active">1</property>
<property name="icon-name">view-grid-symbolic</property> <property name="icon-name">view-grid-symbolic</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="list_button"> <object class="GtkCheckButton" id="list_button">
<property name="active">1</property> <property name="active">1</property>
<property name="group">grid_button</property> <property name="group">grid_button</property>
<property name="icon-name">view-list-symbolic</property> <property name="icon-name">view-list-symbolic</property>

View File

@ -681,7 +681,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="radiobutton1"> <object class="GtkCheckButton" id="radiobutton1">
<property name="label" translatable="yes">radiobutton</property> <property name="label" translatable="yes">radiobutton</property>
<property name="active">1</property> <property name="active">1</property>
<layout> <layout>
@ -691,7 +691,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="radiobutton2"> <object class="GtkCheckButton" id="radiobutton2">
<property name="label" translatable="yes">radiobutton</property> <property name="label" translatable="yes">radiobutton</property>
<property name="group">radiobutton1</property> <property name="group">radiobutton1</property>
<layout> <layout>
@ -712,7 +712,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="radiobutton4"> <object class="GtkCheckButton" id="radiobutton4">
<property name="label" translatable="yes">radiobutton</property> <property name="label" translatable="yes">radiobutton</property>
<property name="sensitive">0</property> <property name="sensitive">0</property>
<layout> <layout>
@ -722,7 +722,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="radiobutton5"> <object class="GtkCheckButton" id="radiobutton5">
<property name="label" translatable="yes">radiobutton</property> <property name="label" translatable="yes">radiobutton</property>
<property name="sensitive">0</property> <property name="sensitive">0</property>
<property name="group">radiobutton3</property> <property name="group">radiobutton3</property>
@ -2236,13 +2236,13 @@ microphone-sensitivity-medium-symbolic</property>
<class name="linked"/> <class name="linked"/>
</style> </style>
<child> <child>
<object class="GtkRadioButton" id="grid_button"> <object class="GtkCheckButton" id="grid_button">
<property name="active">1</property> <property name="active">1</property>
<property name="icon-name">view-grid-symbolic</property> <property name="icon-name">view-grid-symbolic</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="list_button"> <object class="GtkCheckButton" id="list_button">
<property name="active">1</property> <property name="active">1</property>
<property name="group">grid_button</property> <property name="group">grid_button</property>
<property name="icon-name">view-list-symbolic</property> <property name="icon-name">view-list-symbolic</property>

View File

@ -3,8 +3,8 @@ GtkLabel
GtkScrolledWindow GtkScrolledWindow
GtkToggleButton GtkToggleButton
GtkToggleButton GtkToggleButton
GtkRadioButton GtkCheckButton
GtkRadioButton GtkCheckButton
GtkButton GtkButton
GtkToggleButton GtkToggleButton
GtkListBoxRow GtkListBoxRow

View File

@ -20,8 +20,8 @@ GtkEntry GtkText
GtkListBoxRow GtkListBoxRow
GtkToggleButton GtkToggleButton
GtkButton GtkButton
GtkRadioButton GtkCheckButton
GtkRadioButton GtkCheckButton
GtkToggleButton GtkToggleButton
GtkToggleButton GtkToggleButton
GtkScrolledWindow GtkScrolledWindow

View File

@ -681,7 +681,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="radiobutton1"> <object class="GtkCheckButton" id="radiobutton1">
<property name="label" translatable="yes">radiobutton</property> <property name="label" translatable="yes">radiobutton</property>
<property name="active">1</property> <property name="active">1</property>
<layout> <layout>
@ -691,7 +691,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="radiobutton2"> <object class="GtkCheckButton" id="radiobutton2">
<property name="label" translatable="yes">radiobutton</property> <property name="label" translatable="yes">radiobutton</property>
<property name="group">radiobutton1</property> <property name="group">radiobutton1</property>
<layout> <layout>
@ -701,7 +701,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="radiobutton3"> <object class="GtkCheckButton" id="radiobutton3">
<property name="label" translatable="yes">radiobutton</property> <property name="label" translatable="yes">radiobutton</property>
<property name="inconsistent">1</property> <property name="inconsistent">1</property>
<property name="group">radiobutton1</property> <property name="group">radiobutton1</property>
@ -712,7 +712,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="radiobutton4"> <object class="GtkCheckButton" id="radiobutton4">
<property name="label" translatable="yes">radiobutton</property> <property name="label" translatable="yes">radiobutton</property>
<property name="sensitive">0</property> <property name="sensitive">0</property>
<layout> <layout>
@ -722,7 +722,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="radiobutton5"> <object class="GtkCheckButton" id="radiobutton5">
<property name="label" translatable="yes">radiobutton</property> <property name="label" translatable="yes">radiobutton</property>
<property name="sensitive">0</property> <property name="sensitive">0</property>
<property name="group">radiobutton3</property> <property name="group">radiobutton3</property>
@ -733,7 +733,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="radiobutton6"> <object class="GtkCheckButton" id="radiobutton6">
<property name="label" translatable="yes">radiobutton</property> <property name="label" translatable="yes">radiobutton</property>
<property name="sensitive">0</property> <property name="sensitive">0</property>
<property name="inconsistent">1</property> <property name="inconsistent">1</property>
@ -2236,14 +2236,14 @@ microphone-sensitivity-medium-symbolic</property>
<class name="linked"/> <class name="linked"/>
</style> </style>
<child> <child>
<object class="GtkRadioButton" id="grid_button"> <object class="GtkCheckButton" id="grid_button">
<property name="draw-indicator">0</property> <property name="draw-indicator">0</property>
<property name="active">1</property> <property name="active">1</property>
<property name="icon-name">view-grid-symbolic</property> <property name="icon-name">view-grid-symbolic</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="list_button"> <object class="GtkCheckButton" id="list_button">
<property name="active">1</property> <property name="active">1</property>
<property name="draw-indicator">0</property> <property name="draw-indicator">0</property>
<property name="group">grid_button</property> <property name="group">grid_button</property>

View File

@ -38,7 +38,7 @@ World</property>
<property name="resize-start-child">0</property> <property name="resize-start-child">0</property>
<property name="position_set">1</property> <property name="position_set">1</property>
<child> <child>
<object class="GtkRadioButton" id="radiobutton1"> <object class="GtkCheckButton" id="radiobutton1">
<property name="active">1</property> <property name="active">1</property>
<child> <child>
<object class="GtkLabel" id="label2"> <object class="GtkLabel" id="label2">

View File

@ -38,7 +38,7 @@
<property name="resize-start-child">0</property> <property name="resize-start-child">0</property>
<property name="position_set">1</property> <property name="position_set">1</property>
<child> <child>
<object class="GtkRadioButton" id="radiobutton1"> <object class="GtkCheckButton" id="radiobutton1">
<property name="active">1</property> <property name="active">1</property>
<child> <child>
<object class="GtkLabel" id="label2"> <object class="GtkLabel" id="label2">