[gtk/list-styles: 4/8] inspector: Use the new list style classes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/list-styles: 4/8] inspector: Use the new list style classes
- Date: Sun, 9 Aug 2020 14:56:34 +0000 (UTC)
commit 0ce190ec566af7dd9a0d2522908aec2be30a2530
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Aug 5 16:43:12 2020 -0400
inspector: Use the new list style classes
Set .rich-list and .data-table on lists, as appropriate.
gtk/inspector/general.ui | 21 +++++++++++++++++++++
gtk/inspector/object-tree.ui | 3 +++
gtk/inspector/prop-list.ui | 2 +-
gtk/inspector/resource-list.ui | 3 +++
gtk/inspector/visual.ui | 8 +++++++-
5 files changed, 35 insertions(+), 2 deletions(-)
---
diff --git a/gtk/inspector/general.ui b/gtk/inspector/general.ui
index b8d5455f27..d2b6f00f75 100644
--- a/gtk/inspector/general.ui
+++ b/gtk/inspector/general.ui
@@ -18,6 +18,9 @@
<child>
<object class="GtkListBox" id="version_box">
<property name="selection-mode">none</property>
+ <style>
+ <class name="rich-list"/>
+ </style>
<child>
<object class="GtkListBoxRow">
<property name="activatable">0</property>
@@ -178,6 +181,9 @@
<child>
<object class="GtkListBox" id="env_box">
<property name="selection-mode">none</property>
+ <style>
+ <class name="rich-list"/>
+ </style>
<child>
<object class="GtkListBoxRow">
<property name="activatable">0</property>
@@ -405,6 +411,9 @@
<child>
<object class="GtkListBox" id="display_box">
<property name="selection-mode">none</property>
+ <style>
+ <class name="rich-list"/>
+ </style>
<child>
<object class="GtkListBoxRow">
<property name="activatable">0</property>
@@ -506,6 +515,9 @@
<child>
<object class="GtkListBox" id="monitor_box">
<property name="selection-mode">none</property>
+ <style>
+ <class name="rich-list"/>
+ </style>
</object>
</child>
</object>
@@ -516,6 +528,9 @@
<child>
<object class="GtkListBox" id="gl_box">
<property name="selection-mode">none</property>
+ <style>
+ <class name="rich-list"/>
+ </style>
<child>
<object class="GtkListBoxRow">
<property name="activatable">0</property>
@@ -588,6 +603,9 @@
<child>
<object class="GtkListBox" id="vulkan_box">
<property name="selection-mode">none</property>
+ <style>
+ <class name="rich-list"/>
+ </style>
<child>
<object class="GtkListBoxRow">
<property name="activatable">0</property>
@@ -691,6 +709,9 @@
<child>
<object class="GtkListBox" id="device_box">
<property name="selection-mode">none</property>
+ <style>
+ <class name="rich-list"/>
+ </style>
</object>
</child>
</object>
diff --git a/gtk/inspector/object-tree.ui b/gtk/inspector/object-tree.ui
index 06e7229e59..7362079eb4 100644
--- a/gtk/inspector/object-tree.ui
+++ b/gtk/inspector/object-tree.ui
@@ -42,6 +42,9 @@
<child>
<object class="GtkColumnView" id="list">
<signal name="activate" handler="on_row_activated"/>
+ <style>
+ <class name="data-table"/>
+ </style>
<child>
<object class="GtkColumnViewColumn">
<property name="title">Type</property>
diff --git a/gtk/inspector/prop-list.ui b/gtk/inspector/prop-list.ui
index 15ccf2e2e9..54285d9b61 100644
--- a/gtk/inspector/prop-list.ui
+++ b/gtk/inspector/prop-list.ui
@@ -16,7 +16,7 @@
<child>
<object class="GtkColumnView" id="list">
<style>
- <class name="list"/>
+ <class name="data-table"/>
</style>
<child>
<object class="GtkColumnViewColumn" id="name">
diff --git a/gtk/inspector/resource-list.ui b/gtk/inspector/resource-list.ui
index e94fb2930a..3c558da420 100644
--- a/gtk/inspector/resource-list.ui
+++ b/gtk/inspector/resource-list.ui
@@ -51,6 +51,9 @@
<child>
<object class="GtkColumnView" id="list">
<signal name="activate" handler="on_row_activated"/>
+ <style>
+ <class name="data-table"/>
+ </style>
<child>
<object class="GtkColumnViewColumn" id="path">
<property name="title" translatable="yes">Path</property>
diff --git a/gtk/inspector/visual.ui b/gtk/inspector/visual.ui
index 223bdb3911..3a04547536 100644
--- a/gtk/inspector/visual.ui
+++ b/gtk/inspector/visual.ui
@@ -46,7 +46,7 @@
<object class="GtkListBox" id="visual_box">
<property name="selection-mode">none</property>
<style>
- <class name="view"/>
+ <class name="rich-list"/>
</style>
<child>
<object class="GtkListBoxRow">
@@ -415,6 +415,9 @@
<object class="GtkListBox" id="debug_box">
<property name="selection-mode">none</property>
<property name="show-separators">1</property>
+ <style>
+ <class name="rich-list"/>
+ </style>
<child>
<object class="GtkListBoxRow">
<child>
@@ -600,6 +603,9 @@
<object class="GtkListBox" id="misc_box">
<property name="selection-mode">none</property>
<property name="show-separators">1</property>
+ <style>
+ <class name="rich-list"/>
+ </style>
<child>
<object class="GtkListBoxRow">
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]