[gtk/nana-4/gtk-sidebar-style-fixes: 8/8] icon-browser: Add .sidebar style class in the main window
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/nana-4/gtk-sidebar-style-fixes: 8/8] icon-browser: Add .sidebar style class in the main window
- Date: Mon, 23 Nov 2020 09:52:35 +0000 (UTC)
commit 3e996f61ae004c9fdad2fc175b06b6c7314de8db
Author: nana-4 <hnmaigo gmail com>
Date: Sun Nov 22 13:54:44 2020 +0900
icon-browser: Add .sidebar style class in the main window
So the sidebar can get the proper background and border colors.
demos/icon-browser/window.ui | 10 ++++------
1 file 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">
@@ -108,11 +111,6 @@
</child>
</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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]