Update toolbar buttons testcase with API change for the icon name
Follow up of fe11a3aa23
.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
This commit is contained in:
parent
f569e7ef98
commit
df1397dcf6
@ -19,11 +19,11 @@ toolbar_box = ToolbarBox()
|
|||||||
vbox.pack_start(toolbar_box, False, False, 0)
|
vbox.pack_start(toolbar_box, False, False, 0)
|
||||||
toolbar_box.show()
|
toolbar_box.show()
|
||||||
|
|
||||||
radial_button = RadioToolButton(named_icon='view-radial')
|
radial_button = RadioToolButton(icon_name='view-radial')
|
||||||
toolbar_box.toolbar.insert(radial_button, -1)
|
toolbar_box.toolbar.insert(radial_button, -1)
|
||||||
radial_button.show()
|
radial_button.show()
|
||||||
|
|
||||||
list_button = RadioToolButton(named_icon='view-list')
|
list_button = RadioToolButton(icon_name='view-list')
|
||||||
list_button.props.group = radial_button
|
list_button.props.group = radial_button
|
||||||
toolbar_box.toolbar.insert(list_button, -1)
|
toolbar_box.toolbar.insert(list_button, -1)
|
||||||
list_button.show()
|
list_button.show()
|
||||||
|
Loading…
Reference in New Issue
Block a user