[nautilus/wip/cdavis/adaptive-flap: 175/178] window: Add "separator" child type for HdyFlap
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/cdavis/adaptive-flap: 175/178] window: Add "separator" child type for HdyFlap
- Date: Mon, 22 Feb 2021 10:43:59 +0000 (UTC)
commit 8b1ce47b8895ba2ab6ce9e22bfb7c642feac5338
Author: Christopher Davis <brainblasted disroot org>
Date: Wed Dec 9 08:41:18 2020 -0800
window: Add "separator" child type for HdyFlap
Adds a separator child type and removes the border
from the places sidebar. This prevents a double-border with
HdyFlap.
src/resources/css/nautilus.css | 5 +++++
src/resources/ui/nautilus-window.ui | 9 +++++++++
2 files changed, 14 insertions(+)
---
diff --git a/src/resources/css/nautilus.css b/src/resources/css/nautilus.css
index 2e46b7abe..54eaaad89 100644
--- a/src/resources/css/nautilus.css
+++ b/src/resources/css/nautilus.css
@@ -3,3 +3,8 @@
padding-left: 5px;
padding-right: 5px;
}
+
+placessidebar {
+ border: none;
+ min-width: 270px;
+}
diff --git a/src/resources/ui/nautilus-window.ui b/src/resources/ui/nautilus-window.ui
index 1bbc1898d..11fbcc818 100644
--- a/src/resources/ui/nautilus-window.ui
+++ b/src/resources/ui/nautilus-window.ui
@@ -43,6 +43,15 @@
</child>
</object>
</child>
+ <child type="separator">
+ <object class="GtkSeparator">
+ <property name="visible">True</property>
+ <property name="orientation">vertical</property>
+ <style>
+ <class name="sidebar"/>
+ </style>
+ </object>
+ </child>
<child>
<object class="GtkOverlay" id="main_view">
<property name="visible">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]