From 9a007058aea42ed11e26bf012b6b34a6fd591224 Mon Sep 17 00:00:00 2001 From: raresvis Date: Tue, 20 Jun 2017 23:05:31 +0300 Subject: [PATCH] search.js: Replace the gradient separator with a simple line --- data/theme/gnome-shell.css | 7 ++----- js/ui/search.js | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 17dd551bf..6f5c64109 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -1177,11 +1177,8 @@ StScrollBar { margin-left: 30px; } .search-section-separator { - -gradient-height: 1px; - -gradient-start: rgba(255, 255, 255, 0); - -gradient-end: rgba(255, 255, 255, 0.1); - -margin-horizontal: 1.5em; - height: 1px; } + height: 2px; + background-color: rgba(255, 255, 255, 0.2); } .list-search-result-content { spacing: 12px; diff --git a/js/ui/search.js b/js/ui/search.js index b1681010c..007ca960c 100644 --- a/js/ui/search.js +++ b/js/ui/search.js @@ -149,8 +149,8 @@ const SearchResultsBase = new Lang.Class({ y_fill: true }); this.actor.add(this._resultDisplayBin, { expand: true }); - let separator = new Separator.HorizontalSeparator({ style_class: 'search-section-separator' }); - this.actor.add(separator.actor); + let separator = new St.DrawingArea({ style_class: 'search-section-separator' }); + this.actor.add(separator); this._resultDisplays = {};