summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornana-4 <hnmaigo@gmail.com>2020-11-22 13:54:44 +0900
committerJakub Steiner <jimmac@gmail.com>2020-11-23 10:51:58 +0100
commit3e996f61ae004c9fdad2fc175b06b6c7314de8db (patch)
tree5cdebbd0f3132a6a33a5225b8578c475ac623677
parent56eac4f84651c7a81386386dcff99779b6c88858 (diff)
downloadgtk+-3e996f61ae004c9fdad2fc175b06b6c7314de8db.tar.gz
icon-browser: Add .sidebar style class in the main windownana-4/gtk-sidebar-style-fixes
So the sidebar can get the proper background and border colors.
-rw-r--r--demos/icon-browser/window.ui10
1 files changed, 4 insertions, 6 deletions
diff --git a/demos/icon-browser/window.ui b/demos/icon-browser/window.ui
index 84658e3799..7dc204e41f 100644
--- a/demos/icon-browser/window.ui
+++ b/demos/icon-browser/window.ui
@@ -66,11 +66,14 @@
<object class="GtkBox">
<child>
<object class="GtkScrolledWindow">
+ <style>
+ <class name="sidebar"/>
+ </style>
<property name="hscrollbar-policy">never</property>
<child>
<object class="GtkListView">
<style>
- <class name="navigation-sidebar" />
+ <class name="navigation-sidebar"/>
</style>
<property name="model">
<object class="GtkSingleSelection" id="context_model">
@@ -109,11 +112,6 @@
</object>
</child>
<child>
- <object class="GtkSeparator">
- <property name="orientation">vertical</property>
- </object>
- </child>
- <child>
<object class="GtkBox" id="content_box">
<property name="orientation">vertical</property>
<child>