inspector: Use the new list style classes

Set .rich-list and .data-table on lists, as appropriate.
This commit is contained in:
Matthias Clasen 2020-08-05 16:43:12 -04:00
parent cce3ff6f04
commit 0279e1c76b
5 changed files with 35 additions and 2 deletions

View File

@ -18,6 +18,9 @@
<child> <child>
<object class="GtkListBox" id="version_box"> <object class="GtkListBox" id="version_box">
<property name="selection-mode">none</property> <property name="selection-mode">none</property>
<style>
<class name="rich-list"/>
</style>
<child> <child>
<object class="GtkListBoxRow"> <object class="GtkListBoxRow">
<property name="activatable">0</property> <property name="activatable">0</property>
@ -178,6 +181,9 @@
<child> <child>
<object class="GtkListBox" id="env_box"> <object class="GtkListBox" id="env_box">
<property name="selection-mode">none</property> <property name="selection-mode">none</property>
<style>
<class name="rich-list"/>
</style>
<child> <child>
<object class="GtkListBoxRow"> <object class="GtkListBoxRow">
<property name="activatable">0</property> <property name="activatable">0</property>
@ -405,6 +411,9 @@
<child> <child>
<object class="GtkListBox" id="display_box"> <object class="GtkListBox" id="display_box">
<property name="selection-mode">none</property> <property name="selection-mode">none</property>
<style>
<class name="rich-list"/>
</style>
<child> <child>
<object class="GtkListBoxRow"> <object class="GtkListBoxRow">
<property name="activatable">0</property> <property name="activatable">0</property>
@ -506,6 +515,9 @@
<child> <child>
<object class="GtkListBox" id="monitor_box"> <object class="GtkListBox" id="monitor_box">
<property name="selection-mode">none</property> <property name="selection-mode">none</property>
<style>
<class name="rich-list"/>
</style>
</object> </object>
</child> </child>
</object> </object>
@ -516,6 +528,9 @@
<child> <child>
<object class="GtkListBox" id="gl_box"> <object class="GtkListBox" id="gl_box">
<property name="selection-mode">none</property> <property name="selection-mode">none</property>
<style>
<class name="rich-list"/>
</style>
<child> <child>
<object class="GtkListBoxRow"> <object class="GtkListBoxRow">
<property name="activatable">0</property> <property name="activatable">0</property>
@ -588,6 +603,9 @@
<child> <child>
<object class="GtkListBox" id="vulkan_box"> <object class="GtkListBox" id="vulkan_box">
<property name="selection-mode">none</property> <property name="selection-mode">none</property>
<style>
<class name="rich-list"/>
</style>
<child> <child>
<object class="GtkListBoxRow"> <object class="GtkListBoxRow">
<property name="activatable">0</property> <property name="activatable">0</property>
@ -691,6 +709,9 @@
<child> <child>
<object class="GtkListBox" id="device_box"> <object class="GtkListBox" id="device_box">
<property name="selection-mode">none</property> <property name="selection-mode">none</property>
<style>
<class name="rich-list"/>
</style>
</object> </object>
</child> </child>
</object> </object>

View File

@ -42,6 +42,9 @@
<child> <child>
<object class="GtkColumnView" id="list"> <object class="GtkColumnView" id="list">
<signal name="activate" handler="on_row_activated"/> <signal name="activate" handler="on_row_activated"/>
<style>
<class name="data-table"/>
</style>
<child> <child>
<object class="GtkColumnViewColumn"> <object class="GtkColumnViewColumn">
<property name="title">Type</property> <property name="title">Type</property>

View File

@ -16,7 +16,7 @@
<child> <child>
<object class="GtkColumnView" id="list"> <object class="GtkColumnView" id="list">
<style> <style>
<class name="list"/> <class name="data-table"/>
</style> </style>
<child> <child>
<object class="GtkColumnViewColumn" id="name"> <object class="GtkColumnViewColumn" id="name">

View File

@ -51,6 +51,9 @@
<child> <child>
<object class="GtkColumnView" id="list"> <object class="GtkColumnView" id="list">
<signal name="activate" handler="on_row_activated"/> <signal name="activate" handler="on_row_activated"/>
<style>
<class name="data-table"/>
</style>
<child> <child>
<object class="GtkColumnViewColumn" id="path"> <object class="GtkColumnViewColumn" id="path">
<property name="title" translatable="yes">Path</property> <property name="title" translatable="yes">Path</property>

View File

@ -46,7 +46,7 @@
<object class="GtkListBox" id="visual_box"> <object class="GtkListBox" id="visual_box">
<property name="selection-mode">none</property> <property name="selection-mode">none</property>
<style> <style>
<class name="view"/> <class name="rich-list"/>
</style> </style>
<child> <child>
<object class="GtkListBoxRow"> <object class="GtkListBoxRow">
@ -415,6 +415,9 @@
<object class="GtkListBox" id="debug_box"> <object class="GtkListBox" id="debug_box">
<property name="selection-mode">none</property> <property name="selection-mode">none</property>
<property name="show-separators">1</property> <property name="show-separators">1</property>
<style>
<class name="rich-list"/>
</style>
<child> <child>
<object class="GtkListBoxRow"> <object class="GtkListBoxRow">
<child> <child>
@ -600,6 +603,9 @@
<object class="GtkListBox" id="misc_box"> <object class="GtkListBox" id="misc_box">
<property name="selection-mode">none</property> <property name="selection-mode">none</property>
<property name="show-separators">1</property> <property name="show-separators">1</property>
<style>
<class name="rich-list"/>
</style>
<child> <child>
<object class="GtkListBoxRow"> <object class="GtkListBoxRow">
<child> <child>